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.001452/0.001452, allocations: 87.67 kB / 21.19 MB, free: 3.367 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.001871/0.001871, allocations: 156.5 kB / 24.55 MB, free: 12 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.051/1.051, allocations: 177 MB / 204.8 MB, free: 5.582 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.2899/0.2899, allocations: 34.86 MB / 296.3 MB, free: 0.5508 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.754e-06/1.754e-06, allocations: 0 / 378.8 MB, free: 2.004 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.549e-05/2.724e-05, allocations: 2.312 kB / 378.8 MB, free: 2 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01035/0.01038, allocations: 9.586 MB / 388.4 MB, free: 8.367 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006597/0.01698, allocations: 3.583 MB / 392 MB, free: 4.773 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00154/0.01852, allocations: 59.62 kB / 392.1 MB, free: 4.715 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001654/0.02017, allocations: 0.7259 MB / 392.8 MB, free: 3.984 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002553/0.02272, allocations: 0.92 MB / 393.7 MB, free: 3.059 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001127/0.02385, allocations: 470.8 kB / 394.2 MB, free: 2.598 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002983/0.02683, allocations: 2.513 MB / 396.7 MB, free: 76 kB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00128/0.02811, allocations: 1.025 MB / 397.7 MB, free: 15 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002774/0.03089, allocations: 1.789 MB / 399.5 MB, free: 13.21 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00177/0.03266, allocations: 1.255 MB / 400.8 MB, free: 11.95 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007316/0.03339, allocations: 272 kB / 401 MB, free: 11.69 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006952/0.03408, allocations: 411.7 kB / 401.4 MB, free: 11.29 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008473/0.03493, allocations: 0.814 MB / 402.2 MB, free: 10.47 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001451/0.03638, allocations: 0.8652 MB / 403.1 MB, free: 9.602 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002581/0.03896, allocations: 2.091 MB / 405.2 MB, free: 7.504 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.03897, allocations: 0 / 405.2 MB, free: 7.504 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.03897, allocations: 0 / 405.2 MB, free: 7.504 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.118e-05/0.03906, allocations: 0 / 405.2 MB, free: 7.504 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.003993/0.04305, allocations: 2.777 MB / 408 MB, free: 4.676 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.04309, allocations: 8.031 kB / 408 MB, free: 4.668 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007737/0.04387, allocations: 443.3 kB / 408.4 MB, free: 4.234 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001763/0.04563, allocations: 1.314 MB / 409.7 MB, free: 2.879 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.941e-05/0.04572, allocations: 139.7 kB / 409.9 MB, free: 2.742 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001944/0.04592, allocations: 199.9 kB / 410.1 MB, free: 2.547 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002136/0.04805, allocations: 1.535 MB / 411.6 MB, free: 0.9453 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.754e-05/0.0481, allocations: 11.95 kB / 411.6 MB, free: 0.9336 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001063/0.04821, allocations: 72 kB / 411.7 MB, free: 0.8633 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.279e-05/0.04829, allocations: 95.67 kB / 411.8 MB, free: 0.7695 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00133/0.04962, allocations: 0.6968 MB / 412.5 MB, free: 72 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006555/0.05617, allocations: 6.008 MB / 418.5 MB, free: 9.871 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008733/0.05705, allocations: 0.6194 MB / 419.1 MB, free: 9.246 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006853/0.05773, allocations: 485.4 kB / 419.6 MB, free: 8.766 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001579/0.05789, allocations: 56.91 kB / 419.6 MB, free: 8.711 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005324/0.05842, allocations: 0.5175 MB / 420.1 MB, free: 8.133 MB / 394.7 MB Notification: Performance of pre-optimization done (n=99): time 2.524e-06/0.05842, allocations: 0 / 420.1 MB, free: 8.133 MB / 394.7 MB Notification: Performance of matching and sorting (n=121): time 0.00618/0.0646, allocations: 3.79 MB / 423.9 MB, free: 4.285 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.061e-05/0.06468, allocations: 171.2 kB / 424.1 MB, free: 4.082 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0011/0.06578, allocations: 1.143 MB / 425.2 MB, free: 2.93 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.891e-05/0.06583, allocations: 45.7 kB / 425.3 MB, free: 2.879 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006402/0.06647, allocations: 1.046 MB / 426.3 MB, free: 1.82 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002908/0.06677, allocations: 440.3 kB / 426.8 MB, free: 1.387 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002631/0.06703, allocations: 249.2 kB / 427 MB, free: 1.137 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.06718, allocations: 0.5394 MB / 427.5 MB, free: 0.5898 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003738/0.06756, allocations: 219.9 kB / 427.8 MB, free: 384 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006895/0.06825, allocations: 0.827 MB / 428.6 MB, free: 15.32 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001131/0.06938, allocations: 1.01 MB / 429.6 MB, free: 14.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.857e-06/0.06939, allocations: 3.938 kB / 429.6 MB, free: 14.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.002491/0.07188, allocations: 1.338 MB / 430.9 MB, free: 12.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.125e-05/0.07191, allocations: 11.94 kB / 431 MB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.78e-05/0.07193, allocations: 8 kB / 431 MB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007436/0.07267, allocations: 286.4 kB / 431.2 MB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006553/0.07332, allocations: 291.5 kB / 431.5 MB, free: 12.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004647/0.07797, allocations: 6.682 MB / 438.2 MB, free: 5.098 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007637/0.07873, allocations: 87.89 kB / 438.3 MB, free: 5.012 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.676e-05/0.07881, allocations: 52 kB / 438.3 MB, free: 4.961 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (150): * Single equations (assignments): 145 * 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.0005627/0.07937, allocations: 248.2 kB / 438.6 MB, free: 4.707 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002884/0.07966, allocations: 199 kB / 438.8 MB, free: 4.512 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001605/0.08127, allocations: 1.155 MB / 439.9 MB, free: 3.324 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.08128, allocations: 12 kB / 439.9 MB, free: 3.312 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.08129, allocations: 7.938 kB / 440 MB, free: 3.305 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.0813, allocations: 3.984 kB / 440 MB, free: 3.301 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004085/0.08538, allocations: 2.963 MB / 442.9 MB, free: 236 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.08539, allocations: 4 kB / 442.9 MB, free: 232 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005241/0.08591, allocations: 187.7 kB / 443.1 MB, free: 44 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.172/0.258, allocations: 341.3 kB / 443.4 MB, free: 90.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001627/0.2581, allocations: 35.72 kB / 443.5 MB, free: 90.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003471/0.2616, allocations: 8.381 MB / 451.9 MB, free: 83.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.2616, allocations: 3.422 kB / 451.9 MB, free: 83.4 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002162/0.2638, allocations: 1.671 MB / 453.5 MB, free: 82.97 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004835/0.2642, allocations: 260.5 kB / 453.8 MB, free: 82.97 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001487/0.2644, allocations: 33.19 kB / 453.8 MB, free: 82.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000377/0.2648, allocations: 58.41 kB / 453.9 MB, free: 82.97 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001892/0.265, allocations: 101.4 kB / 454 MB, free: 82.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.502e-05/0.265, allocations: 42.91 kB / 454 MB, free: 82.96 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006817/0.2657, allocations: 0.6679 MB / 454.7 MB, free: 82.81 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.2657, allocations: 2.938 kB / 454.7 MB, free: 82.81 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001167/0.2669, allocations: 450.4 kB / 455.1 MB, free: 82.81 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%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001054/0.2679, allocations: 477.2 kB / 455.6 MB, free: 82.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00177/0.2697, allocations: 1.523 MB / 457.1 MB, free: 82.09 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.2697, allocations: 2.969 kB / 457.1 MB, free: 82.09 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009787/0.2707, allocations: 1.276 MB / 458.4 MB, free: 81.37 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/0.2718, allocations: 371.8 kB / 458.8 MB, free: 81.35 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004561/0.2763, allocations: 3.606 MB / 462.4 MB, free: 79.72 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004316/0.2768, allocations: 0.5222 MB / 462.9 MB, free: 79.62 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005944/0.2773, allocations: 257.4 kB / 463.1 MB, free: 79.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001927/0.2775, allocations: 103.4 kB / 463.2 MB, free: 79.57 MB / 410.7 MB Notification: Performance of SimCode: time 1.713e-06/0.2775, allocations: 0 / 463.2 MB, free: 79.57 MB / 410.7 MB Notification: Performance of Templates: time 0.03311/0.3107, allocations: 24.25 MB / 487.5 MB, free: 76.63 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.936997950077057]