Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.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.0009917/0.0009917, allocations: 91.5 kB / 21.19 MB, free: 3.371 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.0009121/0.0009121, allocations: 156.5 kB / 24.55 MB, free: 16 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.949/0.949, 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.2694/0.2694, allocations: 34.87 MB / 296.3 MB, free: 500 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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") translateModel(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 378.9 MB, free: 1.953 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.326e-05/1.499e-05, allocations: 3.016 kB / 378.9 MB, free: 1.949 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.02551/0.02553, allocations: 34.35 MB / 413.3 MB, free: 15.45 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01734/0.04287, allocations: 9.931 MB / 423.2 MB, free: 5.488 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0047/0.04757, allocations: 306.3 kB / 423.5 MB, free: 5.188 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01024/0.05781, allocations: 8.726 MB / 432.2 MB, free: 12.42 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009923/0.06773, allocations: 3.992 MB / 436.2 MB, free: 8.406 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004431/0.07216, allocations: 2.326 MB / 438.5 MB, free: 6.078 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1819/0.254, allocations: 13.94 MB / 452.5 MB, free: 48.57 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01701/0.2711, allocations: 14.99 MB / 467.5 MB, free: 45.58 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009319/0.2804, allocations: 10.08 MB / 477.5 MB, free: 40.93 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00752/0.2879, allocations: 7.139 MB / 484.7 MB, free: 38.69 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005304/0.2932, allocations: 1.892 MB / 486.6 MB, free: 38.69 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006228/0.2994, allocations: 2.323 MB / 488.9 MB, free: 38.59 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002506/0.3019, allocations: 3.937 MB / 492.8 MB, free: 36.1 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005961/0.3079, allocations: 4.891 MB / 497.7 MB, free: 33.71 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01205/0.3199, allocations: 12.03 MB / 0.4978 GB, free: 28.25 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.3199, allocations: 0.5156 kB / 0.4978 GB, free: 28.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3199, allocations: 0 / 0.4978 GB, free: 28.25 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003201/0.3203, allocations: 3.656 kB / 0.4978 GB, free: 28.25 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3019 * Number of variables: 3019 Notification: Performance of Generate backend data structure: time 0.02842/0.3487, allocations: 15.8 MB / 0.5132 GB, free: 20.61 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.3487, allocations: 9.125 kB / 0.5132 GB, free: 20.61 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02741/0.3761, allocations: 8.581 MB / 0.5216 GB, free: 14.64 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01091/0.3871, allocations: 7.89 MB / 0.5293 GB, free: 8.062 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003366/0.3874, allocations: 0.8102 MB / 0.5301 GB, free: 7.262 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001348/0.3887, allocations: 1.078 MB / 0.5312 GB, free: 6.199 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01523/0.404, allocations: 9.474 MB / 0.5404 GB, free: 12.76 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000226/0.4042, allocations: 11.91 kB / 0.5404 GB, free: 12.75 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000822/0.405, allocations: 452.2 kB / 0.5409 GB, free: 12.32 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004781/0.4055, allocations: 0.6436 MB / 0.5415 GB, free: 11.67 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01191/0.4174, allocations: 5.315 MB / 0.5467 GB, free: 6.359 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04593/0.4633, allocations: 43.77 MB / 0.5894 GB, free: 10.56 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01043/0.4738, allocations: 10.06 MB / 0.5993 GB, free: 2.348 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00289/0.4767, allocations: 2.029 MB / 0.6012 GB, free: 308 kB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01146/0.4881, allocations: 7.472 MB / 0.6085 GB, free: 8.973 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002536/0.4906, allocations: 2.072 MB / 0.6106 GB, free: 6.746 MB / 490.7 MB Notification: Performance of pre-optimization done (n=434): time 5.911e-06/0.4907, allocations: 0 / 0.6106 GB, free: 6.746 MB / 490.7 MB Notification: Performance of matching and sorting (n=452): time 0.2198/0.7104, allocations: 14.47 MB / 0.6247 GB, free: 105.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001194/0.7105, allocations: 408.9 kB / 0.6251 GB, free: 104.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005984/0.7165, allocations: 3.768 MB / 0.6288 GB, free: 104.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003161/0.7168, allocations: 99.45 kB / 0.6289 GB, free: 104.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003451/0.7203, allocations: 5.087 MB / 0.6338 GB, free: 101.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001151/0.7214, allocations: 1.646 MB / 0.6354 GB, free: 100.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001792/0.7232, allocations: 1.241 MB / 0.6366 GB, free: 100.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.397e-05/0.7233, allocations: 482.9 kB / 0.6371 GB, free: 99.86 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00217/0.7255, allocations: 0.9454 MB / 0.638 GB, free: 99.85 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0036/0.7291, allocations: 4.462 MB / 0.6424 GB, free: 95.63 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005177/0.7342, allocations: 5.551 MB / 0.6478 GB, free: 92 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.437e-05/0.7343, allocations: 19.56 kB / 0.6478 GB, free: 92 MB / 490.7 MB Notification: Performance of matching and sorting (n=776) (initialization): time 0.007735/0.742, allocations: 5.77 MB / 0.6535 GB, free: 91.44 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.206e-05/0.742, allocations: 37.25 kB / 0.6535 GB, free: 91.44 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-05/0.7421, allocations: 73.62 kB / 0.6536 GB, free: 91.43 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00288/0.745, allocations: 1.375 MB / 0.6549 GB, free: 91.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002902/0.7479, allocations: 1.338 MB / 0.6562 GB, free: 91.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01026/0.7582, allocations: 14.46 MB / 0.6703 GB, free: 81.76 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002635/0.7608, allocations: 355 kB / 0.6707 GB, free: 81.74 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003575/0.7612, allocations: 287.4 kB / 0.671 GB, free: 81.74 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * 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 (692): * Single equations (assignments): 686 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * 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): 5 systems {(1,4,100.0%), (1,5,100.0%), (1,13,100.0%), (1,4,100.0%), (14,44,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002699/0.7639, allocations: 0.5583 MB / 0.6715 GB, free: 81.53 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007877/0.7646, allocations: 0.6272 MB / 0.6721 GB, free: 81.26 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006326/0.771, allocations: 4.586 MB / 0.6766 GB, free: 80.84 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.17e-05/0.771, allocations: 49.62 kB / 0.6766 GB, free: 80.84 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.828e-05/0.771, allocations: 21.66 kB / 0.6767 GB, free: 80.84 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.942e-05/0.771, allocations: 22.88 kB / 0.6767 GB, free: 80.84 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01615/0.7872, allocations: 12.22 MB / 0.6886 GB, free: 77.93 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.023e-05/0.7872, allocations: 4.438 kB / 0.6886 GB, free: 77.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001681/0.7889, allocations: 0.7571 MB / 0.6894 GB, free: 77.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002699/0.7916, allocations: 1.449 MB / 0.6908 GB, free: 77.65 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002114/0.7918, allocations: 118.5 kB / 0.6909 GB, free: 77.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01091/0.8027, allocations: 18.83 MB / 0.7093 GB, free: 61.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.8027, allocations: 3.562 kB / 0.7093 GB, free: 61.7 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007491/0.8102, allocations: 5.712 MB / 0.7149 GB, free: 59.7 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00131/0.8115, allocations: 1.007 MB / 0.7158 GB, free: 59.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004148/0.8119, allocations: 97.08 kB / 0.7159 GB, free: 59.03 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001167/0.8131, allocations: 225.3 kB / 0.7161 GB, free: 58.97 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005189/0.8136, allocations: 365.8 kB / 0.7165 GB, free: 58.92 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001909/0.8138, allocations: 143.3 kB / 0.7166 GB, free: 58.88 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002169/0.816, allocations: 1.883 MB / 0.7185 GB, free: 58.27 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.816, allocations: 3.828 kB / 0.7185 GB, free: 58.27 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005317/0.8213, allocations: 1.883 MB / 0.7203 GB, free: 57.91 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 11 (imcQS.rotorCage.port_p.reference.gamma,massQS.s,massQS.v,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.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 (397): * Single equations (assignments): 388 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,3,100.0%), (14,44,41.8%), (1,5,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.001223/0.8225, allocations: 0.5647 MB / 0.7209 GB, free: 57.56 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006566/0.8291, allocations: 5.118 MB / 0.7259 GB, free: 53.14 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.8291, allocations: 4 kB / 0.7259 GB, free: 53.13 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003292/0.8324, allocations: 3.585 MB / 0.7294 GB, free: 49.89 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002884/0.8353, allocations: 1.183 MB / 0.7305 GB, free: 48.9 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01946/0.8547, allocations: 16.65 MB / 0.7468 GB, free: 33.48 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001943/0.8567, allocations: 2.882 MB / 0.7496 GB, free: 31.36 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002939/0.8596, allocations: 1.55 MB / 0.7511 GB, free: 30.36 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007438/0.8603, allocations: 395.7 kB / 0.7515 GB, free: 30 MB / 490.7 MB Notification: Performance of SimCode: time 1.804e-06/0.8603, allocations: 4 kB / 0.7515 GB, free: 30 MB / 490.7 MB Notification: Performance of Templates: time 0.2544/1.115, allocations: 78.14 MB / 0.8278 GB, free: 113.3 MB / 0.4948 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.289041327312589]