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.001368/0.001368, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001516/0.001516, allocations: 170.8 kB / 24.82 MB, free: 9.262 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.893/0.893, allocations: 177 MB / 205.1 MB, free: 5.473 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.2568/0.2568, allocations: 34.87 MB / 296.6 MB, free: 0.5117 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.363e-06/1.363e-06, allocations: 0 / 379.3 MB, free: 1.742 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.184e-05/1.321e-05, allocations: 4.703 kB / 379.3 MB, free: 1.738 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.02489/0.02491, allocations: 13.56 MB / 392.9 MB, free: 4.113 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006173/0.03108, allocations: 5.093 MB / 398 MB, free: 15 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007707/0.03185, allocations: 103.4 kB / 398.1 MB, free: 14.9 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001597/0.03345, allocations: 1.118 MB / 399.2 MB, free: 13.78 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00187/0.03532, allocations: 1.471 MB / 400.7 MB, free: 12.3 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001157/0.03647, allocations: 0.9926 MB / 401.6 MB, free: 11.3 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002589/0.03906, allocations: 4.309 MB / 406 MB, free: 6.98 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001553/0.04062, allocations: 1.758 MB / 407.7 MB, free: 5.148 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002229/0.04285, allocations: 3.006 MB / 410.7 MB, free: 2.137 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001576/0.04442, allocations: 2.011 MB / 412.7 MB, free: 124 kB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004279/0.04485, allocations: 0.5039 MB / 413.2 MB, free: 15.61 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008494/0.0457, allocations: 0.7533 MB / 414 MB, free: 14.86 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006761/0.04637, allocations: 1.184 MB / 415.2 MB, free: 13.68 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009586/0.04733, allocations: 1.454 MB / 416.6 MB, free: 12.22 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002629/0.04996, allocations: 3.536 MB / 420.2 MB, free: 8.672 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.04997, allocations: 0 / 420.2 MB, free: 8.672 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.04997, allocations: 0 / 420.2 MB, free: 8.672 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.149e-05/0.04999, allocations: 0 / 420.2 MB, free: 8.672 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.005025/0.05501, allocations: 4.647 MB / 424.8 MB, free: 3.953 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.83e-05/0.05504, allocations: 8.031 kB / 424.8 MB, free: 3.945 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002356/0.0574, allocations: 1.169 MB / 426 MB, free: 2.773 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002143/0.05954, allocations: 2.271 MB / 428.3 MB, free: 464 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001155/0.05966, allocations: 246.3 kB / 428.5 MB, free: 216 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003098/0.05997, allocations: 324 kB / 428.8 MB, free: 15.89 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002534/0.0625, allocations: 2.377 MB / 431.2 MB, free: 13.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.452e-05/0.06254, allocations: 4 kB / 431.2 MB, free: 13.42 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001799/0.06272, allocations: 128 kB / 431.3 MB, free: 13.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.701e-05/0.06282, allocations: 150.4 kB / 431.5 MB, free: 13.15 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001344/0.06417, allocations: 0.9455 MB / 432.4 MB, free: 12.19 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009273/0.07344, allocations: 10.5 MB / 442.9 MB, free: 1.383 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1407/0.2141, allocations: 1.895 MB / 444.8 MB, free: 78.04 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00124/0.2154, allocations: 0.9109 MB / 445.7 MB, free: 78.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003078/0.2184, allocations: 2.576 MB / 448.3 MB, free: 77.63 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004766/0.2189, allocations: 0.6718 MB / 449 MB, free: 77.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=132): time 2.175e-06/0.2189, allocations: 0 / 449 MB, free: 77.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=140): time 0.004426/0.2233, allocations: 3.443 MB / 452.4 MB, free: 76.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.757e-05/0.2234, allocations: 224.8 kB / 452.6 MB, free: 76.55 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/0.2244, allocations: 1.453 MB / 454.1 MB, free: 76.28 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.439e-05/0.2245, allocations: 50.23 kB / 454.1 MB, free: 76.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007298/0.2252, allocations: 1.641 MB / 455.8 MB, free: 75.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002077/0.2254, allocations: 0.5106 MB / 456.3 MB, free: 75.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002824/0.2257, allocations: 344.3 kB / 456.6 MB, free: 75.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.603e-05/0.2257, allocations: 476.8 kB / 457.1 MB, free: 74.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002359/0.2259, allocations: 193.5 kB / 457.3 MB, free: 74.87 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004355/0.2264, allocations: 1.132 MB / 458.4 MB, free: 73.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007774/0.2272, allocations: 1.24 MB / 459.6 MB, free: 72.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.2272, allocations: 2.906 kB / 459.6 MB, free: 72.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=221) (initialization): time 0.001378/0.2285, allocations: 1.448 MB / 461.1 MB, free: 72.67 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.2286, allocations: 16.06 kB / 461.1 MB, free: 72.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/0.2286, allocations: 15.53 kB / 461.1 MB, free: 72.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004477/0.229, allocations: 277.4 kB / 461.4 MB, free: 72.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006136/0.2296, allocations: 369 kB / 461.8 MB, free: 72.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002367/0.232, allocations: 6.728 MB / 468.5 MB, free: 66.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005181/0.2325, allocations: 82.86 kB / 468.6 MB, free: 66.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-05/0.2326, allocations: 68.16 kB / 468.6 MB, free: 66.97 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * 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 (195): * Single equations (assignments): 191 * 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.0004333/0.233, allocations: 266.9 kB / 468.9 MB, free: 66.81 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001665/0.2332, allocations: 235.4 kB / 469.1 MB, free: 66.71 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001287/0.2345, allocations: 1.275 MB / 470.4 MB, free: 66.52 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.2345, allocations: 12.62 kB / 470.4 MB, free: 66.52 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/0.2345, allocations: 10.81 kB / 470.4 MB, free: 66.51 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.2345, allocations: 6.656 kB / 470.4 MB, free: 66.51 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002786/0.2373, allocations: 2.979 MB / 473.4 MB, free: 65.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.2373, allocations: 0 / 473.4 MB, free: 65.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003467/0.2376, allocations: 168.8 kB / 473.6 MB, free: 65.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006824/0.2383, allocations: 435.3 kB / 474 MB, free: 65.75 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.902e-05/0.2384, allocations: 39.77 kB / 474 MB, free: 65.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003726/0.2421, allocations: 11.48 MB / 485.5 MB, free: 55.32 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2421, allocations: 6.688 kB / 485.5 MB, free: 55.32 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001565/0.2437, allocations: 1.664 MB / 487.2 MB, free: 54.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003263/0.244, allocations: 314.5 kB / 487.5 MB, free: 54.46 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001218/0.2441, allocations: 39.2 kB / 487.5 MB, free: 54.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003576/0.2445, allocations: 55.44 kB / 487.6 MB, free: 54.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/0.2446, allocations: 101.6 kB / 487.7 MB, free: 54.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.37e-05/0.2447, allocations: 34.41 kB / 487.7 MB, free: 54.39 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000512/0.2452, allocations: 0.7771 MB / 488.5 MB, free: 54.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2452, allocations: 0 / 488.5 MB, free: 54.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001187/0.2464, allocations: 0.584 MB / 489.1 MB, free: 54.13 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.0008687/0.2472, allocations: 457.2 kB / 489.5 MB, free: 53.94 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001336/0.2486, allocations: 1.491 MB / 491 MB, free: 53.24 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2486, allocations: 1.25 kB / 491 MB, free: 53.24 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001007/0.2496, allocations: 1.515 MB / 492.5 MB, free: 52.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/0.2506, allocations: 474.7 kB / 493 MB, free: 52 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005805/0.2564, allocations: 5.042 MB / 498 MB, free: 49.37 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006811/0.2571, allocations: 0.8145 MB / 498.8 MB, free: 49.09 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006098/0.2577, allocations: 258.2 kB / 499.1 MB, free: 49.01 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007718/0.2585, allocations: 0.5075 MB / 499.6 MB, free: 48.93 MB / 410.7 MB Notification: Performance of SimCode: time 5.11e-07/0.2585, allocations: 0 / 499.6 MB, free: 48.93 MB / 410.7 MB Notification: Performance of Templates: time 0.03515/0.2937, allocations: 30.02 MB / 0.5172 GB, free: 34.63 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.4830326749943197]