Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.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.001331/0.001331, allocations: 110.8 kB / 21.19 MB, free: 0.6641 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.002105/0.002105, allocations: 206.8 kB / 24.49 MB, free: 3.965 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.572/1.572, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.Transformers.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001725/0.001725, allocations: 43.94 kB / 379 MB, free: 2.414 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2364/0.2381, allocations: 53.38 MB / 432.4 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.01479/0.2529, allocations: 11.33 MB / 443.7 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007819/0.2607, allocations: 4.039 MB / 447.8 MB, free: 7.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001387/0.2621, allocations: 103.3 kB / 447.9 MB, free: 7.168 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00223/0.2644, allocations: 0.9626 MB / 448.8 MB, free: 6.199 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00334/0.2677, allocations: 1.251 MB / 450.1 MB, free: 4.941 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001118/0.2688, allocations: 0.5267 MB / 450.6 MB, free: 4.414 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005258/0.2741, allocations: 4.657 MB / 455.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002833/0.2769, allocations: 2.078 MB / 457.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003543/0.2804, allocations: 2.18 MB / 459.5 MB, free: 11.42 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003636/0.2841, allocations: 2.635 MB / 462.2 MB, free: 8.773 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008251/0.2849, allocations: 0.5508 MB / 462.7 MB, free: 8.223 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001278/0.2862, allocations: 0.6522 MB / 463.4 MB, free: 7.57 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001536/0.2877, allocations: 1.543 MB / 464.9 MB, free: 6.023 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002369/0.2901, allocations: 2.007 MB / 466.9 MB, free: 4.008 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007955/0.298, allocations: 7.509 MB / 474.4 MB, free: 12.47 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.298, allocations: 4 kB / 474.4 MB, free: 12.47 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.298, allocations: 3.938 kB / 474.4 MB, free: 12.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001059/0.2982, allocations: 0 / 474.4 MB, free: 12.46 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.009627/0.3078, allocations: 4.744 MB / 479.2 MB, free: 7.664 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.3078, allocations: 11.97 kB / 479.2 MB, free: 7.652 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001655/0.3095, allocations: 0.5487 MB / 479.7 MB, free: 7.102 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005212/0.3147, allocations: 2.548 MB / 482.3 MB, free: 4.484 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002356/0.3149, allocations: 263.1 kB / 482.5 MB, free: 4.227 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005907/0.3155, allocations: 355.9 kB / 482.9 MB, free: 3.879 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008727/0.3242, allocations: 5.276 MB / 488.2 MB, free: 14.48 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-05/0.3243, allocations: 7.953 kB / 488.2 MB, free: 14.47 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003597/0.3247, allocations: 148 kB / 488.3 MB, free: 14.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002027/0.3249, allocations: 183 kB / 488.5 MB, free: 14.14 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007488/0.3324, allocations: 4.287 MB / 492.8 MB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02403/0.3564, allocations: 12.86 MB / 0.4938 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004275/0.3607, allocations: 2.692 MB / 0.4964 GB, free: 10.01 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003356/0.364, allocations: 1.866 MB / 0.4982 GB, free: 8.145 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002493/0.3643, allocations: 57.97 kB / 0.4983 GB, free: 8.086 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.344e-05/0.3644, allocations: 56.56 kB / 0.4983 GB, free: 8.023 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 6.663e-06/0.3644, allocations: 3.984 kB / 0.4983 GB, free: 8.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.0208/0.3852, allocations: 9.585 MB / 0.5077 GB, free: 14.41 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.34e-05/0.3852, allocations: 73.41 kB / 0.5078 GB, free: 14.33 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003263/0.3885, allocations: 2.199 MB / 0.5099 GB, free: 12.09 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00015/0.3886, allocations: 61.7 kB / 0.51 GB, free: 12.03 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001305/0.3899, allocations: 1.676 MB / 0.5116 GB, free: 10.34 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006723/0.3906, allocations: 0.7591 MB / 0.5124 GB, free: 9.574 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007388/0.3914, allocations: 424.4 kB / 0.5128 GB, free: 9.152 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.3915, allocations: 305.1 kB / 0.5131 GB, free: 8.852 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002128/0.3936, allocations: 1.297 MB / 0.5143 GB, free: 7.551 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002548/0.3962, allocations: 1.778 MB / 0.5161 GB, free: 5.586 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004853/0.401, allocations: 3.208 MB / 0.5192 GB, free: 2.195 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.268e-06/0.401, allocations: 4 kB / 0.5192 GB, free: 2.191 MB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007363/0.4084, allocations: 4.049 MB / 0.5232 GB, free: 14.12 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/0.4084, allocations: 14.91 kB / 0.5232 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.538e-05/0.4084, allocations: 19.98 kB / 0.5232 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003087/0.4115, allocations: 0.8795 MB / 0.524 GB, free: 13.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0022/0.4137, allocations: 0.5188 MB / 0.5246 GB, free: 12.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0115/0.4252, allocations: 9.01 MB / 0.5333 GB, free: 3.355 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001681/0.4269, allocations: 119.8 kB / 0.5335 GB, free: 3.238 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001928/0.4271, allocations: 91.98 kB / 0.5336 GB, free: 3.148 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (252): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * 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): 3 systems {(3,25,77.8%), (2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002043/0.4291, allocations: 1.208 MB / 0.5347 GB, free: 1.93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004826/0.4296, allocations: 270.3 kB / 0.535 GB, free: 1.664 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1784/0.6081, allocations: 3.665 MB / 0.5386 GB, free: 99.97 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.352e-05/0.6081, allocations: 18.08 kB / 0.5386 GB, free: 99.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/0.6081, allocations: 1.219 kB / 0.5386 GB, free: 99.97 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001664/0.6097, allocations: 0.5511 MB / 0.5391 GB, free: 99.91 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003491/0.6101, allocations: 43.78 kB / 0.5392 GB, free: 99.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001302/0.6114, allocations: 119 kB / 0.5393 GB, free: 99.85 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003753/0.6118, allocations: 194 kB / 0.5395 GB, free: 99.83 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007122/0.6189, allocations: 3.93 MB / 0.5433 GB, free: 98.56 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005429/0.6243, allocations: 5.031 MB / 0.5482 GB, free: 96.68 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001443/0.6258, allocations: 1.38 MB / 0.5496 GB, free: 96.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001609/0.6274, allocations: 1.491 MB / 0.551 GB, free: 95.48 MB / 446.1 MB Notification: Performance of Backend: time 2.91e-07/0.6274, allocations: 0 / 0.551 GB, free: 95.48 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004211/0.6316, allocations: 2.624 MB / 0.5536 GB, free: 93.24 MB / 446.1 MB Notification: Performance of SimCode: time 0.009041/0.6406, allocations: 7.779 MB / 0.5612 GB, free: 85.56 MB / 446.1 MB Notification: Performance of Templates: time 0.06185/0.7025, allocations: 53.01 MB / 0.6129 GB, free: 33.17 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 27.755131418998644] Failed to read output from testmodel.py, exit status != 0: ['time', '// aimc.i_0_s', 'aimc.idq_rr[1]', 'aimc.idq_rr[2]', 'aimc.idq_sr[1]', 'aimc.idq_sr[2]', 'aimc.is[1]', 'aimc.is[2]', 'loadInertia.phi', 'loadInertia.w', 'transformer.l2sigma.inductor[2].i', 'transformer.l2sigma.inductor[3].i'] 0.7104428210004698 0.718901402 0.418607249 Calling exit ...