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.0006775/0.0006775, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008329/0.00151, allocations: 449.7 kB / 10.37 MB, free: 324 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.0006712/0.0006712, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008868/0.001558, allocations: 463.6 kB / 11.72 MB, free: 2.453 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.9205/0.9205, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09191/1.012, allocations: 53.87 MB / 243.7 MB, free: 14.91 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.267/0.267, allocations: 34.86 MB / 279.3 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02353/0.2906, allocations: 13.23 MB / 292.6 MB, free: 6.477 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.572e-06/1.572e-06, allocations: 0 / 294 MB, free: 5.098 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.072e-05/1.229e-05, allocations: 2.859 kB / 294 MB, free: 5.094 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.02461/0.02462, allocations: 33.01 MB / 327 MB, free: 3.945 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01871/0.04334, allocations: 10.43 MB / 337.4 MB, free: 9.48 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005963/0.0493, allocations: 306.3 kB / 337.7 MB, free: 9.18 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01049/0.0598, allocations: 8.658 MB / 346.4 MB, free: 492 kB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0115/0.0713, allocations: 3.969 MB / 350.3 MB, free: 12.49 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004385/0.07568, allocations: 2.316 MB / 352.6 MB, free: 10.18 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.01257/0.08826, allocations: 14.02 MB / 366.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01612/0.1044, allocations: 14.91 MB / 381.6 MB, free: 13.01 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01109/0.1155, allocations: 10.57 MB / 392.2 MB, free: 2.375 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007337/0.1228, allocations: 7.198 MB / 399.3 MB, free: 11.16 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001827/0.1246, allocations: 1.891 MB / 401.2 MB, free: 9.273 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003184/0.1278, allocations: 2.327 MB / 403.6 MB, free: 6.945 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002511/0.1303, allocations: 3.161 MB / 406.7 MB, free: 3.777 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004659/0.135, allocations: 4.099 MB / 410.8 MB, free: 15.67 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01215/0.1471, allocations: 11.38 MB / 422.2 MB, free: 4.262 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.54e-05/0.1472, allocations: 3.984 kB / 422.2 MB, free: 4.258 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1472, allocations: 0 / 422.2 MB, free: 4.258 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001732/0.1473, allocations: 0 / 422.2 MB, free: 4.258 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.0243/0.1716, allocations: 16.43 MB / 438.6 MB, free: 3.695 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.1717, allocations: 8.922 kB / 438.6 MB, free: 3.688 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2327/0.4043, allocations: 7.039 MB / 445.7 MB, free: 75.23 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008575/0.4129, allocations: 4.431 MB / 450.1 MB, free: 74.77 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003948/0.4133, allocations: 0.8105 MB / 450.9 MB, free: 74.74 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001449/0.4147, allocations: 1.078 MB / 452 MB, free: 74.73 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01051/0.4252, allocations: 8.867 MB / 460.9 MB, free: 73.82 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001675/0.4254, allocations: 21.2 kB / 460.9 MB, free: 73.81 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007036/0.4261, allocations: 452.2 kB / 461.3 MB, free: 73.81 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003959/0.4265, allocations: 0.6467 MB / 462 MB, free: 73.79 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006714/0.4332, allocations: 4.395 MB / 466.4 MB, free: 73.49 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03133/0.4645, allocations: 33.55 MB / 499.9 MB, free: 51.09 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006026/0.4706, allocations: 7.101 MB / 0.4951 GB, free: 44.11 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001466/0.472, allocations: 1.551 MB / 0.4967 GB, free: 42.61 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007854/0.4799, allocations: 5.674 MB / 0.5022 GB, free: 37.16 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001299/0.4812, allocations: 1.842 MB / 0.504 GB, free: 35.32 MB / 426.7 MB Notification: Performance of pre-optimization done (n=434): time 5.23e-06/0.4812, allocations: 0 / 0.504 GB, free: 35.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=452): time 0.01793/0.4991, allocations: 11.05 MB / 0.5148 GB, free: 24.45 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/0.4992, allocations: 103 kB / 0.5149 GB, free: 24.34 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00266/0.5018, allocations: 3.317 MB / 0.5181 GB, free: 21.55 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001797/0.502, allocations: 105.7 kB / 0.5182 GB, free: 21.45 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002046/0.5041, allocations: 4.309 MB / 0.5224 GB, free: 17.29 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007044/0.5048, allocations: 1.603 MB / 0.524 GB, free: 15.78 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00095/0.5057, allocations: 1.081 MB / 0.5251 GB, free: 14.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 2.788e-05/0.5057, allocations: 301.1 kB / 0.5253 GB, free: 14.51 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009316/0.5067, allocations: 0.7842 MB / 0.5261 GB, free: 13.72 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0014/0.5081, allocations: 3.14 MB / 0.5292 GB, free: 9.699 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002975/0.511, allocations: 4.179 MB / 0.5333 GB, free: 5 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-05/0.5111, allocations: 20 kB / 0.5333 GB, free: 4.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=776) (initialization): time 0.00517/0.5162, allocations: 4.228 MB / 0.5374 GB, free: 1.207 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.699e-05/0.5163, allocations: 36 kB / 0.5374 GB, free: 1.172 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.485e-05/0.5163, allocations: 67.38 kB / 0.5375 GB, free: 1.109 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002355/0.5187, allocations: 1.258 MB / 0.5387 GB, free: 15.85 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002872/0.5216, allocations: 1.463 MB / 0.5402 GB, free: 14.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008012/0.5296, allocations: 10.55 MB / 0.5505 GB, free: 3.703 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002164/0.5317, allocations: 247.9 kB / 0.5507 GB, free: 3.461 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002776/0.532, allocations: 235.9 kB / 0.5509 GB, free: 3.23 MB / 442.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.001841/0.5339, allocations: 0.5038 MB / 0.5514 GB, free: 2.805 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005891/0.5344, allocations: 431.6 kB / 0.5518 GB, free: 2.383 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004726/0.5392, allocations: 3.45 MB / 0.5552 GB, free: 14.97 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.091e-05/0.5392, allocations: 48 kB / 0.5552 GB, free: 14.92 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.11e-05/0.5392, allocations: 16 kB / 0.5553 GB, free: 14.91 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.704e-05/0.5392, allocations: 27.84 kB / 0.5553 GB, free: 14.88 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01073/0.55, allocations: 8.06 MB / 0.5632 GB, free: 8.02 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.828e-06/0.55, allocations: 4 kB / 0.5632 GB, free: 8.016 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001829/0.5518, allocations: 0.7731 MB / 0.5639 GB, free: 7.277 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001301/0.5531, allocations: 0.5967 MB / 0.5645 GB, free: 6.684 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002389/0.5555, allocations: 1.319 MB / 0.5658 GB, free: 5.363 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001858/0.5557, allocations: 102.7 kB / 0.5659 GB, free: 5.266 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009301/0.565, allocations: 13.84 MB / 0.5794 GB, free: 7.051 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.565, allocations: 4 kB / 0.5794 GB, free: 7.047 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005107/0.5701, allocations: 4.184 MB / 0.5835 GB, free: 2.914 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006658/0.5708, allocations: 92 kB / 0.5836 GB, free: 2.824 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/0.5718, allocations: 140 kB / 0.5837 GB, free: 2.688 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004492/0.5722, allocations: 350.5 kB / 0.584 GB, free: 2.352 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001786/0.5724, allocations: 99.95 kB / 0.5841 GB, free: 2.254 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001278/0.5737, allocations: 1.425 MB / 0.5855 GB, free: 0.9883 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5737, allocations: 0 / 0.5855 GB, free: 0.9883 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004457/0.5782, allocations: 1.887 MB / 0.5874 GB, free: 15.1 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.00158/0.5797, allocations: 0.7354 MB / 0.5881 GB, free: 14.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004826/0.5846, allocations: 3.989 MB / 0.592 GB, free: 10.95 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000158/0.5847, allocations: 121.9 kB / 0.5921 GB, free: 10.81 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002619/0.5873, allocations: 2.771 MB / 0.5948 GB, free: 8.102 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002772/0.5901, allocations: 1.556 MB / 0.5963 GB, free: 6.57 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06709/0.6572, allocations: 16.8 MB / 0.6127 GB, free: 5.723 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002293/0.6595, allocations: 2.158 MB / 0.6148 GB, free: 3.539 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002595/0.6621, allocations: 0.7744 MB / 0.6156 GB, free: 2.758 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001929/0.664, allocations: 1.108 MB / 0.6167 GB, free: 1.633 MB / 0.4948 GB Notification: Performance of SimCode: time 1.783e-06/0.664, allocations: 0 / 0.6167 GB, free: 1.633 MB / 0.4948 GB Notification: Performance of Templates: time 0.262/0.926, allocations: 85.47 MB / 0.7001 GB, free: 86.41 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: 5.617076705209911]