Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_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.1_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.1_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.001219/0.001219, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001369/0.001369, allocations: 193.7 kB / 16.25 MB, free: 6.637 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.594/1.594, allocations: 205.1 MB / 222.1 MB, free: 4.703 MB / 174.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.001418/0.001418, allocations: 56.25 kB / 278.3 MB, free: 12.64 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2847/0.2861, allocations: 46.62 MB / 324.9 MB, free: 1.965 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.03566/0.3218, allocations: 33.48 MB / 358.4 MB, free: 2.516 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02342/0.3453, allocations: 9.423 MB / 367.8 MB, free: 9.066 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009842/0.3551, allocations: 203.2 kB / 368 MB, free: 8.867 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02015/0.3754, allocations: 7.666 MB / 375.6 MB, free: 1.172 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01727/0.3927, allocations: 3.441 MB / 379.1 MB, free: 13.71 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00863/0.4013, allocations: 2.128 MB / 381.2 MB, free: 11.58 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02121/0.4225, allocations: 13.46 MB / 394.7 MB, free: 14.08 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04634/0.4689, allocations: 25.31 MB / 420 MB, free: 4.609 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01472/0.4837, allocations: 6.618 MB / 426.6 MB, free: 13.97 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0137/0.4974, allocations: 7.494 MB / 434.1 MB, free: 6.453 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007289/0.5048, allocations: 1.902 MB / 436 MB, free: 4.551 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009512/0.5143, allocations: 2.312 MB / 438.3 MB, free: 2.238 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008095/0.5224, allocations: 3.85 MB / 442.2 MB, free: 14.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01741/0.5399, allocations: 7.272 MB / 449.4 MB, free: 7.078 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2736/0.8136, allocations: 25.16 MB / 474.6 MB, free: 52.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.8136, allocations: 0 / 474.6 MB, free: 52.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.8136, allocations: 2.25 kB / 474.6 MB, free: 52.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0008454/0.8145, allocations: 0 / 474.6 MB, free: 52.11 MB / 382.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.05572/0.8702, allocations: 15.05 MB / 489.6 MB, free: 45.61 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.8703, allocations: 7.844 kB / 489.6 MB, free: 45.61 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04151/0.9118, allocations: 7.708 MB / 497.4 MB, free: 42.67 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.017/0.9288, allocations: 7.327 MB / 0.4928 GB, free: 38.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001121/0.93, allocations: 0.8221 MB / 0.4937 GB, free: 37.89 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006686/0.9367, allocations: 1.099 MB / 0.4947 GB, free: 36.81 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05218/0.9889, allocations: 17.87 MB / 0.5122 GB, free: 18.9 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006528/0.9896, allocations: 19.8 kB / 0.5122 GB, free: 18.88 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007458/0.997, allocations: 464.2 kB / 0.5126 GB, free: 18.45 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009412/0.998, allocations: 0.6636 MB / 0.5133 GB, free: 17.78 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03756/1.036, allocations: 17.06 MB / 0.5299 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1252/1.161, allocations: 56.82 MB / 0.5854 GB, free: 7.719 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2337/1.395, allocations: 42.41 MB / 0.6268 GB, free: 167.4 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01031/1.405, allocations: 4.603 MB / 0.6313 GB, free: 167.3 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02391/1.429, allocations: 13.21 MB / 0.6442 GB, free: 162.6 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00449/1.433, allocations: 3.094 MB / 0.6473 GB, free: 161.3 MB / 478.1 MB Notification: Performance of pre-optimization done (n=434): time 8.797e-06/1.433, allocations: 0 / 0.6473 GB, free: 161.3 MB / 478.1 MB Notification: Performance of matching and sorting (n=452): time 0.046/1.479, allocations: 23.48 MB / 0.6702 GB, free: 148.2 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001276/1.48, allocations: 415.3 kB / 0.6706 GB, free: 147.7 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00664/1.486, allocations: 4.719 MB / 0.6752 GB, free: 143.7 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001113/1.487, allocations: 101.7 kB / 0.6753 GB, free: 143.6 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004355/1.492, allocations: 4.9 MB / 0.6801 GB, free: 139.3 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001732/1.493, allocations: 1.544 MB / 0.6816 GB, free: 137.9 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001811/1.495, allocations: 1.196 MB / 0.6827 GB, free: 136.8 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.069e-05/1.495, allocations: 309.1 kB / 0.683 GB, free: 136.5 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003597/1.499, allocations: 2.882 MB / 0.6859 GB, free: 133.7 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004752/1.504, allocations: 5.307 MB / 0.691 GB, free: 127.4 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00951/1.513, allocations: 8.683 MB / 0.6995 GB, free: 117.6 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.764e-05/1.513, allocations: 24 kB / 0.6995 GB, free: 117.6 MB / 478.1 MB Notification: Performance of matching and sorting (n=811) (initialization): time 0.01731/1.531, allocations: 9.886 MB / 0.7092 GB, free: 107.7 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.357e-05/1.531, allocations: 37 kB / 0.7092 GB, free: 107.6 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001144/1.531, allocations: 76 kB / 0.7093 GB, free: 107.6 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003584/1.534, allocations: 1.504 MB / 0.7108 GB, free: 106 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005543/1.54, allocations: 1.412 MB / 0.7122 GB, free: 104.6 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01633/1.556, allocations: 17.63 MB / 0.7294 GB, free: 86.32 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006403/1.563, allocations: 370.4 kB / 0.7297 GB, free: 85.96 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001329/1.564, allocations: 304 kB / 0.73 GB, free: 85.66 MB / 478.1 MB 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.009802/1.574, allocations: 3.979 MB / 0.7339 GB, free: 81.67 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001592/1.576, allocations: 0.5094 MB / 0.7344 GB, free: 81.15 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01344/1.589, allocations: 7.962 MB / 0.7422 GB, free: 73.11 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.661e-05/1.589, allocations: 51.94 kB / 0.7422 GB, free: 73.05 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.938e-05/1.589, allocations: 16 kB / 0.7422 GB, free: 73.04 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.07e-05/1.589, allocations: 19.92 kB / 0.7423 GB, free: 73.02 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03018/1.619, allocations: 17.54 MB / 0.7594 GB, free: 55.39 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-05/1.619, allocations: 4 kB / 0.7594 GB, free: 55.39 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003318/1.623, allocations: 0.7612 MB / 0.7601 GB, free: 54.62 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003922/1.627, allocations: 1.562 MB / 0.7617 GB, free: 53.04 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001023/1.628, allocations: 112 kB / 0.7618 GB, free: 52.93 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0189/1.647, allocations: 21.29 MB / 0.7826 GB, free: 30.7 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/1.647, allocations: 4 kB / 0.7826 GB, free: 30.7 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01703/1.664, allocations: 11.48 MB / 0.7938 GB, free: 19.08 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003467/1.667, allocations: 1.154 MB / 0.7949 GB, free: 17.9 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001519/1.669, allocations: 99.98 kB / 0.795 GB, free: 17.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00331/1.672, allocations: 235.8 kB / 0.7952 GB, free: 17.57 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008579/1.673, allocations: 335.6 kB / 0.7955 GB, free: 17.24 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002746/1.673, allocations: 132 kB / 0.7957 GB, free: 17.11 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00513/1.678, allocations: 3.213 MB / 0.7988 GB, free: 13.91 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.41e-07/1.678, allocations: 0 / 0.7988 GB, free: 13.91 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01046/1.689, allocations: 1.91 MB / 0.8007 GB, free: 12 MB / 478.1 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 (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.002268/1.691, allocations: 0.5792 MB / 0.8012 GB, free: 11.43 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.2531/1.944, allocations: 14.48 MB / 0.8154 GB, free: 165.5 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.321e-05/1.944, allocations: 0 / 0.8154 GB, free: 165.5 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009822/1.954, allocations: 4.66 MB / 0.8199 GB, free: 164.6 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01191/1.966, allocations: 1.346 MB / 0.8212 GB, free: 164.4 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04636/2.012, allocations: 24.7 MB / 0.8454 GB, free: 145.6 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01971/2.032, allocations: 6.913 MB / 0.8521 GB, free: 140.2 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.01107/2.043, allocations: 1.932 MB / 0.854 GB, free: 138.9 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002649/2.046, allocations: 400.3 kB / 0.8544 GB, free: 138.5 MB / 478.1 MB Notification: Performance of SimCode: time 1.292e-06/2.046, allocations: 0 / 0.8544 GB, free: 138.5 MB / 478.1 MB Notification: Performance of Templates: time 0.1517/2.198, allocations: 86.77 MB / 0.9391 GB, free: 54.51 MB / 478.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile (rm -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & ./Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1)