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.0009817/0.0009817, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001421/0.002403, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001061/0.001061, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001237/0.002298, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.9989/0.9989, allocations: 177.5 MB / 190 MB, free: 4.777 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09093/1.09, allocations: 53.87 MB / 243.9 MB, free: 14.84 MB / 250.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.2956/0.2956, allocations: 34.88 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02551/0.3211, allocations: 13.24 MB / 292.8 MB, free: 6.367 MB / 282.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.713e-06/1.713e-06, allocations: 0 / 294.2 MB, free: 4.965 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.206e-05/2.378e-05, allocations: 4.484 kB / 294.2 MB, free: 4.961 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.0242/0.02422, allocations: 33.01 MB / 327.2 MB, free: 3.805 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02388/0.0481, allocations: 10.43 MB / 337.6 MB, free: 9.34 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006379/0.05448, allocations: 306.3 kB / 337.9 MB, free: 9.039 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0133/0.06777, allocations: 8.666 MB / 346.6 MB, free: 340 kB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01205/0.07983, allocations: 3.966 MB / 350.6 MB, free: 12.34 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005856/0.08568, allocations: 2.33 MB / 352.9 MB, free: 10.02 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.01569/0.1014, allocations: 14.01 MB / 366.9 MB, free: 11.97 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02397/0.1254, allocations: 14.91 MB / 381.8 MB, free: 12.87 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01913/0.1445, allocations: 10.57 MB / 392.4 MB, free: 2.23 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01098/0.1555, allocations: 7.205 MB / 399.6 MB, free: 11.01 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005044/0.1605, allocations: 1.891 MB / 401.5 MB, free: 9.121 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007221/0.1677, allocations: 2.327 MB / 403.8 MB, free: 6.793 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005765/0.1735, allocations: 3.161 MB / 407 MB, free: 3.625 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01318/0.1867, allocations: 4.099 MB / 411.1 MB, free: 15.52 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02029/0.207, allocations: 11.35 MB / 422.4 MB, free: 4.133 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.535e-05/0.207, allocations: 0 / 422.4 MB, free: 4.133 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.207, allocations: 0 / 422.4 MB, free: 4.133 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006331/0.2076, allocations: 0 / 422.4 MB, free: 4.133 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.02956/0.2372, allocations: 16.43 MB / 438.9 MB, free: 3.57 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.2372, allocations: 8.922 kB / 438.9 MB, free: 3.562 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2009/0.4381, allocations: 7.026 MB / 445.9 MB, free: 76 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01139/0.4495, allocations: 4.429 MB / 450.3 MB, free: 75.55 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006169/0.4501, allocations: 0.8169 MB / 451.1 MB, free: 75.52 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002817/0.4529, allocations: 1.075 MB / 452.2 MB, free: 75.51 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01606/0.469, allocations: 8.872 MB / 461.1 MB, free: 74.6 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004074/0.4694, allocations: 19 kB / 461.1 MB, free: 74.59 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001407/0.4708, allocations: 445.5 kB / 461.5 MB, free: 74.59 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007352/0.4716, allocations: 0.624 MB / 462.2 MB, free: 74.57 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01114/0.4827, allocations: 4.391 MB / 466.6 MB, free: 74.27 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05419/0.5369, allocations: 33.56 MB / 0.4884 GB, free: 51.36 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006895/0.5438, allocations: 7.099 MB / 0.4953 GB, free: 44.38 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001902/0.5457, allocations: 1.561 MB / 0.4969 GB, free: 42.87 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002914/0.546, allocations: 172.5 kB / 0.497 GB, free: 42.7 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001865/0.5478, allocations: 2.238 MB / 0.4992 GB, free: 40.45 MB / 426.7 MB Notification: Performance of pre-optimization done (n=583): time 1.074e-05/0.5479, allocations: 0 / 0.4992 GB, free: 40.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=601): time 0.03096/0.5788, allocations: 15.62 MB / 0.5145 GB, free: 25.01 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.327e-05/0.5789, allocations: 252.6 kB / 0.5147 GB, free: 24.72 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00334/0.5822, allocations: 3.288 MB / 0.5179 GB, free: 21.98 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007813/0.583, allocations: 125.7 kB / 0.518 GB, free: 21.86 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002663/0.5857, allocations: 4.096 MB / 0.522 GB, free: 17.9 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001412/0.5871, allocations: 2.108 MB / 0.5241 GB, free: 15.92 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001145/0.5882, allocations: 1.221 MB / 0.5253 GB, free: 14.84 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 3.195e-05/0.5883, allocations: 305.1 kB / 0.5256 GB, free: 14.54 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001144/0.5894, allocations: 0.8944 MB / 0.5264 GB, free: 13.64 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001584/0.591, allocations: 3.262 MB / 0.5296 GB, free: 9.543 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003533/0.5945, allocations: 4.697 MB / 0.5342 GB, free: 4.289 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.025e-05/0.5946, allocations: 16 kB / 0.5342 GB, free: 4.273 MB / 426.7 MB Notification: Performance of matching and sorting (n=912) (initialization): time 0.006003/0.6006, allocations: 4.611 MB / 0.5387 GB, free: 64 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.204e-05/0.6006, allocations: 39.94 kB / 0.5388 GB, free: 24 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001053/0.6007, allocations: 64.05 kB / 0.5388 GB, free: 15.96 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002638/0.6033, allocations: 1.263 MB / 0.5401 GB, free: 14.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004226/0.6076, allocations: 1.722 MB / 0.5417 GB, free: 13.08 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01017/0.6177, allocations: 10.75 MB / 0.5522 GB, free: 2.109 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004586/0.6223, allocations: 267.9 kB / 0.5525 GB, free: 1.848 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001006/0.6233, allocations: 251.9 kB / 0.5527 GB, free: 1.602 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 293 * 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 (828): * Single equations (assignments): 822 * 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.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003091/0.6264, allocations: 0.5609 MB / 0.5533 GB, free: 1.133 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001233/0.6277, allocations: 0.4995 MB / 0.5538 GB, free: 0.6328 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005786/0.6334, allocations: 3.903 MB / 0.5576 GB, free: 12.73 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-05/0.6335, allocations: 60 kB / 0.5576 GB, free: 12.67 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-05/0.6335, allocations: 20 kB / 0.5577 GB, free: 12.65 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.532e-05/0.6335, allocations: 35.81 kB / 0.5577 GB, free: 12.61 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01742/0.651, allocations: 10.86 MB / 0.5683 GB, free: 3.016 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.309e-05/0.651, allocations: 4 kB / 0.5683 GB, free: 3.012 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002381/0.6533, allocations: 1.035 MB / 0.5693 GB, free: 2.031 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002573/0.6559, allocations: 0.6789 MB / 0.57 GB, free: 1.352 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002814/0.6587, allocations: 1.328 MB / 0.5713 GB, free: 28 kB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003655/0.6591, allocations: 134.1 kB / 0.5714 GB, free: 15.91 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01071/0.6698, allocations: 13.8 MB / 0.5849 GB, free: 1.738 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.34e-05/0.6698, allocations: 11.56 kB / 0.5849 GB, free: 1.73 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008102/0.6779, allocations: 5.008 MB / 0.5898 GB, free: 12.62 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00114/0.6791, allocations: 132 kB / 0.5899 GB, free: 12.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001722/0.6808, allocations: 160 kB / 0.5901 GB, free: 12.34 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007728/0.6816, allocations: 443.8 kB / 0.5905 GB, free: 11.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002472/0.6818, allocations: 128 kB / 0.5906 GB, free: 11.79 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00221/0.684, allocations: 1.403 MB / 0.592 GB, free: 10.54 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.684, allocations: 0 / 0.592 GB, free: 10.54 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007151/0.6912, allocations: 2.012 MB / 0.5939 GB, free: 8.527 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * 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 (546): * Single equations (assignments): 537 * 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.002214/0.6934, allocations: 0.7737 MB / 0.5947 GB, free: 8.102 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007321/0.7007, allocations: 4.508 MB / 0.5991 GB, free: 3.84 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0003383/0.701, allocations: 121.9 kB / 0.5992 GB, free: 3.699 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004143/0.7052, allocations: 3.456 MB / 0.6026 GB, free: 352 kB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008844/0.714, allocations: 10.51 MB / 0.6129 GB, free: 3.914 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2429/0.9569, allocations: 17.25 MB / 0.6297 GB, free: 133.3 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003705/0.9606, allocations: 2.208 MB / 0.6319 GB, free: 133 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.002944/0.9636, allocations: 0.8576 MB / 0.6327 GB, free: 132.9 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00232/0.9659, allocations: 1.225 MB / 0.6339 GB, free: 132.8 MB / 0.4949 GB Notification: Performance of SimCode: time 2.024e-06/0.9659, allocations: 0 / 0.6339 GB, free: 132.8 MB / 0.4949 GB Notification: Performance of Templates: time 0.1255/1.091, allocations: 92.93 MB / 0.7246 GB, free: 65.27 MB / 0.4949 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: 5.930636751465499]