Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 106.8 kB / 21.2 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 215.5 kB / 24.49 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.483/1.483, allocations: 230.6 MB / 258.3 MB, free: 7.766 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|imc.idq_rr.1.|imc.idq_rr.2.|loadInertia.phi|loadInertia.w|imc.idq_sr.1.|imc.idq_sr.2.|imc.is.1.|imc.is.2.|tauElectrical|tauShaft|wMechanical",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|imc.idq_rr.1.|imc.idq_rr.2.|loadInertia.phi|loadInertia.w|imc.idq_sr.1.|imc.idq_sr.2.|imc.is.1.|imc.is.2.|tauElectrical|tauShaft|wMechanical",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001592/0.001592, allocations: 43.94 kB / 379 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2128, allocations: 53.37 MB / 432.3 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.009757/0.2225, allocations: 7.294 MB / 439.6 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004093/0.2266, allocations: 2.575 MB / 442.2 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004312/0.227, allocations: 47.69 kB / 442.3 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001428/0.2285, allocations: 0.6018 MB / 442.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001346/0.2298, allocations: 0.668 MB / 443.5 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000525/0.2303, allocations: 287.6 kB / 443.8 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002061/0.2324, allocations: 2.05 MB / 445.9 MB, free: 9.164 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001169/0.2336, allocations: 0.8305 MB / 446.7 MB, free: 8.289 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001142/0.2347, allocations: 0.9228 MB / 447.6 MB, free: 7.363 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001322/0.236, allocations: 1.094 MB / 448.7 MB, free: 6.266 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003032/0.2363, allocations: 228 kB / 448.9 MB, free: 6.043 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005917/0.2369, allocations: 315.8 kB / 449.2 MB, free: 5.734 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006473/0.2376, allocations: 0.6427 MB / 449.9 MB, free: 5.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008868/0.2385, allocations: 0.8363 MB / 450.7 MB, free: 4.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003046/0.2415, allocations: 3.021 MB / 453.7 MB, free: 1.219 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2415, allocations: 4 kB / 453.7 MB, free: 1.215 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2415, allocations: 0 / 453.7 MB, free: 1.215 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.515e-05/0.2415, allocations: 0 / 453.7 MB, free: 1.215 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.003875/0.2454, allocations: 2.114 MB / 455.9 MB, free: 15.06 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.2455, allocations: 8.031 kB / 455.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005987/0.2461, allocations: 227.6 kB / 456.1 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002038/0.2481, allocations: 1.074 MB / 457.2 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.274e-05/0.2482, allocations: 119.3 kB / 457.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002576/0.2484, allocations: 155.9 kB / 457.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003312/0.2518, allocations: 2.055 MB / 459.5 MB, free: 11.32 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.454e-05/0.2518, allocations: 11.89 kB / 459.5 MB, free: 11.31 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002138/0.252, allocations: 67.97 kB / 459.6 MB, free: 11.25 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.464e-05/0.2521, allocations: 74.92 kB / 459.6 MB, free: 11.17 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002683/0.2548, allocations: 1.573 MB / 461.2 MB, free: 9.594 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009083/0.2639, allocations: 5.44 MB / 466.7 MB, free: 3.957 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001378/0.2653, allocations: 0.7325 MB / 467.4 MB, free: 3.215 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001013/0.2663, allocations: 0.546 MB / 467.9 MB, free: 2.664 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001826/0.2665, allocations: 36.62 kB / 468 MB, free: 2.625 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.883e-05/0.2665, allocations: 43.16 kB / 468 MB, free: 2.574 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.615e-06/0.2665, allocations: 0 / 468 MB, free: 2.574 MB / 366.1 MB Notification: Performance of matching and sorting (n=85): time 0.0133/0.2798, allocations: 5.462 MB / 473.5 MB, free: 13.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/0.2798, allocations: 60.41 kB / 473.5 MB, free: 13 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001384/0.2812, allocations: 1.004 MB / 474.5 MB, free: 11.97 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.176e-05/0.2813, allocations: 37.7 kB / 474.6 MB, free: 11.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006441/0.2819, allocations: 0.8041 MB / 475.4 MB, free: 11.12 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002946/0.2822, allocations: 321.3 kB / 475.7 MB, free: 10.8 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003546/0.2826, allocations: 214.8 kB / 475.9 MB, free: 10.58 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.2828, allocations: 353.9 kB / 476.2 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008918/0.2837, allocations: 0.5374 MB / 476.8 MB, free: 9.695 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001155/0.2848, allocations: 0.8834 MB / 477.7 MB, free: 8.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002085/0.2869, allocations: 1.528 MB / 479.2 MB, free: 6.988 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.785e-06/0.2869, allocations: 4 kB / 479.2 MB, free: 6.984 MB / 382.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003554/0.2905, allocations: 2.028 MB / 481.2 MB, free: 4.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.2905, allocations: 11.94 kB / 481.2 MB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/0.2905, allocations: 12 kB / 481.2 MB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001511/0.292, allocations: 0.5477 MB / 481.8 MB, free: 4.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008677/0.2929, allocations: 247.5 kB / 482 MB, free: 4.098 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008934/0.3018, allocations: 8.107 MB / 490.1 MB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008183/0.3026, allocations: 75.86 kB / 490.2 MB, free: 11.51 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.844e-05/0.3027, allocations: 44 kB / 490.3 MB, free: 11.47 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 117 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (4,8,87.5%), (1,3,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008017/0.3035, allocations: 0.517 MB / 490.8 MB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002154/0.3037, allocations: 131.2 kB / 490.9 MB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003214/0.3069, allocations: 1.738 MB / 492.6 MB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/0.307, allocations: 7.922 kB / 492.7 MB, free: 9.043 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.307, allocations: 4 kB / 492.7 MB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005947/0.3076, allocations: 235.1 kB / 492.9 MB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001574/0.3077, allocations: 16 kB / 492.9 MB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006284/0.3083, allocations: 59.92 kB / 493 MB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001495/0.3085, allocations: 76.83 kB / 493 MB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004121/0.3126, allocations: 1.897 MB / 494.9 MB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002885/0.3155, allocations: 2.083 MB / 497 MB, free: 4.648 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000777/0.3163, allocations: 0.5309 MB / 497.5 MB, free: 4.117 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001003/0.3173, allocations: 0.6684 MB / 498.2 MB, free: 3.438 MB / 398.1 MB Notification: Performance of Backend: time 3.91e-07/0.3173, allocations: 4 kB / 498.2 MB, free: 3.434 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003416/0.3207, allocations: 1.603 MB / 499.8 MB, free: 1.762 MB / 398.1 MB Notification: Performance of SimCode: time 0.005683/0.3264, allocations: 3.732 MB / 0.4918 GB, free: 13.98 MB / 414.1 MB Notification: Performance of Templates: time 0.0381/0.3645, allocations: 23.72 MB / 0.5149 GB, free: 6.613 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.083402117001242] Failed to read output from testmodel.py, exit status != 0: ['time', 'imc.idq_rr[1]', 'imc.idq_rr[2]', 'loadInertia.phi', 'loadInertia.w', 'imc.idq_sr[1]', 'imc.idq_sr[2]', 'imc.is[1]', 'imc.is[2]', 'tauElectrical', 'tauShaft', 'wMechanical'] 0.37249823399906745 0.386632369 0.142074323 Calling exit ...