Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YDarc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001258/0.001258, allocations: 114.3 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001372/0.001372, allocations: 210.3 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.415/1.415, allocations: 230.4 MB / 258.1 MB, free: 8.172 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YDarc") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 67.83 kB / 378.8 MB, free: 2.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2152/0.2171, allocations: 53.32 MB / 432.1 MB, free: 7.402 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YDarc): time 0.01382/0.231, allocations: 11.27 MB / 443.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0068/0.2378, allocations: 3.532 MB / 446.9 MB, free: 8.547 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001468/0.2392, allocations: 67.69 kB / 446.9 MB, free: 8.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002014/0.2412, allocations: 0.7842 MB / 447.7 MB, free: 7.691 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002852/0.2441, allocations: 1.049 MB / 448.8 MB, free: 6.637 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00116/0.2452, allocations: 491.3 kB / 449.3 MB, free: 6.156 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004901/0.2501, allocations: 4.11 MB / 453.4 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002275/0.2524, allocations: 1.6 MB / 455 MB, free: 364 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002619/0.255, allocations: 1.83 MB / 456.8 MB, free: 14.52 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003222/0.2583, allocations: 2.246 MB / 459 MB, free: 12.27 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006695/0.2589, allocations: 472 kB / 459.5 MB, free: 11.8 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00107/0.26, allocations: 0.5662 MB / 460.1 MB, free: 11.24 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001321/0.2613, allocations: 1.34 MB / 461.4 MB, free: 9.895 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00238/0.2637, allocations: 2.081 MB / 463.5 MB, free: 7.805 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006518/0.2702, allocations: 6.12 MB / 469.6 MB, free: 1.664 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.2702, allocations: 0 / 469.6 MB, free: 1.664 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2702, allocations: 0 / 469.6 MB, free: 1.664 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.937e-05/0.2703, allocations: 7.938 kB / 469.6 MB, free: 1.656 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.008756/0.2791, allocations: 4.227 MB / 473.8 MB, free: 13.35 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.2791, allocations: 8.031 kB / 473.8 MB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001294/0.2804, allocations: 462.4 kB / 474.3 MB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004458/0.2849, allocations: 2.263 MB / 476.6 MB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004627/0.2853, allocations: 0.5571 MB / 477.1 MB, free: 9.941 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004967/0.2858, allocations: 288 kB / 477.4 MB, free: 9.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007288/0.2931, allocations: 4.159 MB / 481.6 MB, free: 5.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-05/0.2932, allocations: 7.891 kB / 481.6 MB, free: 5.402 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003101/0.2935, allocations: 124 kB / 481.7 MB, free: 5.281 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000139/0.2937, allocations: 121.6 kB / 481.8 MB, free: 5.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006353/0.3, allocations: 3.605 MB / 485.4 MB, free: 1.543 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02174/0.3217, allocations: 12.53 MB / 497.9 MB, free: 4.738 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004625/0.3264, allocations: 3.84 MB / 0.49 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002789/0.3292, allocations: 1.618 MB / 0.4916 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002792/0.3294, allocations: 135 kB / 0.4917 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002491/0.3319, allocations: 1.579 MB / 0.4933 GB, free: 13.21 MB / 414.1 MB Notification: Performance of pre-optimization done (n=192): time 7.244e-06/0.3319, allocations: 3.984 kB / 0.4933 GB, free: 13.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=209): time 0.02343/0.3554, allocations: 10.71 MB / 0.5037 GB, free: 2.246 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001809/0.3556, allocations: 269.3 kB / 0.504 GB, free: 1.93 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003408/0.359, allocations: 2.186 MB / 0.5061 GB, free: 15.71 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002859/0.3592, allocations: 85.69 kB / 0.5062 GB, free: 15.62 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001411/0.3607, allocations: 1.396 MB / 0.5076 GB, free: 14.21 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007346/0.3614, allocations: 0.7051 MB / 0.5083 GB, free: 13.5 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007676/0.3622, allocations: 432.4 kB / 0.5087 GB, free: 13.07 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.3623, allocations: 301.1 kB / 0.509 GB, free: 12.77 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00228/0.3646, allocations: 1.336 MB / 0.5103 GB, free: 11.43 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002636/0.3672, allocations: 1.827 MB / 0.512 GB, free: 9.422 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004554/0.3718, allocations: 3.004 MB / 0.515 GB, free: 6.266 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-06/0.3718, allocations: 4 kB / 0.515 GB, free: 6.262 MB / 430.1 MB Notification: Performance of matching and sorting (n=294) (initialization): time 0.007145/0.3789, allocations: 4.124 MB / 0.519 GB, free: 2.094 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.888e-05/0.3789, allocations: 11.98 kB / 0.519 GB, free: 2.082 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.003e-05/0.379, allocations: 12 kB / 0.519 GB, free: 2.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003035/0.382, allocations: 1.356 MB / 0.5204 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001679/0.3837, allocations: 435.3 kB / 0.5208 GB, free: 260 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1935/0.5771, allocations: 19.29 MB / 0.5396 GB, free: 96.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00214/0.5793, allocations: 181.6 kB / 0.5398 GB, free: 96.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002125/0.5795, allocations: 87.25 kB / 0.5399 GB, free: 96.38 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.001667/0.5812, allocations: 1.1 MB / 0.5409 GB, free: 96.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004319/0.5816, allocations: 260.1 kB / 0.5412 GB, free: 96.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006248/0.5878, allocations: 3.889 MB / 0.545 GB, free: 94.76 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.979e-05/0.5879, allocations: 12.03 kB / 0.545 GB, free: 94.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.5879, allocations: 3.969 kB / 0.545 GB, free: 94.76 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00127/0.5891, allocations: 0.6127 MB / 0.5456 GB, free: 94.53 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003913/0.5895, allocations: 64.19 kB / 0.5457 GB, free: 94.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001238/0.5908, allocations: 151.6 kB / 0.5458 GB, free: 94.46 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004312/0.5912, allocations: 260.8 kB / 0.546 GB, free: 94.42 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006393/0.5976, allocations: 3.943 MB / 0.5499 GB, free: 93.12 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005409/0.603, allocations: 4.872 MB / 0.5547 GB, free: 91.32 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001515/0.6045, allocations: 1.4 MB / 0.556 GB, free: 90.07 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001681/0.6062, allocations: 1.508 MB / 0.5575 GB, free: 88.54 MB / 446.1 MB Notification: Performance of Backend: time 3.01e-07/0.6062, allocations: 0 / 0.5575 GB, free: 88.54 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004788/0.611, allocations: 3.363 MB / 0.5608 GB, free: 85.1 MB / 446.1 MB Notification: Performance of SimCode: time 0.00783/0.6188, allocations: 6.964 MB / 0.5676 GB, free: 78.16 MB / 446.1 MB Notification: Performance of Templates: time 0.05703/0.6758, allocations: 46.11 MB / 0.6126 GB, free: 32.51 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YDarc.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YDarc.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YDarc.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YDarc.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YDarc.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YDarc -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YDarc.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.870159062091261] 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.6839762371964753 0.692282275 0.41982106999999996 Calling exit ...