Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001433/0.001433, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00186/0.00186, allocations: 196.7 kB / 16.53 MB, free: 6.664 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.499/1.499, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.001249/0.001249, allocations: 51.94 kB / 278.7 MB, free: 12.32 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2685/0.2698, allocations: 46.63 MB / 325.3 MB, free: 1.855 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.03673/0.3066, allocations: 34.07 MB / 359.4 MB, free: 1.719 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0257/0.3323, allocations: 9.57 MB / 369 MB, free: 8.121 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009603/0.3419, allocations: 211.2 kB / 369.2 MB, free: 7.914 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.021/0.363, allocations: 8.143 MB / 377.3 MB, free: 15.73 MB / 318.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.01691/0.3799, allocations: 3.803 MB / 381.1 MB, free: 11.91 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008746/0.3887, allocations: 2.308 MB / 383.4 MB, free: 9.598 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02051/0.4092, allocations: 13.25 MB / 396.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0467/0.456, allocations: 22.78 MB / 419.5 MB, free: 5.355 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01443/0.4705, allocations: 6.682 MB / 426.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01541/0.4859, allocations: 7.455 MB / 433.6 MB, free: 7.176 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006574/0.4925, allocations: 1.906 MB / 435.5 MB, free: 5.27 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008289/0.5009, allocations: 2.324 MB / 437.8 MB, free: 2.945 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007278/0.5082, allocations: 3.846 MB / 441.7 MB, free: 15.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01578/0.524, allocations: 7.284 MB / 449 MB, free: 7.777 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2515/0.7756, allocations: 25.19 MB / 474.1 MB, free: 50.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.418e-06/0.7756, allocations: 0 / 474.1 MB, free: 50.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.7756, allocations: 1 kB / 474.1 MB, free: 50.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0009245/0.7766, allocations: 0 / 474.1 MB, free: 50.46 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.05667/0.8333, allocations: 15.06 MB / 489.2 MB, free: 43.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.8333, allocations: 7.656 kB / 489.2 MB, free: 43.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04502/0.8783, allocations: 7.701 MB / 496.9 MB, free: 41.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02174/0.9001, allocations: 7.376 MB / 0.4925 GB, free: 36.87 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001054/0.9012, allocations: 0.8254 MB / 0.4933 GB, free: 36.46 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006912/0.9082, allocations: 1.086 MB / 0.4943 GB, free: 35.39 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05566/0.9639, allocations: 17.88 MB / 0.5118 GB, free: 17.47 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007487/0.9647, allocations: 23.8 kB / 0.5118 GB, free: 17.45 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005792/0.9705, allocations: 458.9 kB / 0.5123 GB, free: 17.01 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007226/0.9712, allocations: 0.6636 MB / 0.5129 GB, free: 16.35 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04416/1.015, allocations: 17.05 MB / 0.5296 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1257/1.141, allocations: 56.82 MB / 0.5851 GB, free: 6.285 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2494/1.391, allocations: 42.41 MB / 0.6265 GB, free: 165.7 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0084/1.399, allocations: 4.609 MB / 0.631 GB, free: 165.6 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02024/1.419, allocations: 13.2 MB / 0.6439 GB, free: 160.8 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003675/1.423, allocations: 3.093 MB / 0.6469 GB, free: 159.5 MB / 478.1 MB Notification: Performance of pre-optimization done (n=434): time 6.062e-06/1.423, allocations: 0 / 0.6469 GB, free: 159.5 MB / 478.1 MB Notification: Performance of matching and sorting (n=452): time 0.04535/1.468, allocations: 23.47 MB / 0.6698 GB, free: 146.7 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001223/1.469, allocations: 414.8 kB / 0.6702 GB, free: 146.2 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00657/1.475, allocations: 4.724 MB / 0.6748 GB, free: 142.2 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008717/1.476, allocations: 101.7 kB / 0.6749 GB, free: 142.1 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004218/1.48, allocations: 4.894 MB / 0.6797 GB, free: 137.7 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001796/1.482, allocations: 1.545 MB / 0.6812 GB, free: 136.3 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001882/1.484, allocations: 1.196 MB / 0.6824 GB, free: 135.2 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 6.564e-05/1.484, allocations: 305.1 kB / 0.6827 GB, free: 134.9 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00375/1.488, allocations: 2.889 MB / 0.6855 GB, free: 132.2 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004854/1.493, allocations: 5.317 MB / 0.6907 GB, free: 125.9 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00913/1.502, allocations: 8.683 MB / 0.6991 GB, free: 116.1 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-05/1.502, allocations: 20 kB / 0.6992 GB, free: 116.1 MB / 478.1 MB Notification: Performance of matching and sorting (n=811) (initialization): time 0.01655/1.518, allocations: 9.889 MB / 0.7088 GB, free: 106.2 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.996e-05/1.519, allocations: 40 kB / 0.7089 GB, free: 106.1 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-05/1.519, allocations: 72 kB / 0.7089 GB, free: 106.1 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003672/1.522, allocations: 1.504 MB / 0.7104 GB, free: 104.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00559/1.528, allocations: 1.404 MB / 0.7118 GB, free: 103.1 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01799/1.546, allocations: 17.65 MB / 0.729 GB, free: 84.81 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00595/1.552, allocations: 363.5 kB / 0.7293 GB, free: 84.46 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001499/1.553, allocations: 308 kB / 0.7296 GB, free: 84.16 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.007986/1.561, allocations: 3.974 MB / 0.7335 GB, free: 80.17 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001508/1.563, allocations: 0.5017 MB / 0.734 GB, free: 79.66 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01246/1.575, allocations: 7.982 MB / 0.7418 GB, free: 71.59 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.892e-05/1.575, allocations: 44 kB / 0.7419 GB, free: 71.55 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.172e-05/1.576, allocations: 16 kB / 0.7419 GB, free: 71.54 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.96e-05/1.576, allocations: 23.91 kB / 0.7419 GB, free: 71.51 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02726/1.603, allocations: 17.54 MB / 0.759 GB, free: 53.88 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.441e-05/1.603, allocations: 4 kB / 0.759 GB, free: 53.88 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003138/1.606, allocations: 0.7495 MB / 0.7598 GB, free: 53.13 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00407/1.61, allocations: 1.566 MB / 0.7613 GB, free: 51.54 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007215/1.611, allocations: 108 kB / 0.7614 GB, free: 51.43 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01886/1.63, allocations: 21.3 MB / 0.7822 GB, free: 29.19 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/1.63, allocations: 7.938 kB / 0.7822 GB, free: 29.18 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01635/1.646, allocations: 11.48 MB / 0.7934 GB, free: 17.57 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002778/1.649, allocations: 1.15 MB / 0.7945 GB, free: 16.39 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009768/1.65, allocations: 99.91 kB / 0.7946 GB, free: 16.3 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002556/1.652, allocations: 239.8 kB / 0.7948 GB, free: 16.06 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007334/1.653, allocations: 331.6 kB / 0.7952 GB, free: 15.74 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002557/1.653, allocations: 136 kB / 0.7953 GB, free: 15.61 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004885/1.658, allocations: 3.205 MB / 0.7984 GB, free: 12.41 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.41e-07/1.658, allocations: 0 / 0.7984 GB, free: 12.41 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01258/1.671, allocations: 1.914 MB / 0.8003 GB, free: 10.49 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.002686/1.674, allocations: 0.5792 MB / 0.8009 GB, free: 9.926 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.3241/1.998, allocations: 14.48 MB / 0.815 GB, free: 166.4 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.086e-06/1.998, allocations: 3.906 kB / 0.815 GB, free: 166.4 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007572/2.005, allocations: 4.657 MB / 0.8195 GB, free: 165.4 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008107/2.014, allocations: 1.346 MB / 0.8209 GB, free: 165.2 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03621/2.05, allocations: 20.02 MB / 0.8404 GB, free: 152.1 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009532/2.059, allocations: 6.908 MB / 0.8472 GB, free: 146.8 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.006719/2.066, allocations: 1.927 MB / 0.849 GB, free: 145.5 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001743/2.068, allocations: 404.8 kB / 0.8494 GB, free: 145.1 MB / 478.1 MB Notification: Performance of SimCode: time 2.425e-06/2.068, allocations: 0 / 0.8494 GB, free: 145.1 MB / 478.1 MB Notification: Performance of Templates: time 0.1312/2.199, allocations: 86.71 MB / 0.9341 GB, free: 60.89 MB / 478.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & ./Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1)