Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.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.001037/0.001037, allocations: 91.5 kB / 21.19 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.001539/0.001539, 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.9763/0.9763, allocations: 177 MB / 204.8 MB, free: 5.25 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.3143/0.3143, allocations: 34.86 MB / 296.3 MB, free: 424 kB / 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.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=350,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") translateModel(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=350,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 378.8 MB, free: 1.969 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.027e-05/3.163e-05, allocations: 3.156 kB / 378.8 MB, free: 1.965 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.009005/0.009037, allocations: 9.587 MB / 388.4 MB, free: 8.332 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006352/0.01539, allocations: 3.572 MB / 392 MB, free: 4.75 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001367/0.01676, allocations: 63.56 kB / 392.1 MB, free: 4.688 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001647/0.0184, allocations: 0.7221 MB / 392.8 MB, free: 3.961 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002393/0.0208, allocations: 0.9238 MB / 393.7 MB, free: 3.031 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001011/0.02181, allocations: 458.9 kB / 394.2 MB, free: 2.582 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002395/0.0242, allocations: 2.516 MB / 396.7 MB, free: 60 kB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001052/0.02525, allocations: 1.017 MB / 397.7 MB, free: 15 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001877/0.02713, allocations: 1.653 MB / 399.3 MB, free: 13.34 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001839/0.02897, allocations: 1.309 MB / 400.7 MB, free: 12.03 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000505/0.02947, allocations: 276 kB / 400.9 MB, free: 11.76 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007581/0.03023, allocations: 423.7 kB / 401.3 MB, free: 11.34 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000641/0.03087, allocations: 0.8452 MB / 402.2 MB, free: 10.5 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001013/0.03189, allocations: 0.8925 MB / 403.1 MB, free: 9.602 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002657/0.03454, allocations: 2.11 MB / 405.2 MB, free: 7.484 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.03455, allocations: 0 / 405.2 MB, free: 7.484 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.03455, allocations: 0 / 405.2 MB, free: 7.484 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.215e-05/0.03463, allocations: 0 / 405.2 MB, free: 7.484 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 490 * Number of variables: 490 Notification: Performance of Generate backend data structure: time 0.00453/0.03916, allocations: 2.84 MB / 408 MB, free: 4.594 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/0.03922, allocations: 8.031 kB / 408 MB, free: 4.586 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000752/0.03997, allocations: 451.3 kB / 408.5 MB, free: 4.145 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001612/0.04158, allocations: 1.298 MB / 409.8 MB, free: 2.805 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.537e-05/0.04168, allocations: 147.7 kB / 409.9 MB, free: 2.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000202/0.04188, allocations: 188 kB / 410.1 MB, free: 2.477 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002016/0.04389, allocations: 1.543 MB / 411.6 MB, free: 0.8672 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.835e-05/0.04393, allocations: 7.938 kB / 411.7 MB, free: 0.8594 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001123/0.04404, allocations: 83.98 kB / 411.7 MB, free: 0.7773 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-05/0.04412, allocations: 87.69 kB / 411.8 MB, free: 0.6914 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00128/0.0454, allocations: 0.7086 MB / 412.5 MB, free: 15.98 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006589/0.05199, allocations: 6.098 MB / 418.6 MB, free: 9.691 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008027/0.05279, allocations: 0.6088 MB / 419.2 MB, free: 9.078 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007153/0.05351, allocations: 485.8 kB / 419.7 MB, free: 8.598 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001798/0.05369, allocations: 48.91 kB / 419.8 MB, free: 8.551 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005519/0.05424, allocations: 0.5214 MB / 420.3 MB, free: 7.969 MB / 394.7 MB Notification: Performance of pre-optimization done (n=99): time 2.264e-06/0.05424, allocations: 0 / 420.3 MB, free: 7.969 MB / 394.7 MB Notification: Performance of matching and sorting (n=121): time 0.006424/0.06066, allocations: 3.889 MB / 424.2 MB, free: 4.02 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.308e-05/0.06074, allocations: 171.2 kB / 424.3 MB, free: 3.816 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/0.06176, allocations: 1.135 MB / 425.5 MB, free: 2.672 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.755e-05/0.06181, allocations: 45.7 kB / 425.5 MB, free: 2.621 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005759/0.06239, allocations: 1.043 MB / 426.6 MB, free: 1.566 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002435/0.06263, allocations: 440.2 kB / 427 MB, free: 1.133 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002538/0.06289, allocations: 249.2 kB / 427.2 MB, free: 0.8828 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.06305, allocations: 0.5394 MB / 427.8 MB, free: 344 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003428/0.06339, allocations: 219.9 kB / 428 MB, free: 124 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007468/0.06414, allocations: 0.8111 MB / 428.8 MB, free: 15.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009725/0.06511, allocations: 0.9953 MB / 429.8 MB, free: 13.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.184e-06/0.06512, allocations: 8 kB / 429.8 MB, free: 13.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.00238/0.0675, allocations: 1.319 MB / 431.1 MB, free: 12.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.176e-05/0.06753, allocations: 15.88 kB / 431.1 MB, free: 12.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.779e-05/0.06755, allocations: 12 kB / 431.1 MB, free: 12.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009418/0.06849, allocations: 290.4 kB / 431.4 MB, free: 12.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009541/0.06945, allocations: 299.5 kB / 431.7 MB, free: 11.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005391/0.07484, allocations: 6.679 MB / 438.4 MB, free: 4.891 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/0.07593, allocations: 91.86 kB / 438.5 MB, free: 4.801 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/0.07604, allocations: 55.98 kB / 438.5 MB, free: 4.746 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (148): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {(2,100.0%), (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 {(2,12,100.0%), (1,6,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006786/0.07672, allocations: 242.6 kB / 438.8 MB, free: 4.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003481/0.07706, allocations: 194.9 kB / 439 MB, free: 4.309 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002419/0.07948, allocations: 1.17 MB / 440.1 MB, free: 3.105 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.256e-05/0.0795, allocations: 16 kB / 440.2 MB, free: 3.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.248e-05/0.07951, allocations: 4 kB / 440.2 MB, free: 3.086 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.415e-05/0.07952, allocations: 7.969 kB / 440.2 MB, free: 3.078 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1809/0.2605, allocations: 2.985 MB / 443.2 MB, free: 90.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.548e-05/0.2605, allocations: 5.094 kB / 443.2 MB, free: 90.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006258/0.2611, allocations: 194.5 kB / 443.4 MB, free: 90.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008599/0.262, allocations: 351.8 kB / 443.7 MB, free: 90.27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.58e-05/0.262, allocations: 33.81 kB / 443.7 MB, free: 90.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003345/0.2654, allocations: 8.461 MB / 452.2 MB, free: 82.99 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.2654, allocations: 5.219 kB / 452.2 MB, free: 82.99 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00222/0.2676, allocations: 1.676 MB / 453.9 MB, free: 82.56 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005108/0.2681, allocations: 272.2 kB / 454.1 MB, free: 82.56 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001421/0.2682, allocations: 35.27 kB / 454.2 MB, free: 82.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005326/0.2688, allocations: 69.06 kB / 454.2 MB, free: 82.56 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001817/0.269, allocations: 105.6 kB / 454.3 MB, free: 82.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.316e-05/0.269, allocations: 38.52 kB / 454.4 MB, free: 82.56 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007878/0.2698, allocations: 0.6761 MB / 455.1 MB, free: 82.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2698, allocations: 0 / 455.1 MB, free: 82.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001344/0.2712, allocations: 455 kB / 455.5 MB, free: 82.41 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 7 (aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],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 (105): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,100.0%), (1,6,100.0%), (1,3,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001088/0.2722, allocations: 478.6 kB / 456 MB, free: 82.27 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001993/0.2742, allocations: 1.508 MB / 457.5 MB, free: 81.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.2742, allocations: 0 / 457.5 MB, free: 81.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00139/0.2756, allocations: 1.323 MB / 458.8 MB, free: 80.96 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001248/0.2769, allocations: 373.2 kB / 459.2 MB, free: 80.94 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008206/0.2851, allocations: 3.62 MB / 462.8 MB, free: 79.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004569/0.2855, allocations: 0.518 MB / 463.3 MB, free: 79.2 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006481/0.2862, allocations: 262.8 kB / 463.6 MB, free: 79.15 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002462/0.2864, allocations: 104.4 kB / 463.7 MB, free: 79.15 MB / 410.7 MB Notification: Performance of SimCode: time 1.503e-06/0.2864, allocations: 0 / 463.7 MB, free: 79.15 MB / 410.7 MB Notification: Performance of Templates: time 0.03349/0.3199, allocations: 23.79 MB / 487.4 MB, free: 76.39 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.01081324974075]