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.001358/0.001358, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001673/0.001673, allocations: 195.9 kB / 16.14 MB, free: 6.715 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.466/1.466, allocations: 205.1 MB / 222 MB, free: 4.75 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.001376/0.001376, allocations: 47.94 kB / 278.1 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2669/0.2683, allocations: 46.63 MB / 324.7 MB, free: 1.938 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.03429/0.3027, allocations: 33.48 MB / 358.2 MB, free: 2.531 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02416/0.3269, allocations: 9.465 MB / 367.6 MB, free: 9.043 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009431/0.3364, allocations: 199.2 kB / 367.8 MB, free: 8.848 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01913/0.3556, allocations: 7.654 MB / 375.5 MB, free: 1.164 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01524/0.3709, allocations: 3.484 MB / 379 MB, free: 13.66 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008184/0.3791, allocations: 2.14 MB / 381.1 MB, free: 11.52 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02041/0.3995, allocations: 13.68 MB / 394.8 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03321/0.4328, allocations: 18.31 MB / 413.1 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01161/0.4444, allocations: 5.626 MB / 418.7 MB, free: 5.684 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01319/0.4577, allocations: 6.994 MB / 425.7 MB, free: 14.66 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006336/0.464, allocations: 1.164 MB / 426.9 MB, free: 13.5 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00836/0.4724, allocations: 1.566 MB / 428.5 MB, free: 11.93 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007348/0.4798, allocations: 3.084 MB / 431.5 MB, free: 8.84 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01587/0.4957, allocations: 6.499 MB / 438 MB, free: 2.312 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4013/0.8971, allocations: 24.66 MB / 462.7 MB, free: 43.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.8971, allocations: 0 / 462.7 MB, free: 43.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.8971, allocations: 0 / 462.7 MB, free: 43.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0008047/0.8979, allocations: 0.75 kB / 462.7 MB, free: 43.96 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.04902/0.947, allocations: 15.05 MB / 477.8 MB, free: 40.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.947, allocations: 8.969 kB / 477.8 MB, free: 40.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04274/0.9898, allocations: 7.699 MB / 485.5 MB, free: 37.26 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01562/1.005, allocations: 7.33 MB / 492.8 MB, free: 35.24 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006834/1.006, allocations: 0.8262 MB / 493.6 MB, free: 35.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004723/1.011, allocations: 1.085 MB / 494.7 MB, free: 35.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04057/1.051, allocations: 17.88 MB / 0.5006 GB, free: 19.03 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003145/1.052, allocations: 19.81 kB / 0.5006 GB, free: 19.01 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00268/1.055, allocations: 460.2 kB / 0.501 GB, free: 18.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004535/1.055, allocations: 0.6724 MB / 0.5017 GB, free: 17.9 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02971/1.085, allocations: 17.05 MB / 0.5183 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1022/1.187, allocations: 56.81 MB / 0.5738 GB, free: 7.855 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03257/1.22, allocations: 42.42 MB / 0.6152 GB, free: 9.133 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008054/1.228, allocations: 4.607 MB / 0.6197 GB, free: 4.512 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1927/1.42, allocations: 13.2 MB / 0.6326 GB, free: 189.8 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003674/1.424, allocations: 3.095 MB / 0.6357 GB, free: 188.5 MB / 494.1 MB Notification: Performance of pre-optimization done (n=434): time 5.981e-06/1.424, allocations: 3.938 kB / 0.6357 GB, free: 188.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=452): time 0.04429/1.468, allocations: 23.48 MB / 0.6586 GB, free: 178.9 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000117/1.469, allocations: 413.8 kB / 0.659 GB, free: 178.4 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006141/1.475, allocations: 4.724 MB / 0.6636 GB, free: 174.8 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007307/1.475, allocations: 101.7 kB / 0.6637 GB, free: 174.7 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003471/1.479, allocations: 4.891 MB / 0.6685 GB, free: 170.4 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001676/1.481, allocations: 1.548 MB / 0.67 GB, free: 169 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002429/1.483, allocations: 1.196 MB / 0.6711 GB, free: 167.9 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.302e-05/1.483, allocations: 309.1 kB / 0.6714 GB, free: 167.6 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003694/1.487, allocations: 2.887 MB / 0.6743 GB, free: 165.1 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004832/1.492, allocations: 5.306 MB / 0.6794 GB, free: 159.3 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009724/1.501, allocations: 8.681 MB / 0.6879 GB, free: 150.1 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.367e-05/1.502, allocations: 24 kB / 0.6879 GB, free: 150.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=811) (initialization): time 0.01573/1.517, allocations: 9.895 MB / 0.6976 GB, free: 140.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.687e-05/1.517, allocations: 37.03 kB / 0.6976 GB, free: 140.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001205/1.518, allocations: 79.59 kB / 0.6977 GB, free: 140 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00379/1.521, allocations: 1.493 MB / 0.6992 GB, free: 138.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005212/1.527, allocations: 1.408 MB / 0.7005 GB, free: 137.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01699/1.544, allocations: 16.33 MB / 0.7165 GB, free: 120.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005739/1.549, allocations: 367.7 kB / 0.7168 GB, free: 119.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001301/1.551, allocations: 304 kB / 0.7171 GB, free: 119.5 MB / 494.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.007503/1.558, allocations: 3.966 MB / 0.721 GB, free: 115.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001675/1.56, allocations: 0.5132 MB / 0.7215 GB, free: 115 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01445/1.574, allocations: 7.957 MB / 0.7293 GB, free: 106.9 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.752e-05/1.574, allocations: 48 kB / 0.7293 GB, free: 106.9 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.307e-05/1.574, allocations: 16 kB / 0.7293 GB, free: 106.9 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.33e-05/1.575, allocations: 23.91 kB / 0.7294 GB, free: 106.9 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0324/1.607, allocations: 17.53 MB / 0.7465 GB, free: 89.24 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.499e-05/1.607, allocations: 4.562 kB / 0.7465 GB, free: 89.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00293/1.61, allocations: 0.7606 MB / 0.7472 GB, free: 88.47 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003819/1.614, allocations: 1.562 MB / 0.7488 GB, free: 86.89 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004266/1.614, allocations: 112 kB / 0.7489 GB, free: 86.78 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01731/1.632, allocations: 19.56 MB / 0.768 GB, free: 66.3 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/1.632, allocations: 16 kB / 0.768 GB, free: 66.29 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01566/1.647, allocations: 11.47 MB / 0.7792 GB, free: 54.68 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00285/1.65, allocations: 1.15 MB / 0.7803 GB, free: 53.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001073/1.651, allocations: 104 kB / 0.7804 GB, free: 53.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002653/1.654, allocations: 239.7 kB / 0.7806 GB, free: 53.17 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008109/1.655, allocations: 335.6 kB / 0.781 GB, free: 52.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002607/1.655, allocations: 140 kB / 0.7811 GB, free: 52.7 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004123/1.659, allocations: 3.197 MB / 0.7842 GB, free: 49.51 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/1.659, allocations: 0 / 0.7842 GB, free: 49.51 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007197/1.666, allocations: 1.914 MB / 0.7861 GB, free: 47.6 MB / 494.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.001464/1.668, allocations: 0.5745 MB / 0.7867 GB, free: 47.04 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0121/1.68, allocations: 8.214 MB / 0.7947 GB, free: 38.75 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/1.68, allocations: 4.812 kB / 0.7947 GB, free: 38.75 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006774/1.687, allocations: 4.651 MB / 0.7992 GB, free: 34.02 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007402/1.694, allocations: 1.268 MB / 0.8005 GB, free: 32.75 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2252/1.919, allocations: 24.71 MB / 0.8246 GB, free: 169.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007243/1.927, allocations: 6.914 MB / 0.8313 GB, free: 168.6 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005801/1.932, allocations: 1.922 MB / 0.8332 GB, free: 168.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001129/1.934, allocations: 402.1 kB / 0.8336 GB, free: 168.4 MB / 494.1 MB Notification: Performance of SimCode: time 1.173e-06/1.934, allocations: 4 kB / 0.8336 GB, free: 168.4 MB / 494.1 MB Notification: Performance of Templates: time 0.1256/2.059, allocations: 83.78 MB / 0.9154 GB, free: 96.71 MB / 494.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)