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.0009862/0.0009862, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.0009923/0.0009923, allocations: 156.5 kB / 24.55 MB, free: 20 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.9506/0.9506, allocations: 177 MB / 204.8 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.242/0.242, allocations: 34.87 MB / 296.3 MB, free: 0.5391 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 2.013e-06/2.013e-06, allocations: 3.938 kB / 378.9 MB, free: 2 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.277e-05/3.478e-05, allocations: 2.312 kB / 378.9 MB, free: 1.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01718/0.01722, allocations: 14.09 MB / 392.9 MB, free: 3.844 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01247/0.02968, allocations: 5.136 MB / 398.1 MB, free: 14.69 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003695/0.03338, allocations: 103.4 kB / 398.2 MB, free: 14.59 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004255/0.03763, allocations: 1.118 MB / 399.3 MB, free: 13.46 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005851/0.04348, allocations: 1.479 MB / 400.8 MB, free: 11.98 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002197/0.04568, allocations: 0.9894 MB / 401.8 MB, free: 10.98 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004131/0.04981, allocations: 4.323 MB / 406.1 MB, free: 6.645 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002013/0.05183, allocations: 1.758 MB / 407.8 MB, free: 4.812 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003512/0.05534, allocations: 2.901 MB / 410.7 MB, free: 1.898 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002503/0.05784, allocations: 2.031 MB / 412.8 MB, free: 15.86 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005276/0.05837, allocations: 0.5039 MB / 413.3 MB, free: 15.36 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001284/0.05965, allocations: 0.7651 MB / 414 MB, free: 14.59 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007143/0.06037, allocations: 1.2 MB / 415.2 MB, free: 13.39 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001169/0.06154, allocations: 1.473 MB / 416.7 MB, free: 11.91 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003105/0.06464, allocations: 3.555 MB / 420.3 MB, free: 8.348 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.06465, allocations: 0 / 420.3 MB, free: 8.348 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.06465, allocations: 0 / 420.3 MB, free: 8.348 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.477e-05/0.06467, allocations: 4 kB / 420.3 MB, free: 8.344 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.005655/0.07033, allocations: 4.768 MB / 425 MB, free: 3.504 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.07037, allocations: 8.031 kB / 425.1 MB, free: 3.496 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00257/0.07294, allocations: 1.251 MB / 426.3 MB, free: 2.242 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002451/0.07539, allocations: 2.357 MB / 428.7 MB, free: 15.83 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001233/0.07552, allocations: 250.3 kB / 428.9 MB, free: 15.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000311/0.07583, allocations: 320 kB / 429.2 MB, free: 15.28 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003282/0.07911, allocations: 2.588 MB / 431.8 MB, free: 12.6 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.861e-05/0.07916, allocations: 4 kB / 431.8 MB, free: 12.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002/0.07936, allocations: 128 kB / 431.9 MB, free: 12.47 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001141/0.07947, allocations: 150.4 kB / 432.1 MB, free: 12.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002236/0.08171, allocations: 1.236 MB / 433.3 MB, free: 11.07 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01014/0.09185, allocations: 10.57 MB / 443.9 MB, free: 196 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1712/0.263, allocations: 2.051 MB / 445.9 MB, free: 77.56 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001308/0.2643, allocations: 0.9921 MB / 446.9 MB, free: 77.54 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00349/0.2678, allocations: 2.65 MB / 449.6 MB, free: 77.15 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006209/0.2684, allocations: 0.7079 MB / 450.3 MB, free: 76.81 MB / 410.7 MB Notification: Performance of pre-optimization done (n=132): time 2.745e-06/0.2684, allocations: 0 / 450.3 MB, free: 76.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=140): time 0.005838/0.2743, allocations: 4.136 MB / 454.4 MB, free: 76 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/0.2743, allocations: 232.6 kB / 454.7 MB, free: 75.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001463/0.2758, allocations: 1.493 MB / 456.1 MB, free: 75.48 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.376e-05/0.2759, allocations: 52.2 kB / 456.2 MB, free: 75.45 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007471/0.2766, allocations: 1.614 MB / 457.8 MB, free: 74.85 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002124/0.2768, allocations: 0.5083 MB / 458.3 MB, free: 74.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003154/0.2771, allocations: 335.8 kB / 458.7 MB, free: 74.55 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.69e-05/0.2772, allocations: 476.8 kB / 459.1 MB, free: 74.08 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003922/0.2776, allocations: 251.2 kB / 459.4 MB, free: 74.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006125/0.2782, allocations: 1.165 MB / 460.5 MB, free: 72.97 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001059/0.2792, allocations: 1.313 MB / 461.8 MB, free: 72.15 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.2792, allocations: 11.03 kB / 461.9 MB, free: 72.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.001765/0.281, allocations: 1.578 MB / 463.4 MB, free: 71.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.281, allocations: 13.47 kB / 463.4 MB, free: 71.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.281, allocations: 15.97 kB / 463.5 MB, free: 71.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005253/0.2816, allocations: 290.8 kB / 463.7 MB, free: 71.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006969/0.2823, allocations: 369.2 kB / 464.1 MB, free: 71.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00275/0.285, allocations: 6.87 MB / 471 MB, free: 66.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005535/0.2856, allocations: 93.5 kB / 471.1 MB, free: 66.03 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.517e-05/0.2856, allocations: 71.44 kB / 471.1 MB, free: 66.01 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.0004696/0.2861, allocations: 279.7 kB / 471.4 MB, free: 65.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000181/0.2863, allocations: 232.1 kB / 471.6 MB, free: 65.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001704/0.288, allocations: 1.389 MB / 473 MB, free: 65.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.288, allocations: 12.91 kB / 473 MB, free: 65.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.288, allocations: 6.375 kB / 473 MB, free: 65.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/0.288, allocations: 10.17 kB / 473.1 MB, free: 65.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003767/0.2918, allocations: 3.655 MB / 476.7 MB, free: 63.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.2918, allocations: 0 / 476.7 MB, free: 63.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000407/0.2922, allocations: 180.5 kB / 476.9 MB, free: 63.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007755/0.293, allocations: 450.4 kB / 477.3 MB, free: 63.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.014e-05/0.293, allocations: 43.09 kB / 477.4 MB, free: 63.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004452/0.2975, allocations: 11.72 MB / 489.1 MB, free: 52.67 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.2975, allocations: 5.375 kB / 489.1 MB, free: 52.67 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002202/0.2997, allocations: 1.82 MB / 490.9 MB, free: 51.91 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000392/0.3001, allocations: 334.5 kB / 491.2 MB, free: 51.71 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001391/0.3002, allocations: 36.53 kB / 491.3 MB, free: 51.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004045/0.3006, allocations: 70.52 kB / 491.3 MB, free: 51.66 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000153/0.3008, allocations: 104.4 kB / 491.4 MB, free: 51.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.484e-05/0.3008, allocations: 39.12 kB / 491.5 MB, free: 51.64 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008547/0.3017, allocations: 0.8538 MB / 492.3 MB, free: 51.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3017, allocations: 0 / 492.3 MB, free: 51.34 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001495/0.3032, allocations: 0.5908 MB / 492.9 MB, free: 51.28 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.001052/0.3042, allocations: 456.6 kB / 493.4 MB, free: 51.08 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001746/0.306, allocations: 1.589 MB / 495 MB, free: 50.31 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.306, allocations: 5.25 kB / 495 MB, free: 50.31 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001178/0.3072, allocations: 1.563 MB / 496.5 MB, free: 49.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001137/0.3083, allocations: 470.2 kB / 497 MB, free: 49.04 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006104/0.3144, allocations: 5.099 MB / 0.4903 GB, free: 46.36 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006373/0.315, allocations: 0.8183 MB / 0.4911 GB, free: 46.07 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000628/0.3157, allocations: 327.9 kB / 0.4914 GB, free: 46.01 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002217/0.3159, allocations: 134.4 kB / 0.4916 GB, free: 45.99 MB / 410.7 MB Notification: Performance of SimCode: time 8.72e-07/0.3159, allocations: 0 / 0.4916 GB, free: 45.99 MB / 410.7 MB Notification: Performance of Templates: time 0.03632/0.3522, allocations: 28.34 MB / 0.5192 GB, free: 31.49 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.861023002769798]