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.00134/0.00134, allocations: 79.69 kB / 21.7 MB, free: 2.844 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.001021/0.001021, allocations: 157.9 kB / 24.99 MB, free: 8.246 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.9411/0.9411, allocations: 177 MB / 205.2 MB, free: 5.578 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.2585/0.2585, allocations: 34.87 MB / 296.6 MB, free: 0.5664 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.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.794e-06/1.794e-06, allocations: 0 / 378.8 MB, free: 2.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.553e-05/2.732e-05, allocations: 2.312 kB / 378.8 MB, free: 2.316 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.008083/0.00811, allocations: 9.539 MB / 388.4 MB, free: 8.73 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005083/0.01319, allocations: 3.564 MB / 391.9 MB, free: 5.156 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001028/0.01422, allocations: 63.56 kB / 392 MB, free: 5.094 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001535/0.01576, allocations: 0.726 MB / 392.7 MB, free: 4.363 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002009/0.01777, allocations: 0.9122 MB / 393.6 MB, free: 3.445 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008387/0.0186, allocations: 474.8 kB / 394.1 MB, free: 2.98 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002136/0.02074, allocations: 2.513 MB / 396.6 MB, free: 468 kB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001093/0.02183, allocations: 1.017 MB / 397.6 MB, free: 15.39 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002185/0.02402, allocations: 1.649 MB / 399.3 MB, free: 13.74 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001611/0.02563, allocations: 1.306 MB / 400.6 MB, free: 12.43 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005/0.02613, allocations: 280 kB / 400.9 MB, free: 12.16 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006017/0.02673, allocations: 419.6 kB / 401.3 MB, free: 11.75 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005409/0.02727, allocations: 0.853 MB / 402.1 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001006/0.02828, allocations: 0.8886 MB / 403 MB, free: 10 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002066/0.03035, allocations: 2.11 MB / 405.1 MB, free: 7.887 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.03035, allocations: 0 / 405.1 MB, free: 7.887 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.03035, allocations: 0 / 405.1 MB, free: 7.887 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.424e-05/0.03041, allocations: 0 / 405.1 MB, free: 7.887 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.003514/0.03393, allocations: 2.836 MB / 408 MB, free: 5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.03397, allocations: 8.031 kB / 408 MB, free: 4.992 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008224/0.03479, allocations: 455.2 kB / 408.4 MB, free: 4.547 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001455/0.03624, allocations: 1.294 MB / 409.7 MB, free: 3.211 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.831e-05/0.03632, allocations: 147.7 kB / 409.9 MB, free: 3.066 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001783/0.0365, allocations: 195.9 kB / 410 MB, free: 2.875 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001927/0.03843, allocations: 1.539 MB / 411.6 MB, free: 1.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.518e-05/0.03847, allocations: 11.89 kB / 411.6 MB, free: 1.258 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000114/0.03859, allocations: 79.94 kB / 411.7 MB, free: 1.18 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.888e-05/0.03867, allocations: 95.67 kB / 411.8 MB, free: 1.086 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001404/0.04007, allocations: 0.7008 MB / 412.5 MB, free: 392 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008421/0.04849, allocations: 6.098 MB / 418.6 MB, free: 10.09 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001083/0.04957, allocations: 0.6075 MB / 419.2 MB, free: 9.484 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009168/0.05049, allocations: 481.4 kB / 419.6 MB, free: 9.008 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001625/0.05065, allocations: 48.91 kB / 419.7 MB, free: 8.961 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007397/0.05139, allocations: 0.5331 MB / 420.2 MB, free: 8.367 MB / 394.7 MB Notification: Performance of pre-optimization done (n=99): time 2.746e-06/0.0514, allocations: 0 / 420.2 MB, free: 8.367 MB / 394.7 MB Notification: Performance of matching and sorting (n=121): time 0.006523/0.05792, allocations: 3.889 MB / 424.1 MB, free: 4.418 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.916e-05/0.05799, allocations: 175.2 kB / 424.3 MB, free: 4.211 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/0.05904, allocations: 1.131 MB / 425.4 MB, free: 3.07 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.06e-05/0.0591, allocations: 45.7 kB / 425.5 MB, free: 3.02 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000578/0.05968, allocations: 1.043 MB / 426.5 MB, free: 1.965 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002387/0.05992, allocations: 440.3 kB / 426.9 MB, free: 1.531 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000249/0.06017, allocations: 245.2 kB / 427.2 MB, free: 1.285 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.06031, allocations: 0.5394 MB / 427.7 MB, free: 0.7383 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003687/0.06068, allocations: 223.8 kB / 427.9 MB, free: 0.5195 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000615/0.0613, allocations: 0.8073 MB / 428.7 MB, free: 15.48 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009851/0.06228, allocations: 0.9991 MB / 429.7 MB, free: 14.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.06229, allocations: 7.938 kB / 429.7 MB, free: 14.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.001763/0.06405, allocations: 1.322 MB / 431.1 MB, free: 12.95 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.06407, allocations: 11.94 kB / 431.1 MB, free: 12.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.06408, allocations: 12 kB / 431.1 MB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006641/0.06474, allocations: 286.4 kB / 431.4 MB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005829/0.06533, allocations: 299.5 kB / 431.7 MB, free: 12.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003499/0.06883, allocations: 6.679 MB / 438.3 MB, free: 5.293 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004632/0.06929, allocations: 91.88 kB / 438.4 MB, free: 5.203 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.905e-05/0.06936, allocations: 59.98 kB / 438.5 MB, free: 5.145 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.0003483/0.06971, allocations: 240.2 kB / 438.7 MB, free: 4.898 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001885/0.0699, allocations: 194.9 kB / 438.9 MB, free: 4.707 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001599/0.07149, allocations: 1.162 MB / 440.1 MB, free: 3.512 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.0715, allocations: 12 kB / 440.1 MB, free: 3.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.07151, allocations: 8 kB / 440.1 MB, free: 3.492 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.07152, allocations: 7.969 kB / 440.1 MB, free: 3.484 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003502/0.07502, allocations: 2.99 MB / 443.1 MB, free: 396 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.124e-06/0.07503, allocations: 8 kB / 443.1 MB, free: 388 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004326/0.07546, allocations: 195.6 kB / 443.3 MB, free: 192 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1392/0.2147, allocations: 356.5 kB / 443.6 MB, free: 97.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001966/0.2149, allocations: 30.72 kB / 443.7 MB, free: 97.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004066/0.219, allocations: 8.458 MB / 452.1 MB, free: 90.42 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.219, allocations: 3 kB / 452.1 MB, free: 90.42 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002545/0.2215, allocations: 1.684 MB / 453.8 MB, free: 89.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004931/0.222, allocations: 268.4 kB / 454.1 MB, free: 89.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001589/0.2222, allocations: 30.53 kB / 454.1 MB, free: 89.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005323/0.2227, allocations: 72.28 kB / 454.2 MB, free: 89.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001916/0.2229, allocations: 107.2 kB / 454.3 MB, free: 89.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.078e-05/0.223, allocations: 39.34 kB / 454.3 MB, free: 89.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007684/0.2237, allocations: 0.6727 MB / 455 MB, free: 89.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2237, allocations: 0 / 455 MB, free: 89.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001325/0.225, allocations: 451.9 kB / 455.4 MB, free: 89.82 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.001051/0.2261, allocations: 475.1 kB / 455.9 MB, free: 89.67 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001859/0.228, allocations: 1.516 MB / 457.4 MB, free: 89.04 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.228, allocations: 2.875 kB / 457.4 MB, free: 89.04 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00117/0.2291, allocations: 1.311 MB / 458.7 MB, free: 88.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001209/0.2303, allocations: 376.3 kB / 459.1 MB, free: 88.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004731/0.2351, allocations: 3.619 MB / 462.7 MB, free: 86.38 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003702/0.2354, allocations: 0.5191 MB / 463.2 MB, free: 86.21 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004765/0.2359, allocations: 256 kB / 463.5 MB, free: 86.17 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001885/0.2361, allocations: 106.2 kB / 463.6 MB, free: 86.16 MB / 410.7 MB Notification: Performance of SimCode: time 8.31e-07/0.2361, allocations: 0 / 463.6 MB, free: 86.16 MB / 410.7 MB Notification: Performance of Templates: time 0.02965/0.2658, allocations: 23.78 MB / 487.4 MB, free: 82.44 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: 3.651486384915188]