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.001001/0.001001, allocations: 116.1 kB / 21.19 MB, free: 4.805 MB / 13.93 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.001536/0.001536, allocations: 213.3 kB / 24.48 MB, free: 1.52 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.956/0.956, allocations: 230.6 MB / 258.2 MB, free: 3.086 MB / 202.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.1527/0.1527, allocations: 47.71 MB / 362.4 MB, free: 15.42 MB / 298.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 0.001641/0.001641, allocations: 104.2 kB / 0.4978 GB, free: 3.215 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2818, allocations: 66.22 MB / 0.5625 GB, free: 13.68 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.02252/0.3043, allocations: 29.85 MB / 0.5916 GB, free: 15.68 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01786/0.3222, allocations: 9.7 MB / 0.6011 GB, free: 5.953 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006729/0.3289, allocations: 302.3 kB / 0.6014 GB, free: 5.656 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01115/0.34, allocations: 7.719 MB / 0.6089 GB, free: 13.91 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01046/0.3505, allocations: 3.868 MB / 0.6127 GB, free: 10.03 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00471/0.3552, allocations: 2.284 MB / 0.6149 GB, free: 7.75 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.01357/0.3688, allocations: 13.45 MB / 0.6281 GB, free: 10.26 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01928/0.3881, allocations: 14.93 MB / 0.6426 GB, free: 11.18 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008654/0.3967, allocations: 6.826 MB / 0.6493 GB, free: 4.332 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01011/0.4068, allocations: 7.225 MB / 0.6564 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.004166/0.411, allocations: 1.895 MB / 0.6582 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005487/0.4165, allocations: 2.3 MB / 0.6605 GB, free: 8.887 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.002569/0.419, allocations: 3.791 MB / 0.6642 GB, free: 5.086 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.005918/0.425, allocations: 5.615 MB / 0.6696 GB, free: 15.45 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0195/0.4445, allocations: 25.47 MB / 0.6945 GB, free: 5.902 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.4445, allocations: 0 / 0.6945 GB, free: 5.902 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.154e-06/0.4445, allocations: 0 / 0.6945 GB, free: 5.902 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0005363/0.445, allocations: 0 / 0.6945 GB, free: 5.902 MB / 0.5261 GB 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.4995/0.9445, allocations: 15.04 MB / 0.7092 GB, free: 108 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.9446, allocations: 11.84 kB / 0.7092 GB, free: 108 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01822/0.9628, allocations: 6.758 MB / 0.7158 GB, free: 102.8 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01115/0.9739, allocations: 8.209 MB / 0.7238 GB, free: 95.06 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002833/0.9742, allocations: 0.8064 MB / 0.7246 GB, free: 94.27 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001429/0.9756, allocations: 1.066 MB / 0.7257 GB, free: 93.21 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01907/0.9947, allocations: 17.75 MB / 0.743 GB, free: 75.36 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001661/0.9949, allocations: 27.83 kB / 0.743 GB, free: 75.33 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000744/0.9956, allocations: 455.2 kB / 0.7435 GB, free: 74.9 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000302/0.9959, allocations: 0.6397 MB / 0.7441 GB, free: 74.26 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01684/1.013, allocations: 16.36 MB / 0.7601 GB, free: 57.88 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04431/1.057, allocations: 48.02 MB / 0.807 GB, free: 9.625 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009788/1.067, allocations: 11.94 MB / 0.8186 GB, free: 15.55 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004452/1.071, allocations: 4.026 MB / 0.8225 GB, free: 11.51 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01327/1.085, allocations: 10.97 MB / 0.8333 GB, free: 0.6367 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003219/1.088, allocations: 3.407 MB / 0.8366 GB, free: 13.09 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=434): time 5.22e-06/1.088, allocations: 0 / 0.8366 GB, free: 13.09 MB / 0.5574 GB Notification: Performance of matching and sorting (n=452): time 0.03222/1.12, allocations: 22.94 MB / 0.859 GB, free: 6.148 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001356/1.12, allocations: 407.4 kB / 0.8594 GB, free: 5.664 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004635/1.125, allocations: 4.253 MB / 0.8635 GB, free: 1.379 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0002162/1.125, allocations: 97.7 kB / 0.8636 GB, free: 1.277 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.003098/1.128, allocations: 4.947 MB / 0.8685 GB, free: 12.29 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 0.001131/1.129, allocations: 1.615 MB / 0.87 GB, free: 10.66 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00178/1.131, allocations: 1.149 MB / 0.8712 GB, free: 9.496 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 7.309e-05/1.131, allocations: 301.1 kB / 0.8714 GB, free: 9.199 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003585/1.135, allocations: 2.838 MB / 0.8742 GB, free: 6.355 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005227/1.14, allocations: 5.378 MB / 0.8795 GB, free: 15.93 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009274/1.149, allocations: 8.315 MB / 0.8876 GB, free: 6.691 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.666e-05/1.149, allocations: 20 kB / 0.8876 GB, free: 6.672 MB / 0.6043 GB Notification: Performance of matching and sorting (n=772) (initialization): time 0.0169/1.166, allocations: 9.475 MB / 0.8969 GB, free: 13.16 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 4.847e-05/1.166, allocations: 35.94 kB / 0.8969 GB, free: 13.13 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.766e-05/1.166, allocations: 68 kB / 0.897 GB, free: 13.06 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006012/1.172, allocations: 1.479 MB / 0.8984 GB, free: 11.57 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009588/1.182, allocations: 1.334 MB / 0.8997 GB, free: 10.23 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03215/1.214, allocations: 16.73 MB / 0.916 GB, free: 8.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009645/1.224, allocations: 347.7 kB / 0.9164 GB, free: 8.641 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004786/1.224, allocations: 296 kB / 0.9167 GB, free: 8.352 MB / 0.6355 GB 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.007934/1.232, allocations: 3.908 MB / 0.9205 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001079/1.233, allocations: 0.4891 MB / 0.921 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009785/1.243, allocations: 7.726 MB / 0.9285 GB, free: 12.16 MB / 0.6512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.451e-05/1.243, allocations: 51.94 kB / 0.9286 GB, free: 12.11 MB / 0.6512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-05/1.243, allocations: 19.98 kB / 0.9286 GB, free: 12.09 MB / 0.6512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.571e-05/1.243, allocations: 23.86 kB / 0.9286 GB, free: 12.07 MB / 0.6512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01735/1.26, allocations: 14.93 MB / 0.9432 GB, free: 13 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.179e-05/1.26, allocations: 4 kB / 0.9432 GB, free: 13 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001772/1.262, allocations: 0.7651 MB / 0.9439 GB, free: 12.23 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002457/1.265, allocations: 1.553 MB / 0.9454 GB, free: 10.66 MB / 0.6668 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002467/1.265, allocations: 120 kB / 0.9456 GB, free: 10.54 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.285/1.55, allocations: 20.12 MB / 0.9652 GB, free: 221.6 MB / 0.6668 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/1.55, allocations: 3.969 kB / 0.9652 GB, free: 221.6 MB / 0.6668 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01136/1.561, allocations: 11.29 MB / 0.9762 GB, free: 217 MB / 0.6668 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002077/1.563, allocations: 1.083 MB / 0.9773 GB, free: 216.6 MB / 0.6668 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004234/1.564, allocations: 99.25 kB / 0.9774 GB, free: 216.6 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001279/1.565, allocations: 232 kB / 0.9776 GB, free: 216.5 MB / 0.6668 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006148/1.566, allocations: 366.3 kB / 0.978 GB, free: 216.4 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001857/1.566, allocations: 141.9 kB / 0.9781 GB, free: 216.4 MB / 0.6668 GB Notification: Performance of sorting global known variables: time 0.002751/1.569, allocations: 2.804 MB / 0.9808 GB, free: 215.4 MB / 0.6668 GB Notification: Performance of sort global known variables: time 5.21e-07/1.569, allocations: 0 / 0.9808 GB, free: 215.4 MB / 0.6668 GB Notification: Performance of remove unused functions: time 0.004308/1.573, allocations: 1.879 MB / 0.9827 GB, free: 215.2 MB / 0.6668 GB 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.001303/1.574, allocations: 0.6072 MB / 0.9833 GB, free: 214.9 MB / 0.6668 GB Notification: Performance of simCode: created initialization part: time 0.007725/1.582, allocations: 7.731 MB / 0.9908 GB, free: 211.3 MB / 0.6668 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/1.582, allocations: 1.906 kB / 0.9908 GB, free: 211.3 MB / 0.6668 GB Notification: Performance of simCode: created simulation system equations: time 0.003788/1.586, allocations: 4.38 MB / 0.9951 GB, free: 207.4 MB / 0.6668 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00302/1.589, allocations: 1.158 MB / 0.9962 GB, free: 206.4 MB / 0.6668 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02198/1.611, allocations: 19.49 MB / 1.015 GB, free: 188.6 MB / 0.6668 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004233/1.615, allocations: 6.231 MB / 1.021 GB, free: 183.6 MB / 0.6668 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001626/1.617, allocations: 455.3 kB / 1.022 GB, free: 183.2 MB / 0.6668 GB Notification: Performance of SimCode: time 1.894e-06/1.617, allocations: 3.938 kB / 1.022 GB, free: 183.2 MB / 0.6668 GB Notification: Performance of Templates: time 0.9486/2.565, allocations: 0.5203 GB / 1.542 GB, free: 201.1 MB / 0.698 GB " [Timeout remaining time 657] 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 > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 15.990056553855538]