Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.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.001289/0.001289, allocations: 113.9 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.001322/0.001322, allocations: 209.8 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.399/1.399, allocations: 230.4 MB / 258.1 MB, free: 8.148 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.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") [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.001927/0.001927, allocations: 67.84 kB / 378.8 MB, free: 2.859 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.2131, allocations: 53.32 MB / 432.1 MB, free: 7.371 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01625/0.2293, allocations: 13.62 MB / 445.7 MB, free: 9.684 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008652/0.2379, allocations: 4.552 MB / 450.2 MB, free: 5.117 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001783/0.2397, allocations: 75.75 kB / 450.3 MB, free: 5.043 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002859/0.2426, allocations: 1.049 MB / 451.4 MB, free: 3.988 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003535/0.2461, allocations: 1.313 MB / 452.7 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001987/0.2481, allocations: 0.9102 MB / 453.6 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004776/0.2529, allocations: 4.059 MB / 457.7 MB, free: 13.68 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002472/0.2554, allocations: 1.784 MB / 459.4 MB, free: 11.82 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002479/0.2578, allocations: 1.916 MB / 461.4 MB, free: 9.902 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003092/0.2609, allocations: 2.273 MB / 463.6 MB, free: 7.621 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006359/0.2616, allocations: 0.5117 MB / 464.1 MB, free: 7.109 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00129/0.2629, allocations: 0.7263 MB / 464.9 MB, free: 6.383 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001047/0.2639, allocations: 1.145 MB / 466 MB, free: 5.234 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00212/0.266, allocations: 2.139 MB / 468.1 MB, free: 3.086 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007017/0.273, allocations: 6.809 MB / 475 MB, free: 12.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.273, allocations: 8 kB / 475 MB, free: 12.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.273, allocations: 0 / 475 MB, free: 12.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.78e-05/0.2731, allocations: 0 / 475 MB, free: 12.25 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: 819 * Number of variables: 819 Notification: Performance of Generate backend data structure: time 0.01068/0.2838, allocations: 4.53 MB / 479.5 MB, free: 7.637 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.2839, allocations: 8.031 kB / 479.5 MB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004507/0.2884, allocations: 0.8456 MB / 480.4 MB, free: 6.781 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004732/0.2931, allocations: 2.52 MB / 482.9 MB, free: 4.207 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001916/0.2933, allocations: 230.6 kB / 483.1 MB, free: 3.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005103/0.2938, allocations: 323.8 kB / 483.4 MB, free: 3.664 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007205/0.301, allocations: 4.266 MB / 487.7 MB, free: 15.35 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.221e-05/0.3011, allocations: 7.953 kB / 487.7 MB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003112/0.3014, allocations: 128 kB / 487.8 MB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001462/0.3015, allocations: 142.3 kB / 487.9 MB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006372/0.3079, allocations: 3.663 MB / 491.6 MB, free: 11.4 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02084/0.3287, allocations: 13.46 MB / 0.4932 GB, free: 13.58 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007249/0.336, allocations: 6.749 MB / 0.4998 GB, free: 5.926 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002327/0.3383, allocations: 1.312 MB / 0.5011 GB, free: 4.613 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006417/0.3447, allocations: 3.889 MB / 0.5049 GB, free: 0.582 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.159e-05/0.3448, allocations: 47.56 kB / 0.5049 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of pre-optimization done (n=124): time 3.026e-06/0.3448, allocations: 0 / 0.5049 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of matching and sorting (n=144): time 0.01372/0.3585, allocations: 6.686 MB / 0.5115 GB, free: 9.648 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/0.3585, allocations: 68.72 kB / 0.5115 GB, free: 9.57 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00274/0.3613, allocations: 1.888 MB / 0.5134 GB, free: 7.684 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001029/0.3614, allocations: 53.69 kB / 0.5134 GB, free: 7.625 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001155/0.3625, allocations: 1.478 MB / 0.5149 GB, free: 6.133 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004458/0.363, allocations: 0.5112 MB / 0.5154 GB, free: 5.617 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000502/0.3635, allocations: 307.5 kB / 0.5157 GB, free: 5.312 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.3636, allocations: 309.1 kB / 0.516 GB, free: 5.008 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001291/0.3649, allocations: 0.7574 MB / 0.5167 GB, free: 4.25 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00167/0.3666, allocations: 1.224 MB / 0.5179 GB, free: 2.832 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00311/0.3697, allocations: 2.111 MB / 0.52 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-06/0.3697, allocations: 4 kB / 0.52 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.004709/0.3744, allocations: 2.66 MB / 0.5226 GB, free: 13.85 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/0.3744, allocations: 18.59 kB / 0.5226 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.399e-05/0.3745, allocations: 12 kB / 0.5226 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001382/0.3758, allocations: 0.5095 MB / 0.5231 GB, free: 13.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001501/0.3773, allocations: 383.4 kB / 0.5235 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009102/0.3864, allocations: 6.935 MB / 0.5302 GB, free: 5.723 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001238/0.3877, allocations: 71.92 kB / 0.5303 GB, free: 5.652 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001257/0.3878, allocations: 75.92 kB / 0.5304 GB, free: 5.578 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * 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 (180): * Single equations (assignments): 178 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (8,30,56.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001682/0.3895, allocations: 1.052 MB / 0.5314 GB, free: 4.516 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003114/0.3898, allocations: 210.7 kB / 0.5316 GB, free: 4.309 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004413/0.3942, allocations: 2.477 MB / 0.534 GB, free: 1.762 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.722e-05/0.3942, allocations: 11.97 kB / 0.534 GB, free: 1.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.3942, allocations: 3.938 kB / 0.534 GB, free: 1.746 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008578/0.3951, allocations: 471.6 kB / 0.5345 GB, free: 1.266 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002516/0.3953, allocations: 35.94 kB / 0.5345 GB, free: 1.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008886/0.3962, allocations: 59.95 kB / 0.5346 GB, free: 1.172 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002209/0.3965, allocations: 121.1 kB / 0.5347 GB, free: 1.055 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.1773/0.5737, allocations: 2.451 MB / 0.5371 GB, free: 99.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003758/0.5775, allocations: 2.94 MB / 0.54 GB, free: 98.46 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009201/0.5784, allocations: 0.778 MB / 0.5407 GB, free: 98.15 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001648/0.5801, allocations: 1.308 MB / 0.542 GB, free: 97.64 MB / 446.1 MB Notification: Performance of Backend: time 2.91e-07/0.5801, allocations: 0 / 0.542 GB, free: 97.64 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003501/0.5836, allocations: 1.879 MB / 0.5438 GB, free: 96.8 MB / 446.1 MB Notification: Performance of SimCode: time 0.007233/0.5908, allocations: 6.587 MB / 0.5503 GB, free: 93.46 MB / 446.1 MB Notification: Performance of Templates: time 0.04587/0.6367, allocations: 36.81 MB / 0.5862 GB, free: 60.89 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.365334417205304] Failed to read output from testmodel.py, exit status != 0: ['time', 'aimc.airGap.V_mrr.im', 'aimc.airGap.V_mrr.re', 'aimc.airGap.V_msr.im', 'aimc.airGap.V_msr.re', 'aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'aimc.stator.port_p.V_m.im', 'aimc.stator.port_p.V_m.re', '// aimc.stator.zeroInductor.i0', 'aimc.is[1]', 'aimc.is[2]', 'loadInertia.phi', 'loadInertia.w'] 0.6441734409891069 0.652321727 0.37710807100000004 Calling exit ...