Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.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.001827/0.001827, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001935/0.001935, allocations: 164.8 kB / 23.95 MB, free: 0.6055 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.607/1.607, allocations: 177 MB / 204.1 MB, free: 5.789 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3483/0.3483, allocations: 34.86 MB / 295.4 MB, free: 0.543 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=349,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") translateModel(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=349,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 443.6 MB, free: 456 kB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.816e-05/2.958e-05, allocations: 6.219 kB / 443.6 MB, free: 448 kB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.2217/0.2218, allocations: 12.43 MB / 456 MB, free: 36.18 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007977/0.2297, allocations: 4.945 MB / 461 MB, free: 32.78 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002222/0.232, allocations: 102 kB / 461.1 MB, free: 32.74 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002774/0.2347, allocations: 1.113 MB / 462.2 MB, free: 32.2 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004059/0.2388, allocations: 1.459 MB / 463.7 MB, free: 31.27 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00221/0.241, allocations: 0.9851 MB / 464.6 MB, free: 30.68 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00409/0.2451, allocations: 4.327 MB / 469 MB, free: 28.36 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002057/0.2471, allocations: 1.748 MB / 470.7 MB, free: 27.43 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003593/0.2507, allocations: 2.864 MB / 473.6 MB, free: 26.06 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002491/0.2532, allocations: 1.854 MB / 475.4 MB, free: 25.36 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007667/0.254, allocations: 0.506 MB / 475.9 MB, free: 25.36 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001655/0.2556, allocations: 0.7664 MB / 476.7 MB, free: 25.27 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007629/0.2564, allocations: 1.168 MB / 477.9 MB, free: 24.49 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00163/0.258, allocations: 1.45 MB / 479.3 MB, free: 23.74 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006411/0.2645, allocations: 6.917 MB / 486.2 MB, free: 21.29 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.2645, allocations: 0 / 486.2 MB, free: 21.29 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.2645, allocations: 4.562 kB / 486.2 MB, free: 21.29 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002114/0.2647, allocations: 0 / 486.2 MB, free: 21.29 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.01462/0.2793, allocations: 4.492 MB / 490.7 MB, free: 18.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.2793, allocations: 8.656 kB / 490.7 MB, free: 18.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004654/0.284, allocations: 0.8303 MB / 491.6 MB, free: 18.56 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005783/0.2898, allocations: 2.415 MB / 494 MB, free: 17.14 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002627/0.29, allocations: 252.5 kB / 494.2 MB, free: 17.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009176/0.291, allocations: 319.6 kB / 494.5 MB, free: 16.92 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009115/0.3001, allocations: 4.445 MB / 499 MB, free: 14.95 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.527e-05/0.3002, allocations: 5.688 kB / 499 MB, free: 14.95 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003119/0.3005, allocations: 128.6 kB / 499.1 MB, free: 14.85 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001659/0.3006, allocations: 157.6 kB / 499.3 MB, free: 14.83 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007238/0.3079, allocations: 3.628 MB / 0.4911 GB, free: 13.4 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02178/0.3297, allocations: 11.38 MB / 0.5022 GB, free: 6.141 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005243/0.3349, allocations: 2.714 MB / 0.5049 GB, free: 4.699 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0028/0.3377, allocations: 1.523 MB / 0.5064 GB, free: 3.953 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006555/0.3443, allocations: 3.44 MB / 0.5097 GB, free: 0.7148 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001375/0.3456, allocations: 1.027 MB / 0.5107 GB, free: 15.62 MB / 426.7 MB Notification: Performance of pre-optimization done (n=132): time 6.262e-06/0.3456, allocations: 3.984 kB / 0.5107 GB, free: 15.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=140): time 0.01614/0.3618, allocations: 6.146 MB / 0.5167 GB, free: 9.422 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001845/0.362, allocations: 230.9 kB / 0.517 GB, free: 9.145 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003204/0.3652, allocations: 1.722 MB / 0.5186 GB, free: 7.414 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001852/0.3654, allocations: 45.7 kB / 0.5187 GB, free: 7.363 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001935/0.3673, allocations: 1.548 MB / 0.5202 GB, free: 5.801 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006249/0.3679, allocations: 0.4919 MB / 0.5207 GB, free: 5.305 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005727/0.3685, allocations: 303.5 kB / 0.521 GB, free: 5.004 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.3687, allocations: 305.1 kB / 0.5213 GB, free: 4.703 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001346/0.37, allocations: 0.6754 MB / 0.5219 GB, free: 4.027 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002022/0.372, allocations: 1.404 MB / 0.5233 GB, free: 2.355 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003376/0.3754, allocations: 1.974 MB / 0.5252 GB, free: 184 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.023e-05/0.3754, allocations: 4 kB / 0.5252 GB, free: 180 kB / 426.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.005135/0.3806, allocations: 2.425 MB / 0.5276 GB, free: 13.73 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.296e-05/0.3806, allocations: 12 kB / 0.5276 GB, free: 13.71 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.722e-05/0.3806, allocations: 16 kB / 0.5276 GB, free: 13.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009799/0.3816, allocations: 335.4 kB / 0.5279 GB, free: 13.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001557/0.3831, allocations: 379.4 kB / 0.5283 GB, free: 12.99 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008059/0.3912, allocations: 6.326 MB / 0.5345 GB, free: 6.352 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00176/0.393, allocations: 96.06 kB / 0.5346 GB, free: 6.258 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001833/0.3932, allocations: 71.98 kB / 0.5346 GB, free: 6.188 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.dutyCycle.nextTimeEvent,$whenCondition1,dutyCycle.nextTimeEventScaled,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (193): * Single equations (assignments): 189 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {(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 {(1,4,100.0%), (1,8,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002344/0.3955, allocations: 1.044 MB / 0.5356 GB, free: 5.133 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004975/0.396, allocations: 194.8 kB / 0.5358 GB, free: 4.941 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004728/0.4007, allocations: 2.165 MB / 0.5379 GB, free: 2.75 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.708e-05/0.4007, allocations: 12.19 kB / 0.538 GB, free: 2.738 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.546e-05/0.4008, allocations: 12 kB / 0.538 GB, free: 2.727 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.769e-05/0.4008, allocations: 7.969 kB / 0.538 GB, free: 2.719 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009331/0.4101, allocations: 4.353 MB / 0.5422 GB, free: 14.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/0.4101, allocations: 4 kB / 0.5422 GB, free: 14.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008658/0.411, allocations: 179.9 kB / 0.5424 GB, free: 14.12 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001483/0.4125, allocations: 0.4997 MB / 0.5429 GB, free: 13.61 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001167/0.4126, allocations: 39.97 kB / 0.5429 GB, free: 13.57 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01376/0.4263, allocations: 10.8 MB / 0.5535 GB, free: 2.27 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.714e-06/0.4263, allocations: 3.984 kB / 0.5535 GB, free: 2.266 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006269/0.4326, allocations: 3.066 MB / 0.5565 GB, free: 15.16 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001397/0.434, allocations: 350.6 kB / 0.5568 GB, free: 14.81 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002746/0.4343, allocations: 43.98 kB / 0.5568 GB, free: 14.77 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008883/0.4352, allocations: 63.95 kB / 0.5569 GB, free: 14.71 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003392/0.4355, allocations: 109 kB / 0.557 GB, free: 14.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.84e-05/0.4356, allocations: 39.98 kB / 0.5571 GB, free: 14.56 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002113/0.4377, allocations: 1.158 MB / 0.5582 GB, free: 13.41 MB / 474.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4377, allocations: 4 kB / 0.5582 GB, free: 13.4 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002697/0.4404, allocations: 0.5897 MB / 0.5588 GB, free: 12.81 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,vfController.x,mass.s,mass.v) * Number of discrete variables: 3 ($whenCondition1,dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of discrete states: 2 (dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,8,100.0%), (1,3,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003243/0.4437, allocations: 0.4954 MB / 0.5592 GB, free: 12.48 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004514/0.4482, allocations: 2.078 MB / 0.5613 GB, free: 10.36 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.4482, allocations: 8.25 kB / 0.5613 GB, free: 10.35 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003025/0.4512, allocations: 1.551 MB / 0.5628 GB, free: 8.738 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002571/0.4538, allocations: 468 kB / 0.5632 GB, free: 8.293 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01236/0.4661, allocations: 5.705 MB / 0.5688 GB, free: 2.543 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002625/0.4688, allocations: 1.814 MB / 0.5706 GB, free: 0.6953 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001545/0.4703, allocations: 379.5 kB / 0.5709 GB, free: 328 kB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003793/0.4707, allocations: 128.5 kB / 0.5711 GB, free: 196 kB / 474.7 MB Notification: Performance of SimCode: time 1.363e-06/0.4707, allocations: 0 / 0.5711 GB, free: 196 kB / 474.7 MB Notification: Performance of Templates: time 0.05977/0.5305, allocations: 28.15 MB / 0.5986 GB, free: 4.391 MB / 0.4948 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.408491005888209]