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.0009345/0.0009345, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001049/0.001049, allocations: 167.7 kB / 24.99 MB, free: 8.219 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 0.97/0.97, allocations: 177 MB / 205.2 MB, free: 5.527 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.2355/0.2355, allocations: 34.87 MB / 296.6 MB, free: 0.5273 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.303e-06/1.303e-06, allocations: 0 / 378.8 MB, free: 2.332 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.677e-05/1.808e-05, allocations: 2.312 kB / 378.8 MB, free: 2.328 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01149/0.01151, allocations: 14.01 MB / 392.8 MB, free: 4.246 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00663/0.01814, allocations: 5.116 MB / 398 MB, free: 15.11 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009774/0.01912, allocations: 103.4 kB / 398.1 MB, free: 15.01 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001722/0.02084, allocations: 1.122 MB / 399.2 MB, free: 13.88 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00207/0.02291, allocations: 1.475 MB / 400.7 MB, free: 12.4 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001463/0.02437, allocations: 0.9972 MB / 401.7 MB, free: 11.4 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002898/0.02727, allocations: 4.317 MB / 406 MB, free: 7.066 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001656/0.02893, allocations: 1.762 MB / 407.7 MB, free: 5.23 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002734/0.03166, allocations: 2.909 MB / 410.6 MB, free: 2.316 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001747/0.03341, allocations: 2.015 MB / 412.7 MB, free: 304 kB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004615/0.03387, allocations: 0.5079 MB / 413.2 MB, free: 15.79 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008762/0.03474, allocations: 0.765 MB / 413.9 MB, free: 15.02 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006737/0.03542, allocations: 1.204 MB / 415.1 MB, free: 13.82 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001398/0.03682, allocations: 1.466 MB / 416.6 MB, free: 12.35 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002917/0.03973, allocations: 3.563 MB / 420.2 MB, free: 8.773 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.03974, allocations: 0 / 420.2 MB, free: 8.773 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.03974, allocations: 0 / 420.2 MB, free: 8.773 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.332e-05/0.03978, allocations: 0 / 420.2 MB, free: 8.773 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.006135/0.04592, allocations: 4.764 MB / 424.9 MB, free: 3.938 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.04595, allocations: 12.03 kB / 424.9 MB, free: 3.926 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002898/0.04885, allocations: 1.247 MB / 426.2 MB, free: 2.676 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002436/0.05129, allocations: 2.361 MB / 428.6 MB, free: 272 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001183/0.05141, allocations: 250.3 kB / 428.8 MB, free: 20 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003119/0.05172, allocations: 316 kB / 429.1 MB, free: 15.71 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003503/0.05522, allocations: 2.584 MB / 431.7 MB, free: 13.04 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.15e-05/0.05527, allocations: 0 / 431.7 MB, free: 13.04 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002002/0.05547, allocations: 132 kB / 431.8 MB, free: 12.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001078/0.05558, allocations: 154.4 kB / 432 MB, free: 12.75 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002312/0.05789, allocations: 1.232 MB / 433.2 MB, free: 11.51 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01034/0.06823, allocations: 10.58 MB / 443.8 MB, free: 0.625 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1289/0.1971, allocations: 2.05 MB / 445.8 MB, free: 97.56 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001527/0.1987, allocations: 0.9971 MB / 446.8 MB, free: 97.54 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003425/0.2021, allocations: 2.654 MB / 449.5 MB, free: 97.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006219/0.2027, allocations: 0.7056 MB / 450.2 MB, free: 96.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=132): time 2.605e-06/0.2027, allocations: 0 / 450.2 MB, free: 96.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=140): time 0.005773/0.2085, allocations: 4.133 MB / 454.3 MB, free: 95.64 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.2085, allocations: 228.9 kB / 454.5 MB, free: 95.39 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001218/0.2098, allocations: 1.491 MB / 456 MB, free: 94.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.513e-05/0.2098, allocations: 51.61 kB / 456.1 MB, free: 94.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006898/0.2105, allocations: 1.613 MB / 457.7 MB, free: 93.72 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002184/0.2107, allocations: 0.5098 MB / 458.2 MB, free: 93.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002844/0.211, allocations: 330.6 kB / 458.5 MB, free: 93.21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.621e-05/0.211, allocations: 480 kB / 459 MB, free: 92.74 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004088/0.2115, allocations: 255.2 kB / 459.2 MB, free: 92.71 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006035/0.2121, allocations: 1.162 MB / 460.4 MB, free: 91.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/0.2131, allocations: 1.328 MB / 461.7 MB, free: 90.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.467e-06/0.2131, allocations: 6 kB / 461.7 MB, free: 90.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.001764/0.2149, allocations: 1.576 MB / 463.3 MB, free: 89.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.2149, allocations: 13.97 kB / 463.3 MB, free: 89.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.2149, allocations: 12.94 kB / 463.3 MB, free: 89.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005475/0.2155, allocations: 290 kB / 463.6 MB, free: 89.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006948/0.2162, allocations: 370 kB / 464 MB, free: 89.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002692/0.2189, allocations: 6.879 MB / 470.9 MB, free: 83.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006116/0.2195, allocations: 99.86 kB / 471 MB, free: 83.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.559e-05/0.2195, allocations: 75.28 kB / 471 MB, free: 83.34 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.0004635/0.22, allocations: 268.3 kB / 471.3 MB, free: 83.11 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001814/0.2202, allocations: 231.9 kB / 471.5 MB, free: 82.99 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001697/0.2219, allocations: 1.387 MB / 472.9 MB, free: 82.45 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.2219, allocations: 12.41 kB / 472.9 MB, free: 82.45 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/0.2219, allocations: 9.188 kB / 472.9 MB, free: 82.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.789e-06/0.2219, allocations: 10.55 kB / 472.9 MB, free: 82.44 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003633/0.2255, allocations: 3.653 MB / 476.6 MB, free: 80.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.2255, allocations: 0 / 476.6 MB, free: 80.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003984/0.2259, allocations: 181.2 kB / 476.8 MB, free: 80.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008084/0.2268, allocations: 448.8 kB / 477.2 MB, free: 80.61 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.661e-05/0.2268, allocations: 40.05 kB / 477.3 MB, free: 80.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004351/0.2312, allocations: 11.73 MB / 489 MB, free: 69.84 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2312, allocations: 7.219 kB / 489 MB, free: 69.84 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002145/0.2333, allocations: 1.816 MB / 490.8 MB, free: 69.05 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003991/0.2337, allocations: 331.4 kB / 491.1 MB, free: 68.85 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001683/0.2339, allocations: 38.25 kB / 491.2 MB, free: 68.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004266/0.2343, allocations: 66.02 kB / 491.2 MB, free: 68.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001822/0.2345, allocations: 105.8 kB / 491.3 MB, free: 68.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.536e-05/0.2345, allocations: 43.41 kB / 491.4 MB, free: 68.78 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008417/0.2354, allocations: 0.8544 MB / 492.2 MB, free: 68.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2354, allocations: 0 / 492.2 MB, free: 68.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001366/0.2368, allocations: 0.5905 MB / 492.8 MB, free: 68.41 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.0009505/0.2377, allocations: 450.1 kB / 493.3 MB, free: 68.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001696/0.2394, allocations: 1.584 MB / 494.8 MB, free: 67.39 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.2394, allocations: 5.438 kB / 494.8 MB, free: 67.38 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001109/0.2405, allocations: 1.576 MB / 496.4 MB, free: 66.25 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/0.2416, allocations: 476.4 kB / 496.9 MB, free: 66.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006083/0.2477, allocations: 5.093 MB / 0.4902 GB, free: 63.36 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006508/0.2483, allocations: 0.807 MB / 0.491 GB, free: 63.09 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000725/0.2491, allocations: 339.9 kB / 0.4913 GB, free: 63.02 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000265/0.2493, allocations: 132.8 kB / 0.4915 GB, free: 63 MB / 410.7 MB Notification: Performance of SimCode: time 8.12e-07/0.2493, allocations: 0 / 0.4915 GB, free: 63 MB / 410.7 MB Notification: Performance of Templates: time 0.02973/0.2791, allocations: 28.35 MB / 0.5191 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.644215812906623]