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.001091/0.001091, allocations: 91.5 kB / 20.93 MB, free: 3.613 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.001156/0.001156, allocations: 156.5 kB / 24.23 MB, free: 328 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 1.021/1.021, allocations: 177 MB / 204.5 MB, free: 5.609 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.2679/0.2679, allocations: 34.87 MB / 295.8 MB, free: 0.5742 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.262e-06/1.262e-06, allocations: 0 / 378.1 MB, free: 2.332 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.954e-05/2.08e-05, allocations: 7.016 kB / 378.1 MB, free: 2.324 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.008147/0.008168, allocations: 9.537 MB / 387.6 MB, free: 8.742 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004724/0.01289, allocations: 3.568 MB / 391.2 MB, free: 5.164 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005001/0.01339, allocations: 63.56 kB / 391.2 MB, free: 5.102 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001137/0.01453, allocations: 0.7182 MB / 392 MB, free: 4.379 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001233/0.01576, allocations: 0.9161 MB / 392.9 MB, free: 3.457 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000565/0.01633, allocations: 470.8 kB / 393.3 MB, free: 2.996 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00155/0.01788, allocations: 2.513 MB / 395.9 MB, free: 484 kB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009071/0.01878, allocations: 1.017 MB / 396.9 MB, free: 15.41 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001545/0.02033, allocations: 1.649 MB / 398.5 MB, free: 13.76 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001132/0.02146, allocations: 1.306 MB / 399.8 MB, free: 12.45 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002447/0.02171, allocations: 280 kB / 400.1 MB, free: 12.18 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005044/0.02221, allocations: 419.6 kB / 400.5 MB, free: 11.77 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005122/0.02272, allocations: 0.853 MB / 401.4 MB, free: 10.91 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006195/0.02334, allocations: 0.8886 MB / 402.3 MB, free: 10.02 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001955/0.0253, allocations: 2.114 MB / 404.4 MB, free: 7.898 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.0253, allocations: 0 / 404.4 MB, free: 7.898 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.0253, allocations: 0 / 404.4 MB, free: 7.898 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.874e-05/0.02532, allocations: 0 / 404.4 MB, free: 7.898 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.002845/0.02817, allocations: 2.832 MB / 407.2 MB, free: 5.016 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.0282, allocations: 8.031 kB / 407.2 MB, free: 5.008 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006648/0.02887, allocations: 451.2 kB / 407.6 MB, free: 4.566 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001344/0.03021, allocations: 1.302 MB / 408.9 MB, free: 3.223 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.464e-05/0.03029, allocations: 143.7 kB / 409.1 MB, free: 3.082 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001845/0.03047, allocations: 200 kB / 409.3 MB, free: 2.887 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001807/0.03228, allocations: 1.539 MB / 410.8 MB, free: 1.281 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.023e-05/0.03232, allocations: 11.94 kB / 410.8 MB, free: 1.27 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000112/0.03243, allocations: 76 kB / 410.9 MB, free: 1.195 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.004e-05/0.03251, allocations: 91.67 kB / 411 MB, free: 1.105 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001272/0.03378, allocations: 0.7008 MB / 411.7 MB, free: 412 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005408/0.03919, allocations: 6.106 MB / 417.8 MB, free: 10.11 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007513/0.03994, allocations: 0.6013 MB / 418.4 MB, free: 9.5 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009064/0.04085, allocations: 485.4 kB / 418.9 MB, free: 9.02 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001323/0.04098, allocations: 48.91 kB / 418.9 MB, free: 8.973 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004951/0.04147, allocations: 0.5253 MB / 419.5 MB, free: 8.387 MB / 394.7 MB Notification: Performance of pre-optimization done (n=99): time 2.185e-06/0.04148, allocations: 0 / 419.5 MB, free: 8.387 MB / 394.7 MB Notification: Performance of matching and sorting (n=121): time 0.005586/0.04706, allocations: 3.893 MB / 423.3 MB, free: 4.434 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.285e-05/0.04713, allocations: 175.2 kB / 423.5 MB, free: 4.227 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009648/0.04809, allocations: 1.138 MB / 424.7 MB, free: 3.078 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.483e-05/0.04815, allocations: 45.7 kB / 424.7 MB, free: 3.027 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005097/0.04865, allocations: 1.039 MB / 425.7 MB, free: 1.977 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000493/0.04915, allocations: 440.3 kB / 426.2 MB, free: 1.543 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002474/0.0494, allocations: 249.2 kB / 426.4 MB, free: 1.293 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.04954, allocations: 0.5394 MB / 427 MB, free: 0.7461 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003429/0.04988, allocations: 219.8 kB / 427.2 MB, free: 0.5312 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006177/0.0505, allocations: 0.815 MB / 428 MB, free: 15.49 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009675/0.05147, allocations: 0.9953 MB / 429 MB, free: 14.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.05147, allocations: 4 kB / 429 MB, free: 14.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.001621/0.05309, allocations: 1.319 MB / 430.3 MB, free: 12.96 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.05311, allocations: 11.94 kB / 430.3 MB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.05313, allocations: 12 kB / 430.3 MB, free: 12.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008362/0.05396, allocations: 293.7 kB / 430.6 MB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007909/0.05475, allocations: 299.5 kB / 430.9 MB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004234/0.05899, allocations: 6.687 MB / 437.6 MB, free: 5.297 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008712/0.05986, allocations: 87.88 kB / 437.7 MB, free: 5.211 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.5e-05/0.05993, allocations: 55.98 kB / 437.7 MB, free: 5.156 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.0004554/0.06039, allocations: 240.3 kB / 438 MB, free: 4.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002484/0.06064, allocations: 194.9 kB / 438.2 MB, free: 4.719 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001635/0.06227, allocations: 1.162 MB / 439.3 MB, free: 3.523 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.06228, allocations: 12 kB / 439.3 MB, free: 3.512 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.06229, allocations: 8 kB / 439.3 MB, free: 3.504 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.0623, allocations: 7.969 kB / 439.3 MB, free: 3.496 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00449/0.06679, allocations: 2.99 MB / 442.3 MB, free: 408 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.246e-06/0.0668, allocations: 8 kB / 442.3 MB, free: 400 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000579/0.06738, allocations: 191.8 kB / 442.5 MB, free: 208 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1943/0.2617, allocations: 353.4 kB / 442.9 MB, free: 97.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002376/0.2619, allocations: 37.23 kB / 442.9 MB, free: 97.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003334/0.2653, allocations: 8.455 MB / 451.4 MB, free: 90.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.2653, allocations: 6.219 kB / 451.4 MB, free: 90.41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002072/0.2673, allocations: 1.679 MB / 453.1 MB, free: 89.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003922/0.2677, allocations: 268.9 kB / 453.3 MB, free: 89.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001302/0.2679, allocations: 33.98 kB / 453.3 MB, free: 89.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003845/0.2683, allocations: 64.16 kB / 453.4 MB, free: 89.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000178/0.2684, allocations: 103.2 kB / 453.5 MB, free: 89.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.246e-05/0.2685, allocations: 40.91 kB / 453.6 MB, free: 89.97 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006281/0.2691, allocations: 0.6778 MB / 454.2 MB, free: 89.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2691, allocations: 0 / 454.2 MB, free: 89.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001028/0.2701, allocations: 458.7 kB / 454.7 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.0009854/0.2711, allocations: 474.5 kB / 455.1 MB, free: 89.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001583/0.2727, allocations: 1.52 MB / 456.7 MB, free: 89.05 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.2727, allocations: 0 / 456.7 MB, free: 89.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009841/0.2737, allocations: 1.307 MB / 458 MB, free: 88.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009305/0.2746, allocations: 377 kB / 458.3 MB, free: 88.29 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004372/0.279, allocations: 3.617 MB / 462 MB, free: 86.38 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004017/0.2794, allocations: 0.5157 MB / 462.5 MB, free: 86.21 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005444/0.2799, allocations: 260 kB / 462.7 MB, free: 86.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001974/0.2801, allocations: 102 kB / 462.8 MB, free: 86.16 MB / 410.7 MB Notification: Performance of SimCode: time 1.032e-06/0.2801, allocations: 0 / 462.8 MB, free: 86.16 MB / 410.7 MB Notification: Performance of Templates: time 0.02866/0.3088, allocations: 23.79 MB / 486.6 MB, free: 82.5 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.8650771249085665]