Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YDarc.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.001649/0.001649, allocations: 106.5 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.001962/0.001962, allocations: 217.1 kB / 24.49 MB, free: 3.93 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.477/1.477, allocations: 230.6 MB / 258.3 MB, free: 7.789 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_YDarc,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.|inductor.inductor.1..i|inductor.inductor.3..i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YDarc") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YDarc,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.|inductor.inductor.1..i|inductor.inductor.3..i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YDarc") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001571, allocations: 47.91 kB / 379 MB, free: 2.434 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2248, allocations: 53.36 MB / 432.4 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YDarc): time 0.01308/0.2379, allocations: 9.856 MB / 442.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006382/0.2443, allocations: 3.342 MB / 445.6 MB, free: 9.453 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008727/0.2452, allocations: 75.5 kB / 445.6 MB, free: 9.379 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001672/0.2468, allocations: 0.7403 MB / 446.4 MB, free: 8.637 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002343/0.2492, allocations: 1.064 MB / 447.4 MB, free: 7.566 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009254/0.2501, allocations: 491.4 kB / 447.9 MB, free: 7.086 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004281/0.2544, allocations: 4.109 MB / 452 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002142/0.2565, allocations: 1.604 MB / 453.6 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002243/0.2588, allocations: 1.857 MB / 455.5 MB, free: 15.42 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002852/0.2616, allocations: 2.257 MB / 457.7 MB, free: 13.15 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006917/0.2623, allocations: 472 kB / 458.2 MB, free: 12.69 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001047/0.2633, allocations: 0.5545 MB / 458.8 MB, free: 12.14 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001301/0.2647, allocations: 1.344 MB / 460.1 MB, free: 10.79 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001957/0.2666, allocations: 1.696 MB / 461.8 MB, free: 9.086 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006378/0.273, allocations: 6.151 MB / 468 MB, free: 2.914 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.273, allocations: 0 / 468 MB, free: 2.914 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.273, allocations: 0 / 468 MB, free: 2.914 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001056/0.2731, allocations: 0 / 468 MB, free: 2.914 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 745 * Number of variables: 745 Notification: Performance of Generate backend data structure: time 0.009347/0.2824, allocations: 4.163 MB / 472.1 MB, free: 14.69 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.2825, allocations: 8.031 kB / 472.1 MB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001329/0.2838, allocations: 466.4 kB / 472.6 MB, free: 14.22 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00457/0.2884, allocations: 2.195 MB / 474.8 MB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006239/0.289, allocations: 0.8583 MB / 475.6 MB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005065/0.2895, allocations: 291.9 kB / 475.9 MB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00738/0.2969, allocations: 4.327 MB / 480.2 MB, free: 6.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-05/0.297, allocations: 15.95 kB / 480.3 MB, free: 6.215 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003075/0.2973, allocations: 116 kB / 480.4 MB, free: 6.102 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001362/0.2974, allocations: 125.6 kB / 480.5 MB, free: 5.977 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006327/0.3037, allocations: 3.601 MB / 484.1 MB, free: 2.363 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02035/0.3241, allocations: 11.04 MB / 495.1 MB, free: 7.051 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003936/0.328, allocations: 2.473 MB / 497.6 MB, free: 4.605 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002765/0.3308, allocations: 1.624 MB / 499.2 MB, free: 2.988 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002385/0.331, allocations: 49.97 kB / 499.3 MB, free: 2.938 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002626/0.3337, allocations: 1.758 MB / 0.4893 GB, free: 1.102 MB / 398.1 MB Notification: Performance of pre-optimization done (n=192): time 4.839e-06/0.3337, allocations: 0 / 0.4893 GB, free: 1.102 MB / 398.1 MB Notification: Performance of matching and sorting (n=209): time 0.02387/0.3575, allocations: 9.865 MB / 0.4989 GB, free: 7.191 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001677/0.3577, allocations: 269.3 kB / 0.4992 GB, free: 6.875 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003096/0.3608, allocations: 2.038 MB / 0.5012 GB, free: 4.793 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002023/0.361, allocations: 77.69 kB / 0.5013 GB, free: 4.711 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00132/0.3623, allocations: 1.414 MB / 0.5026 GB, free: 3.285 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006742/0.363, allocations: 0.7051 MB / 0.5033 GB, free: 2.574 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000772/0.3638, allocations: 436.4 kB / 0.5037 GB, free: 2.141 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.3639, allocations: 301.1 kB / 0.504 GB, free: 1.844 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00223/0.3661, allocations: 1.332 MB / 0.5053 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002795/0.3689, allocations: 2.002 MB / 0.5073 GB, free: 14.28 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004739/0.3737, allocations: 2.996 MB / 0.5102 GB, free: 11.13 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.307e-06/0.3737, allocations: 7.938 kB / 0.5102 GB, free: 11.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=294) (initialization): time 0.007331/0.381, allocations: 4.116 MB / 0.5142 GB, free: 6.961 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.669e-05/0.381, allocations: 16.06 kB / 0.5143 GB, free: 6.945 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.789e-05/0.3811, allocations: 8 kB / 0.5143 GB, free: 6.938 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0032/0.3843, allocations: 1.358 MB / 0.5156 GB, free: 5.547 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001697/0.3859, allocations: 431.3 kB / 0.516 GB, free: 5.125 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01913/0.4051, allocations: 18.04 MB / 0.5336 GB, free: 2.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002047/0.4071, allocations: 175.8 kB / 0.5338 GB, free: 2.008 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002155/0.4073, allocations: 91.97 kB / 0.5339 GB, free: 1.918 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 60 (booleanStepYD[3].y,booleanStepYD[2].y,booleanStepYD[1].y,switchYDwithArc.logicalDelay[3].tSwitch,$PRE.switchYDwithArc.logicalDelay[3].tSwitch,switchYDwithArc.logicalDelay[2].tSwitch,$PRE.switchYDwithArc.logicalDelay[2].tSwitch,switchYDwithArc.logicalDelay[1].tSwitch,$PRE.switchYDwithArc.logicalDelay[1].tSwitch,switchYDwithArc.idealOpener.openerWithArc[3].tSwitch,$PRE.switchYDwithArc.idealOpener.openerWithArc[3].tSwitch,switchYDwithArc.idealOpener.openerWithArc[3].quenched,$PRE.switchYDwithArc.idealOpener.openerWithArc[3].quenched,switchYDwithArc.idealOpener.openerWithArc[3].off,$PRE.switchYDwithArc.idealOpener.openerWithArc[3].off,switchYDwithArc.idealOpener.openerWithArc[2].tSwitch,$PRE.switchYDwithArc.idealOpener.openerWithArc[2].tSwitch,switchYDwithArc.idealOpener.openerWithArc[2].quenched,$PRE.switchYDwithArc.idealOpener.openerWithArc[2].quenched,switchYDwithArc.idealOpener.openerWithArc[2].off,$PRE.switchYDwithArc.idealOpener.openerWithArc[2].off,switchYDwithArc.idealOpener.openerWithArc[1].tSwitch,$PRE.switchYDwithArc.idealOpener.openerWithArc[1].tSwitch,switchYDwithArc.idealOpener.openerWithArc[1].quenched,$PRE.switchYDwithArc.idealOpener.openerWithArc[1].quenched,switchYDwithArc.idealOpener.openerWithArc[1].off,$PRE.switchYDwithArc.idealOpener.openerWithArc[1].off,switchYDwithArc.idealCloser.closerWithArc[3].tSwitch,$PRE.switchYDwithArc.idealCloser.closerWithArc[3].tSwitch,switchYDwithArc.idealCloser.closerWithArc[3].quenched,$PRE.switchYDwithArc.idealCloser.closerWithArc[3].quenched,switchYDwithArc.idealCloser.closerWithArc[3].off,$PRE.switchYDwithArc.idealCloser.closerWithArc[3].off,switchYDwithArc.idealCloser.closerWithArc[2].tSwitch,$PRE.switchYDwithArc.idealCloser.closerWithArc[2].tSwitch,switchYDwithArc.idealCloser.closerWithArc[2].quenched,$PRE.switchYDwithArc.idealCloser.closerWithArc[2].quenched,switchYDwithArc.idealCloser.closerWithArc[2].off,$PRE.switchYDwithArc.idealCloser.closerWithArc[2].off,switchYDwithArc.idealCloser.closerWithArc[1].tSwitch,$PRE.switchYDwithArc.idealCloser.closerWithArc[1].tSwitch,switchYDwithArc.idealCloser.closerWithArc[1].quenched,$PRE.switchYDwithArc.idealCloser.closerWithArc[1].quenched,switchYDwithArc.idealCloser.closerWithArc[1].off,$PRE.switchYDwithArc.idealCloser.closerWithArc[1].off,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1],$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (257): * Single equations (assignments): 246 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 9 * 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 {(2,12,100.0%), (2,14,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(1,1), (1,1), (1,1), (1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.001872/0.4092, allocations: 1.114 MB / 0.535 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004546/0.4097, allocations: 242.5 kB / 0.5352 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1925/0.6022, allocations: 3.871 MB / 0.539 GB, free: 100.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.477e-05/0.6022, allocations: 12.33 kB / 0.539 GB, free: 100.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.6022, allocations: 0.7031 kB / 0.539 GB, free: 100.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001561/0.6037, allocations: 0.5273 MB / 0.5395 GB, free: 100.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004051/0.6042, allocations: 68.89 kB / 0.5396 GB, free: 100.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001322/0.6055, allocations: 145.9 kB / 0.5397 GB, free: 100.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000553/0.606, allocations: 277.5 kB / 0.54 GB, free: 100.2 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008659/0.6147, allocations: 3.922 MB / 0.5438 GB, free: 98.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005589/0.6203, allocations: 4.87 MB / 0.5485 GB, free: 97.02 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001562/0.6218, allocations: 1.397 MB / 0.5499 GB, free: 95.89 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001609/0.6234, allocations: 1.391 MB / 0.5513 GB, free: 94.71 MB / 446.1 MB Notification: Performance of Backend: time 3.31e-07/0.6234, allocations: 0 / 0.5513 GB, free: 94.71 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004876/0.6283, allocations: 3.214 MB / 0.5544 GB, free: 91.69 MB / 446.1 MB Notification: Performance of SimCode: time 0.007818/0.6361, allocations: 6.869 MB / 0.5611 GB, free: 84.87 MB / 446.1 MB Notification: Performance of Templates: time 0.05996/0.6961, allocations: 51.39 MB / 0.6113 GB, free: 33.99 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YDarc.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YDarc.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YDarc.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YDarc.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YDarc.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YDarc -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YDarc.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.855823965997843] 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]', 'inductor.inductor[1].i', 'inductor.inductor[3].i', 'loadInertia.phi', 'loadInertia.w'] 0.7037085269985255 0.71262907 0.437414567 Calling exit ...