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.001186/0.001186, 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.001923/0.001923, 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 0.9277/0.9277, 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.2694/0.2694, allocations: 34.87 MB / 295.8 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.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.964e-06/1.964e-06, allocations: 0 / 378.1 MB, free: 2.293 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.283e-05/2.48e-05, allocations: 6.953 kB / 378.1 MB, free: 2.285 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.02711/0.02714, allocations: 34.15 MB / 412.3 MB, free: 15.99 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01741/0.04455, allocations: 9.919 MB / 422.2 MB, free: 6.039 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005414/0.04997, allocations: 306.3 kB / 422.5 MB, free: 5.738 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01154/0.06151, allocations: 8.702 MB / 431.2 MB, free: 13 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01086/0.07236, allocations: 3.981 MB / 435.2 MB, free: 8.992 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005472/0.07784, allocations: 2.315 MB / 437.5 MB, free: 6.672 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1868/0.2646, allocations: 13.95 MB / 451.4 MB, free: 48.48 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02202/0.2866, allocations: 14.99 MB / 466.4 MB, free: 45.8 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01619/0.3028, allocations: 10.07 MB / 476.5 MB, free: 41.14 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01156/0.3144, allocations: 7.004 MB / 483.5 MB, free: 38.94 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006022/0.3204, allocations: 1.894 MB / 485.4 MB, free: 38.94 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008929/0.3293, allocations: 2.327 MB / 487.7 MB, free: 38.84 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005827/0.3352, allocations: 3.935 MB / 491.7 MB, free: 36.36 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0102/0.3454, allocations: 4.901 MB / 496.6 MB, free: 33.96 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01684/0.3622, allocations: 12.05 MB / 0.4967 GB, free: 28.49 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.3622, allocations: 0 / 0.4967 GB, free: 28.49 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3622, allocations: 0.8125 kB / 0.4967 GB, free: 28.49 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005943/0.3628, allocations: 3.812 kB / 0.4967 GB, free: 28.49 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.05388/0.4167, allocations: 15.81 MB / 0.5121 GB, free: 20.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.4167, allocations: 9.188 kB / 0.5121 GB, free: 20.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02722/0.444, allocations: 8.573 MB / 0.5205 GB, free: 15.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0128/0.4568, allocations: 7.896 MB / 0.5282 GB, free: 8.504 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005585/0.4573, allocations: 0.8176 MB / 0.529 GB, free: 7.699 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003753/0.4611, allocations: 1.071 MB / 0.5301 GB, free: 6.641 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02923/0.4903, allocations: 9.477 MB / 0.5393 GB, free: 13.28 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003279/0.4906, allocations: 15.33 kB / 0.5393 GB, free: 13.27 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002876/0.4935, allocations: 449 kB / 0.5398 GB, free: 12.84 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004877/0.494, allocations: 0.6436 MB / 0.5404 GB, free: 12.2 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01908/0.5131, allocations: 5.315 MB / 0.5456 GB, free: 6.887 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06499/0.5781, allocations: 43.78 MB / 0.5883 GB, free: 11.07 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01035/0.5884, allocations: 10.06 MB / 0.5981 GB, free: 2.867 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003/0.5914, allocations: 2.033 MB / 0.6001 GB, free: 0.8164 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01111/0.6025, allocations: 7.477 MB / 0.6074 GB, free: 9.488 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002324/0.6048, allocations: 2.071 MB / 0.6095 GB, free: 7.266 MB / 490.7 MB Notification: Performance of pre-optimization done (n=434): time 6.964e-06/0.6048, allocations: 3.938 kB / 0.6095 GB, free: 7.262 MB / 490.7 MB Notification: Performance of matching and sorting (n=452): time 0.2066/0.8114, allocations: 14.47 MB / 0.6236 GB, free: 148.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.947e-05/0.8115, allocations: 408.7 kB / 0.624 GB, free: 148 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004802/0.8163, allocations: 3.763 MB / 0.6277 GB, free: 147.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002131/0.8165, allocations: 104.5 kB / 0.6278 GB, free: 147.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002907/0.8194, allocations: 5.075 MB / 0.6327 GB, free: 144.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008947/0.8203, allocations: 1.642 MB / 0.6343 GB, free: 143.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001492/0.8218, allocations: 1.239 MB / 0.6355 GB, free: 143.6 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 4.646e-05/0.8219, allocations: 484.1 kB / 0.636 GB, free: 143.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001973/0.8239, allocations: 0.948 MB / 0.6369 GB, free: 143.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00333/0.8272, allocations: 4.419 MB / 0.6412 GB, free: 138.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00606/0.8332, allocations: 5.508 MB / 0.6466 GB, free: 135 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.111e-05/0.8333, allocations: 23.97 kB / 0.6466 GB, free: 135 MB / 490.7 MB Notification: Performance of matching and sorting (n=772) (initialization): time 0.009737/0.843, allocations: 5.745 MB / 0.6522 GB, free: 133.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.88e-05/0.8431, allocations: 32.62 kB / 0.6523 GB, free: 133.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.448e-05/0.8431, allocations: 66.06 kB / 0.6523 GB, free: 133.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006518/0.8497, allocations: 1.375 MB / 0.6537 GB, free: 133.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00639/0.856, allocations: 1.333 MB / 0.655 GB, free: 133.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01156/0.8676, allocations: 14.46 MB / 0.6691 GB, free: 121.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00435/0.8719, allocations: 361.6 kB / 0.6694 GB, free: 121.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004827/0.8724, allocations: 291.1 kB / 0.6697 GB, free: 121.6 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 297 * 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 (688): * Single equations (assignments): 682 * 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.003649/0.8761, allocations: 0.5464 MB / 0.6703 GB, free: 121.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001066/0.8771, allocations: 0.6288 MB / 0.6709 GB, free: 120.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006974/0.8841, allocations: 4.588 MB / 0.6753 GB, free: 119.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.768e-05/0.8841, allocations: 45.41 kB / 0.6754 GB, free: 119.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.221e-05/0.8842, allocations: 17.16 kB / 0.6754 GB, free: 119.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.119e-05/0.8842, allocations: 24.47 kB / 0.6754 GB, free: 119.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02042/0.9046, allocations: 12.26 MB / 0.6874 GB, free: 114.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.24e-05/0.9046, allocations: 3.969 kB / 0.6874 GB, free: 114.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001744/0.9064, allocations: 0.7647 MB / 0.6882 GB, free: 114.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002945/0.9093, allocations: 1.46 MB / 0.6896 GB, free: 113.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002639/0.9096, allocations: 116.1 kB / 0.6897 GB, free: 113.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01111/0.9207, allocations: 18.82 MB / 0.7081 GB, free: 97.83 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.9207, allocations: 11.56 kB / 0.7081 GB, free: 97.82 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0088/0.9295, allocations: 5.714 MB / 0.7137 GB, free: 94.63 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001831/0.9313, allocations: 0.9993 MB / 0.7146 GB, free: 93.75 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000532/0.9319, allocations: 103.7 kB / 0.7147 GB, free: 93.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001271/0.9331, allocations: 229 kB / 0.715 GB, free: 93.49 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006242/0.9338, allocations: 367 kB / 0.7153 GB, free: 93.31 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001947/0.934, allocations: 139.4 kB / 0.7154 GB, free: 93.18 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002526/0.9365, allocations: 1.876 MB / 0.7173 GB, free: 91.63 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.1e-07/0.9365, allocations: 0 / 0.7173 GB, free: 91.63 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004976/0.9415, allocations: 1.879 MB / 0.7191 GB, free: 89.76 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.001237/0.9427, allocations: 0.5673 MB / 0.7197 GB, free: 89.36 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006116/0.9488, allocations: 5.108 MB / 0.7246 GB, free: 84.73 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.9488, allocations: 1.938 kB / 0.7246 GB, free: 84.73 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003235/0.9521, allocations: 3.59 MB / 0.7282 GB, free: 81.39 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002896/0.955, allocations: 1.18 MB / 0.7293 GB, free: 80.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0236/0.9786, allocations: 16.66 MB / 0.7456 GB, free: 64.95 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002407/0.981, allocations: 2.88 MB / 0.7484 GB, free: 62.14 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003079/0.984, allocations: 1.546 MB / 0.7499 GB, free: 60.59 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007787/0.9848, allocations: 396.4 kB / 0.7503 GB, free: 60.2 MB / 490.7 MB Notification: Performance of SimCode: time 2.645e-06/0.9848, allocations: 4 kB / 0.7503 GB, free: 60.2 MB / 490.7 MB Notification: Performance of Templates: time 0.2357/1.221, allocations: 74.63 MB / 0.8232 GB, free: 146.7 MB / 490.7 MB " [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.229197927052155]