Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=400000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=400000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 114.1 kB / 17.06 MB, free: 5.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001604/0.001604, allocations: 200 kB / 18 MB, free: 4.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.44/1.44, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 51.92 kB / 327.9 MB, free: 3.258 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1225, allocations: 46.62 MB / 374.5 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.3163/0.4388, allocations: 34.08 MB / 408.6 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03053/0.4694, allocations: 9.565 MB / 418.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01266/0.4821, allocations: 210.4 kB / 418.4 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02255/0.5047, allocations: 8.155 MB / 426.5 MB, free: 9.73 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.01845/0.5232, allocations: 3.801 MB / 430.3 MB, free: 6.672 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009818/0.5331, allocations: 2.312 MB / 432.6 MB, free: 4.789 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02423/0.5573, allocations: 13.34 MB / 446 MB, free: 8.105 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03578/0.5932, allocations: 22.61 MB / 468.6 MB, free: 1.324 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01435/0.6076, allocations: 6.728 MB / 475.3 MB, free: 10.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01618/0.6238, allocations: 7.428 MB / 482.8 MB, free: 3.121 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007889/0.6318, allocations: 1.91 MB / 484.7 MB, free: 1.211 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01117/0.643, allocations: 2.312 MB / 487 MB, free: 14.9 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008343/0.6514, allocations: 3.85 MB / 490.8 MB, free: 11.04 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01746/0.6689, allocations: 7.28 MB / 498.1 MB, free: 3.734 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03932/0.7083, allocations: 25.33 MB / 0.5112 GB, free: 10.33 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.086e-05/0.7083, allocations: 0 / 0.5112 GB, free: 10.33 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.7084, allocations: 0 / 0.5112 GB, free: 10.33 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0008694/0.7092, allocations: 0 / 0.5112 GB, free: 10.33 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3076 * Number of variables: 3076 Notification: Performance of Generate backend data structure: time 0.05686/0.7661, allocations: 15 MB / 0.5258 GB, free: 11.21 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.702e-05/0.7662, allocations: 12.03 kB / 0.5258 GB, free: 11.2 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04392/0.8101, allocations: 7.746 MB / 0.5334 GB, free: 3.43 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02182/0.832, allocations: 7.403 MB / 0.5406 GB, free: 11.95 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009153/0.8329, allocations: 0.8266 MB / 0.5414 GB, free: 11.12 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005585/0.8385, allocations: 1.086 MB / 0.5425 GB, free: 10.03 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4742/1.313, allocations: 17.87 MB / 0.5599 GB, free: 130 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000436/1.313, allocations: 21.31 kB / 0.56 GB, free: 130 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003738/1.317, allocations: 461.1 kB / 0.5604 GB, free: 129.7 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008806/1.318, allocations: 0.6741 MB / 0.5611 GB, free: 129.6 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03799/1.356, allocations: 17.06 MB / 0.5777 GB, free: 123.1 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08921/1.445, allocations: 56.15 MB / 0.6325 GB, free: 76.8 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02336/1.468, allocations: 42.42 MB / 0.674 GB, free: 30.1 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006388/1.475, allocations: 4.581 MB / 0.6784 GB, free: 25.51 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02045/1.495, allocations: 13.15 MB / 0.6913 GB, free: 12.38 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003448/1.499, allocations: 3.097 MB / 0.6943 GB, free: 9.223 MB / 478.1 MB Notification: Performance of pre-optimization done (n=434): time 6.963e-06/1.499, allocations: 0 / 0.6943 GB, free: 9.223 MB / 478.1 MB Notification: Performance of matching and sorting (n=452): time 0.04625/1.545, allocations: 23.5 MB / 0.7172 GB, free: 1.582 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001954/1.545, allocations: 415.4 kB / 0.7176 GB, free: 1.09 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00682/1.552, allocations: 4.721 MB / 0.7223 GB, free: 12.36 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.000952/1.553, allocations: 101.6 kB / 0.7224 GB, free: 12.26 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.004625/1.558, allocations: 4.897 MB / 0.7271 GB, free: 7.328 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.002317/1.56, allocations: 1.55 MB / 0.7287 GB, free: 5.793 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002078/1.562, allocations: 1.196 MB / 0.7298 GB, free: 4.586 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.000122/1.562, allocations: 302.6 kB / 0.7301 GB, free: 4.289 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004539/1.567, allocations: 2.886 MB / 0.7329 GB, free: 1.398 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005706/1.573, allocations: 5.308 MB / 0.7381 GB, free: 11.01 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01059/1.583, allocations: 8.679 MB / 0.7466 GB, free: 1.289 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-05/1.583, allocations: 20 kB / 0.7466 GB, free: 1.27 MB / 0.5138 GB Notification: Performance of matching and sorting (n=811) (initialization): time 0.2783/1.862, allocations: 9.887 MB / 0.7563 GB, free: 164 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 9.1e-05/1.862, allocations: 36.88 kB / 0.7563 GB, free: 164 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001697/1.862, allocations: 74.12 kB / 0.7564 GB, free: 164 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004711/1.867, allocations: 1.5 MB / 0.7578 GB, free: 163.7 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006668/1.873, allocations: 1.408 MB / 0.7592 GB, free: 163.6 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02432/1.898, allocations: 17.63 MB / 0.7764 GB, free: 151.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00641/1.904, allocations: 361.8 kB / 0.7768 GB, free: 151.4 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0017/1.906, allocations: 309.4 kB / 0.7771 GB, free: 151.4 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 336 * 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 (727): * Single equations (assignments): 721 * 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.009762/1.916, allocations: 3.974 MB / 0.7809 GB, free: 149.4 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001511/1.917, allocations: 0.5025 MB / 0.7814 GB, free: 149.4 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0138/1.931, allocations: 7.96 MB / 0.7892 GB, free: 146 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.255e-05/1.931, allocations: 49.84 kB / 0.7893 GB, free: 146 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.311e-05/1.931, allocations: 14.09 kB / 0.7893 GB, free: 146 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.392e-05/1.931, allocations: 25.83 kB / 0.7893 GB, free: 146 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03103/1.962, allocations: 17.44 MB / 0.8063 GB, free: 138.7 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.896e-05/1.962, allocations: 7.656 kB / 0.8063 GB, free: 138.7 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003349/1.966, allocations: 0.7539 MB / 0.8071 GB, free: 138.3 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004018/1.97, allocations: 1.563 MB / 0.8086 GB, free: 137.1 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007244/1.97, allocations: 107.5 kB / 0.8087 GB, free: 137 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01955/1.99, allocations: 21.28 MB / 0.8295 GB, free: 116.3 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.451e-06/1.99, allocations: 7.938 kB / 0.8295 GB, free: 116.3 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01713/2.007, allocations: 11.48 MB / 0.8407 GB, free: 104.8 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003695/2.011, allocations: 1.153 MB / 0.8418 GB, free: 103.7 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00144/2.012, allocations: 99.98 kB / 0.8419 GB, free: 103.6 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003108/2.016, allocations: 231.8 kB / 0.8421 GB, free: 103.3 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008538/2.016, allocations: 335.6 kB / 0.8425 GB, free: 103 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002737/2.017, allocations: 136 kB / 0.8426 GB, free: 102.9 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.005151/2.022, allocations: 3.209 MB / 0.8457 GB, free: 99.67 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.944e-06/2.022, allocations: 0 / 0.8457 GB, free: 99.67 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.009247/2.031, allocations: 1.912 MB / 0.8476 GB, free: 97.77 MB / 0.5138 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 (396): * Single equations (assignments): 387 * 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,13,100.0%), (1,3,100.0%), (1,8,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.001983/2.033, allocations: 0.582 MB / 0.8482 GB, free: 97.21 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01315/2.046, allocations: 8.248 MB / 0.8562 GB, free: 88.9 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.144e-05/2.046, allocations: 0 / 0.8562 GB, free: 88.9 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.007748/2.054, allocations: 4.655 MB / 0.8608 GB, free: 84.17 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006999/2.061, allocations: 1.349 MB / 0.8621 GB, free: 82.81 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03417/2.095, allocations: 19.78 MB / 0.8814 GB, free: 63 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008487/2.104, allocations: 6.912 MB / 0.8881 GB, free: 56.05 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.005768/2.11, allocations: 1.921 MB / 0.89 GB, free: 54.12 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001315/2.111, allocations: 407.3 kB / 0.8904 GB, free: 53.73 MB / 0.5138 GB Notification: Performance of SimCode: time 1.473e-06/2.111, allocations: 0 / 0.8904 GB, free: 53.73 MB / 0.5138 GB Notification: Performance of Templates: time 0.4222/2.533, allocations: 83.22 MB / 0.9717 GB, free: 146.1 MB / 0.5138 GB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1)