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.001665/0.001665, allocations: 108 kB / 15.6 MB, free: 132 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.002184/0.002184, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.577/1.577, allocations: 205.1 MB / 222.4 MB, free: 4.582 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.001287/0.001287, allocations: 51.92 kB / 278.7 MB, free: 12.34 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.2816, allocations: 46.63 MB / 325.3 MB, free: 1.863 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.03591/0.3176, allocations: 34.07 MB / 359.4 MB, free: 1.723 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02314/0.3408, allocations: 9.57 MB / 369 MB, free: 8.125 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009272/0.3501, allocations: 211.2 kB / 369.2 MB, free: 7.918 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02125/0.3714, allocations: 8.151 MB / 377.3 MB, free: 15.72 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.01684/0.3883, allocations: 3.803 MB / 381.1 MB, free: 11.9 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009619/0.3979, allocations: 2.295 MB / 383.4 MB, free: 9.605 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02265/0.4206, allocations: 13.25 MB / 396.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04109/0.4617, allocations: 22.76 MB / 419.4 MB, free: 5.371 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01368/0.4755, allocations: 6.689 MB / 426.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01451/0.49, allocations: 7.459 MB / 433.6 MB, free: 7.18 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00648/0.4966, allocations: 1.918 MB / 435.5 MB, free: 5.262 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009213/0.5058, allocations: 2.316 MB / 437.8 MB, free: 2.945 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007554/0.5134, allocations: 3.846 MB / 441.7 MB, free: 15.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0169/0.5303, allocations: 7.276 MB / 449 MB, free: 7.785 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.263/0.7934, allocations: 25.19 MB / 474.1 MB, free: 50.61 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.7935, allocations: 0 / 474.1 MB, free: 50.61 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.7935, allocations: 0.8125 kB / 474.1 MB, free: 50.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0009694/0.7945, allocations: 0 / 474.1 MB, free: 50.61 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.06273/0.8572, allocations: 15.06 MB / 489.2 MB, free: 44.11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.8573, allocations: 11.53 kB / 489.2 MB, free: 44.11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04342/0.9007, allocations: 7.698 MB / 496.9 MB, free: 41.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01699/0.9177, allocations: 7.378 MB / 0.4925 GB, free: 36.98 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007419/0.9185, allocations: 0.8235 MB / 0.4933 GB, free: 36.51 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00582/0.9243, allocations: 1.094 MB / 0.4943 GB, free: 35.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05604/0.9804, allocations: 17.88 MB / 0.5118 GB, free: 17.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007875/0.9812, allocations: 19.8 kB / 0.5118 GB, free: 17.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006713/0.9879, allocations: 461.3 kB / 0.5123 GB, free: 17.06 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000761/0.9887, allocations: 0.6645 MB / 0.5129 GB, free: 16.4 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04296/1.032, allocations: 17.05 MB / 0.5296 GB, free: 15.35 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1257/1.157, allocations: 56.82 MB / 0.585 GB, free: 6.344 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2758/1.433, allocations: 42.42 MB / 0.6265 GB, free: 165.2 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009812/1.443, allocations: 4.608 MB / 0.631 GB, free: 165.1 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02374/1.467, allocations: 13.2 MB / 0.6439 GB, free: 160.4 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003767/1.471, allocations: 3.09 MB / 0.6469 GB, free: 159.1 MB / 478.1 MB Notification: Performance of pre-optimization done (n=434): time 6.162e-06/1.471, allocations: 0 / 0.6469 GB, free: 159.1 MB / 478.1 MB Notification: Performance of matching and sorting (n=452): time 0.04767/1.518, allocations: 23.48 MB / 0.6698 GB, free: 146.4 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000131/1.519, allocations: 411.3 kB / 0.6702 GB, free: 145.9 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008089/1.527, allocations: 4.726 MB / 0.6748 GB, free: 141.9 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009633/1.528, allocations: 97.7 kB / 0.6749 GB, free: 141.8 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004575/1.532, allocations: 4.892 MB / 0.6797 GB, free: 137.5 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001772/1.534, allocations: 1.554 MB / 0.6812 GB, free: 136.1 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001744/1.536, allocations: 1.192 MB / 0.6824 GB, free: 135 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 6.263e-05/1.536, allocations: 305.1 kB / 0.6827 GB, free: 134.7 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00373/1.54, allocations: 2.885 MB / 0.6855 GB, free: 132 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004717/1.544, allocations: 5.314 MB / 0.6907 GB, free: 125.7 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008853/1.553, allocations: 8.68 MB / 0.6991 GB, free: 115.9 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.191e-05/1.553, allocations: 24 kB / 0.6992 GB, free: 115.9 MB / 478.1 MB Notification: Performance of matching and sorting (n=811) (initialization): time 0.01609/1.569, allocations: 9.892 MB / 0.7088 GB, free: 106 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.987e-05/1.569, allocations: 36 kB / 0.7089 GB, free: 105.9 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001279/1.57, allocations: 76 kB / 0.7089 GB, free: 105.9 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003868/1.573, allocations: 1.498 MB / 0.7104 GB, free: 104.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004842/1.578, allocations: 1.408 MB / 0.7118 GB, free: 102.9 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01813/1.596, allocations: 17.65 MB / 0.729 GB, free: 84.62 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006791/1.603, allocations: 371.5 kB / 0.7294 GB, free: 84.25 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001631/1.605, allocations: 312 kB / 0.7297 GB, free: 83.95 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.00919/1.614, allocations: 3.967 MB / 0.7335 GB, free: 79.97 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002064/1.616, allocations: 0.5056 MB / 0.734 GB, free: 79.46 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01642/1.633, allocations: 7.966 MB / 0.7418 GB, free: 71.4 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-05/1.633, allocations: 51.94 kB / 0.7418 GB, free: 71.35 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.868e-05/1.633, allocations: 16 kB / 0.7419 GB, free: 71.34 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.87e-05/1.633, allocations: 23.91 kB / 0.7419 GB, free: 71.31 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03357/1.666, allocations: 17.53 MB / 0.759 GB, free: 53.69 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.394e-05/1.667, allocations: 4 kB / 0.759 GB, free: 53.68 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002883/1.669, allocations: 0.7612 MB / 0.7598 GB, free: 52.92 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0039/1.673, allocations: 1.556 MB / 0.7613 GB, free: 51.34 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003173/1.674, allocations: 116 kB / 0.7614 GB, free: 51.23 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01892/1.693, allocations: 21.29 MB / 0.7822 GB, free: 29 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/1.693, allocations: 12.05 kB / 0.7822 GB, free: 28.98 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01643/1.709, allocations: 11.47 MB / 0.7934 GB, free: 17.38 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003448/1.713, allocations: 1.158 MB / 0.7945 GB, free: 16.19 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001144/1.714, allocations: 99.91 kB / 0.7946 GB, free: 16.09 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002648/1.716, allocations: 231.8 kB / 0.7948 GB, free: 15.87 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007796/1.717, allocations: 343.6 kB / 0.7952 GB, free: 15.53 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002601/1.717, allocations: 132 kB / 0.7953 GB, free: 15.4 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004796/1.722, allocations: 3.205 MB / 0.7984 GB, free: 12.2 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.6e-07/1.722, allocations: 0 / 0.7984 GB, free: 12.2 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.008255/1.731, allocations: 1.918 MB / 0.8003 GB, free: 10.29 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.001898/1.732, allocations: 0.5658 MB / 0.8008 GB, free: 9.727 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.2689/2.001, allocations: 14.49 MB / 0.815 GB, free: 164.6 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.176e-05/2.001, allocations: 0 / 0.815 GB, free: 164.6 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008748/2.01, allocations: 4.658 MB / 0.8195 GB, free: 163.6 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008279/2.018, allocations: 1.346 MB / 0.8209 GB, free: 163.5 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04234/2.061, allocations: 20.02 MB / 0.8404 GB, free: 150.7 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009797/2.071, allocations: 6.916 MB / 0.8472 GB, free: 145.4 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0068/2.078, allocations: 1.927 MB / 0.849 GB, free: 144.1 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001446/2.079, allocations: 399.8 kB / 0.8494 GB, free: 143.7 MB / 478.1 MB Notification: Performance of SimCode: time 1.323e-06/2.079, allocations: 0 / 0.8494 GB, free: 143.7 MB / 478.1 MB Notification: Performance of Templates: time 0.1477/2.227, allocations: 86.71 MB / 0.9341 GB, free: 59.86 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)