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.0008938/0.0008938, allocations: 91.5 kB / 20.93 MB, free: 3.613 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.0009159/0.0009159, allocations: 156.5 kB / 24.23 MB, free: 328 kB / 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 0.9583/0.9583, allocations: 177 MB / 204.5 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] 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.2498/0.2498, allocations: 34.87 MB / 295.8 MB, free: 0.5625 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=350,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=350,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 378.1 MB, free: 2.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.704e-05/1.83e-05, allocations: 3.016 kB / 378.1 MB, free: 2.316 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01163/0.01165, allocations: 14.02 MB / 392.1 MB, free: 4.23 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007035/0.01868, allocations: 5.12 MB / 397.2 MB, free: 15.09 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001159/0.01984, allocations: 103.4 kB / 397.3 MB, free: 14.99 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001765/0.02161, allocations: 1.118 MB / 398.4 MB, free: 13.87 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002477/0.02409, allocations: 1.471 MB / 399.9 MB, free: 12.39 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001311/0.0254, allocations: 0.9884 MB / 400.9 MB, free: 11.4 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002667/0.02806, allocations: 4.314 MB / 405.2 MB, free: 7.066 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001813/0.02988, allocations: 1.762 MB / 407 MB, free: 5.23 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002225/0.0321, allocations: 2.905 MB / 409.9 MB, free: 2.32 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001857/0.03396, allocations: 2.031 MB / 411.9 MB, free: 292 kB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005112/0.03447, allocations: 0.504 MB / 412.4 MB, free: 15.78 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009501/0.03542, allocations: 0.7611 MB / 413.2 MB, free: 15.02 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009926/0.03641, allocations: 1.2 MB / 414.4 MB, free: 13.82 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001138/0.03755, allocations: 1.469 MB / 415.8 MB, free: 12.34 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003131/0.04068, allocations: 3.563 MB / 419.4 MB, free: 8.77 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.04069, allocations: 0 / 419.4 MB, free: 8.77 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.04069, allocations: 3.938 kB / 419.4 MB, free: 8.766 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.545e-05/0.04073, allocations: 0 / 419.4 MB, free: 8.766 MB / 394.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.006136/0.04687, allocations: 4.765 MB / 424.2 MB, free: 3.93 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.04691, allocations: 8.031 kB / 424.2 MB, free: 3.922 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002784/0.0497, allocations: 1.255 MB / 425.4 MB, free: 2.664 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002524/0.05222, allocations: 2.361 MB / 427.8 MB, free: 260 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001224/0.05234, allocations: 242.3 kB / 428 MB, free: 16 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003232/0.05267, allocations: 320 kB / 428.4 MB, free: 15.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0037/0.05637, allocations: 2.588 MB / 430.9 MB, free: 13.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.235e-05/0.05642, allocations: 4 kB / 430.9 MB, free: 13.02 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002041/0.05662, allocations: 128 kB / 431.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001147/0.05674, allocations: 158.4 kB / 431.2 MB, free: 12.74 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002338/0.05907, allocations: 1.224 MB / 432.4 MB, free: 11.5 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01098/0.07005, allocations: 10.58 MB / 443 MB, free: 0.6172 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1559/0.2259, allocations: 2.051 MB / 445.1 MB, free: 97.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001506/0.2274, allocations: 0.9938 MB / 446.1 MB, free: 97.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003389/0.2308, allocations: 2.659 MB / 448.7 MB, free: 97.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006116/0.2314, allocations: 0.7067 MB / 449.4 MB, free: 96.94 MB / 410.7 MB Notification: Performance of pre-optimization done (n=132): time 3.296e-06/0.2314, allocations: 0.875 kB / 449.4 MB, free: 96.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=140): time 0.006211/0.2377, allocations: 4.134 MB / 453.6 MB, free: 95.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.327e-05/0.2377, allocations: 230.7 kB / 453.8 MB, free: 95.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001441/0.2391, allocations: 1.487 MB / 455.3 MB, free: 94.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.949e-05/0.2392, allocations: 51.8 kB / 455.3 MB, free: 94.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008199/0.24, allocations: 1.613 MB / 456.9 MB, free: 93.76 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002458/0.2403, allocations: 0.5143 MB / 457.5 MB, free: 93.42 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000294/0.2406, allocations: 330.6 kB / 457.8 MB, free: 93.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.725e-05/0.2406, allocations: 482.6 kB / 458.3 MB, free: 92.78 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004248/0.241, allocations: 245.8 kB / 458.5 MB, free: 92.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006553/0.2417, allocations: 1.162 MB / 459.7 MB, free: 91.56 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001144/0.2428, allocations: 1.327 MB / 461 MB, free: 90.47 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/0.2428, allocations: 3.094 kB / 461 MB, free: 90.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.001905/0.2447, allocations: 1.579 MB / 462.6 MB, free: 89.88 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.2448, allocations: 9.5 kB / 462.6 MB, free: 89.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.698e-05/0.2448, allocations: 15.84 kB / 462.6 MB, free: 89.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005869/0.2454, allocations: 292.7 kB / 462.9 MB, free: 89.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007571/0.2461, allocations: 370 kB / 463.2 MB, free: 89.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003015/0.2491, allocations: 6.879 MB / 470.1 MB, free: 83.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00067/0.2498, allocations: 100.2 kB / 470.2 MB, free: 83.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.066e-05/0.2499, allocations: 75.05 kB / 470.3 MB, free: 83.38 MB / 410.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.0005779/0.2505, allocations: 268.2 kB / 470.5 MB, free: 83.14 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001942/0.2507, allocations: 232.2 kB / 470.8 MB, free: 83.03 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001746/0.2524, allocations: 1.386 MB / 472.2 MB, free: 82.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.2524, allocations: 12.41 kB / 472.2 MB, free: 82.48 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/0.2524, allocations: 9.438 kB / 472.2 MB, free: 82.48 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.2524, allocations: 13.33 kB / 472.2 MB, free: 82.48 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004784/0.2572, allocations: 3.645 MB / 475.8 MB, free: 80.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/0.2572, allocations: 0 / 475.8 MB, free: 80.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004279/0.2577, allocations: 181 kB / 476 MB, free: 80.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009257/0.2586, allocations: 450.9 kB / 476.5 MB, free: 80.65 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.794e-05/0.2587, allocations: 35.53 kB / 476.5 MB, free: 80.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00516/0.2638, allocations: 11.73 MB / 488.2 MB, free: 69.88 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2638, allocations: 4.062 kB / 488.2 MB, free: 69.88 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002403/0.2662, allocations: 1.818 MB / 490 MB, free: 69.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004688/0.2667, allocations: 333.8 kB / 490.4 MB, free: 68.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001841/0.2669, allocations: 33.59 kB / 490.4 MB, free: 68.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004207/0.2673, allocations: 66.78 kB / 490.5 MB, free: 68.85 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002271/0.2675, allocations: 115.3 kB / 490.6 MB, free: 68.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.216e-05/0.2676, allocations: 42.78 kB / 490.6 MB, free: 68.82 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009837/0.2686, allocations: 0.8511 MB / 491.5 MB, free: 68.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.2686, allocations: 0 / 491.5 MB, free: 68.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00176/0.2703, allocations: 0.5867 MB / 492.1 MB, free: 68.46 MB / 410.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.0009891/0.2713, allocations: 447.6 kB / 492.5 MB, free: 68.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001965/0.2733, allocations: 1.589 MB / 494.1 MB, free: 67.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.2733, allocations: 1.156 kB / 494.1 MB, free: 67.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001287/0.2746, allocations: 1.575 MB / 495.7 MB, free: 66.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/0.2758, allocations: 484.6 kB / 496.1 MB, free: 66.11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006868/0.2826, allocations: 5.084 MB / 0.4895 GB, free: 63.41 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007425/0.2834, allocations: 0.8135 MB / 0.4903 GB, free: 63.14 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007506/0.2841, allocations: 336.8 kB / 0.4906 GB, free: 63.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002556/0.2844, allocations: 130.4 kB / 0.4907 GB, free: 63.05 MB / 410.7 MB Notification: Performance of SimCode: time 1.162e-06/0.2844, allocations: 0 / 0.4907 GB, free: 63.05 MB / 410.7 MB Notification: Performance of Templates: time 0.03437/0.3188, allocations: 28.35 MB / 0.5184 GB, free: 43.38 MB / 410.7 MB " [Timeout remaining time 660] 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: 3.7648046461399645]