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.002274/0.002274, allocations: 114.9 kB / 20.43 MB, free: 4.598 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.002596/0.002596, allocations: 221.3 kB / 23.73 MB, free: 2.137 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 1.667/1.667, allocations: 230.6 MB / 257.4 MB, free: 9.465 MB / 202.7 MB " [Timeout remaining time 178] 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.2668/0.2668, allocations: 47.71 MB / 361.6 MB, free: 2.367 MB / 282.7 MB " [Timeout remaining time 179] 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.005324/0.005324, allocations: 100.2 kB / 0.4978 GB, free: 6.934 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1481, allocations: 66.22 MB / 0.5625 GB, free: 4.582 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.3004/0.4486, allocations: 29.87 MB / 0.5916 GB, free: 13.26 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.02621/0.4748, allocations: 9.689 MB / 0.6011 GB, free: 6.48 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00887/0.4837, allocations: 304.3 kB / 0.6014 GB, free: 6.375 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02247/0.5061, allocations: 7.711 MB / 0.6089 GB, free: 2.113 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01841/0.5246, allocations: 3.88 MB / 0.6127 GB, free: 15.09 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009054/0.5336, allocations: 2.292 MB / 0.6149 GB, free: 13.25 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.02201/0.5556, allocations: 13.43 MB / 0.6281 GB, free: 5.016 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0337/0.5893, allocations: 14.93 MB / 0.6426 GB, free: 6.188 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01452/0.6038, allocations: 6.826 MB / 0.6493 GB, free: 15.34 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01584/0.6197, allocations: 7.221 MB / 0.6564 GB, free: 8.098 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005504/0.6252, allocations: 1.895 MB / 0.6582 GB, free: 6.203 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009967/0.6351, allocations: 2.3 MB / 0.6605 GB, free: 3.902 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006769/0.6419, allocations: 3.799 MB / 0.6642 GB, free: 96 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01384/0.6557, allocations: 5.611 MB / 0.6697 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.04167/0.6974, allocations: 25.47 MB / 0.6945 GB, free: 0.9102 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.6974, allocations: 0 / 0.6945 GB, free: 0.9102 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6974, allocations: 0 / 0.6945 GB, free: 0.9102 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0006755/0.6981, allocations: 0 / 0.6945 GB, free: 0.9102 MB / 0.5105 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.07353/0.7716, allocations: 15.06 MB / 0.7092 GB, free: 1.734 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.7717, allocations: 8.031 kB / 0.7092 GB, free: 1.727 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04103/0.8127, allocations: 6.743 MB / 0.7158 GB, free: 10.97 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0226/0.8353, allocations: 8.212 MB / 0.7238 GB, free: 2.672 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001295/0.8366, allocations: 0.8068 MB / 0.7246 GB, free: 1.863 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005283/0.8419, allocations: 1.078 MB / 0.7257 GB, free: 0.7852 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05517/0.8971, allocations: 17.75 MB / 0.743 GB, free: 14.89 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005678/0.8976, allocations: 19.94 kB / 0.743 GB, free: 14.88 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003787/0.9014, allocations: 451.9 kB / 0.7435 GB, free: 14.43 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009197/0.9023, allocations: 0.6397 MB / 0.7441 GB, free: 13.79 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04232/0.9447, allocations: 16.37 MB / 0.7601 GB, free: 13.41 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6269/1.572, allocations: 48.02 MB / 0.807 GB, free: 162.6 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02095/1.593, allocations: 11.94 MB / 0.8186 GB, free: 162 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007176/1.6, allocations: 4.03 MB / 0.8226 GB, free: 161.9 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0259/1.626, allocations: 10.96 MB / 0.8333 GB, free: 159.2 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006372/1.632, allocations: 3.412 MB / 0.8366 GB, free: 157.5 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=434): time 1.162e-05/1.632, allocations: 0 / 0.8366 GB, free: 157.5 MB / 0.6199 GB Notification: Performance of matching and sorting (n=452): time 0.07264/1.705, allocations: 22.94 MB / 0.859 GB, free: 148.5 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/1.705, allocations: 407.8 kB / 0.8594 GB, free: 148.1 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005359/1.71, allocations: 4.248 MB / 0.8635 GB, free: 146.5 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 0.0006424/1.711, allocations: 104.5 kB / 0.8636 GB, free: 146.4 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 0.003233/1.714, allocations: 4.937 MB / 0.8685 GB, free: 143.2 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 0.001623/1.716, allocations: 1.628 MB / 0.87 GB, free: 142 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001526/1.717, allocations: 1.143 MB / 0.8712 GB, free: 141.4 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 4.004e-05/1.717, allocations: 308.8 kB / 0.8715 GB, free: 141.1 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003489/1.721, allocations: 2.833 MB / 0.8742 GB, free: 140 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004374/1.725, allocations: 5.377 MB / 0.8795 GB, free: 135.5 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008611/1.734, allocations: 8.317 MB / 0.8876 GB, free: 128.5 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.305e-05/1.734, allocations: 20 kB / 0.8876 GB, free: 128.5 MB / 0.6199 GB Notification: Performance of matching and sorting (n=772) (initialization): time 0.01361/1.747, allocations: 9.472 MB / 0.8969 GB, free: 119 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 4.854e-05/1.747, allocations: 36 kB / 0.8969 GB, free: 118.9 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.848e-05/1.747, allocations: 64.94 kB / 0.897 GB, free: 118.9 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003438/1.751, allocations: 1.479 MB / 0.8984 GB, free: 117.4 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004592/1.755, allocations: 1.338 MB / 0.8997 GB, free: 116 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01622/1.772, allocations: 16.75 MB / 0.9161 GB, free: 98.78 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004626/1.776, allocations: 347.8 kB / 0.9164 GB, free: 98.44 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006302/1.777, allocations: 284.8 kB / 0.9167 GB, free: 98.16 MB / 0.6199 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.00603/1.783, allocations: 3.912 MB / 0.9205 GB, free: 94.23 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001041/1.784, allocations: 0.4929 MB / 0.921 GB, free: 93.74 MB / 0.6199 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0118/1.796, allocations: 7.722 MB / 0.9285 GB, free: 85.96 MB / 0.6199 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.001e-05/1.796, allocations: 47.98 kB / 0.9286 GB, free: 85.92 MB / 0.6199 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.857e-05/1.796, allocations: 16 kB / 0.9286 GB, free: 85.9 MB / 0.6199 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.513e-05/1.796, allocations: 19.92 kB / 0.9286 GB, free: 85.88 MB / 0.6199 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02247/1.818, allocations: 14.92 MB / 0.9432 GB, free: 70.93 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.505e-05/1.818, allocations: 9.125 kB / 0.9432 GB, free: 70.92 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002906/1.821, allocations: 0.7607 MB / 0.9439 GB, free: 70.16 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003607/1.825, allocations: 1.566 MB / 0.9454 GB, free: 68.57 MB / 0.6199 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002861/1.825, allocations: 116 kB / 0.9456 GB, free: 68.45 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01785/1.843, allocations: 20.13 MB / 0.9652 GB, free: 47.64 MB / 0.6199 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/1.843, allocations: 4 kB / 0.9652 GB, free: 47.63 MB / 0.6199 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01496/1.858, allocations: 11.3 MB / 0.9763 GB, free: 36.23 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002413/1.86, allocations: 1.074 MB / 0.9773 GB, free: 35.15 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006808/1.861, allocations: 99.94 kB / 0.9774 GB, free: 35.05 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00218/1.863, allocations: 231.8 kB / 0.9776 GB, free: 34.83 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007192/1.864, allocations: 363.5 kB / 0.978 GB, free: 34.47 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000253/1.864, allocations: 140 kB / 0.9781 GB, free: 34.34 MB / 0.6199 GB Notification: Performance of sorting global known variables: time 0.003208/1.867, allocations: 2.802 MB / 0.9808 GB, free: 31.53 MB / 0.6199 GB Notification: Performance of sort global known variables: time 8e-08/1.867, allocations: 3.938 kB / 0.9808 GB, free: 31.52 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.005443/1.873, allocations: 1.883 MB / 0.9827 GB, free: 29.64 MB / 0.6199 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.003181/1.876, allocations: 0.6042 MB / 0.9833 GB, free: 29.2 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.0106/1.887, allocations: 7.734 MB / 0.9908 GB, free: 21.41 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/1.887, allocations: 0 / 0.9908 GB, free: 21.41 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 0.006091/1.893, allocations: 4.383 MB / 0.9951 GB, free: 16.94 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005002/1.898, allocations: 1.153 MB / 0.9962 GB, free: 15.81 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03072/1.928, allocations: 19.75 MB / 1.016 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01117/1.94, allocations: 6.433 MB / 1.022 GB, free: 5.488 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.006146/1.946, allocations: 1.792 MB / 1.024 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001252/1.947, allocations: 399.3 kB / 1.024 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of SimCode: time 8.21e-07/1.947, allocations: 0 / 1.024 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of Templates: time 0.4268/2.374, allocations: 86.1 MB / 1.108 GB, free: 184.1 MB / 0.6668 GB " [Timeout remaining time 658] 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: 11.263212950900197]