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.006197/0.006197, allocations: 101.5 kB / 15.73 MB, free: 6.492 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.001172/0.001172, allocations: 195.7 kB / 16.68 MB, free: 6.375 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.507/1.507, allocations: 205.1 MB / 222.5 MB, free: 4.508 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.001395/0.001395, allocations: 43.17 kB / 326.6 MB, free: 14.38 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1228, allocations: 46.62 MB / 373.2 MB, free: 1.305 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.03794/0.1607, allocations: 34.08 MB / 407.3 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02537/0.1862, allocations: 9.555 MB / 416.8 MB, free: 5.488 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009313/0.1955, allocations: 211.2 kB / 417 MB, free: 5.281 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02197/0.2176, allocations: 8.233 MB / 425.3 MB, free: 13.01 MB / 366.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.01841/0.236, allocations: 3.866 MB / 429.1 MB, free: 9.125 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009028/0.2451, allocations: 2.315 MB / 431.5 MB, free: 6.805 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02123/0.2663, allocations: 13.34 MB / 444.8 MB, free: 9.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3094/0.5757, allocations: 22.62 MB / 467.4 MB, free: 8.457 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01212/0.5879, allocations: 6.741 MB / 474.2 MB, free: 8.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01281/0.6007, allocations: 7.426 MB / 481.6 MB, free: 6.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005838/0.6066, allocations: 1.908 MB / 483.5 MB, free: 6.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008197/0.6148, allocations: 2.314 MB / 485.8 MB, free: 6.836 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005958/0.6208, allocations: 3.851 MB / 489.7 MB, free: 6.418 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01295/0.6338, allocations: 7.275 MB / 496.9 MB, free: 2.738 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03127/0.6651, allocations: 25.33 MB / 0.51 GB, free: 14.5 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.568e-06/0.6651, allocations: 0 / 0.51 GB, free: 14.5 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.6652, allocations: 0 / 0.51 GB, free: 14.5 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0008517/0.666, allocations: 4 kB / 0.51 GB, free: 14.5 MB / 414.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.05121/0.7172, allocations: 15 MB / 0.5247 GB, free: 15.5 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.978e-05/0.7173, allocations: 8.031 kB / 0.5247 GB, free: 15.5 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04437/0.7617, allocations: 7.748 MB / 0.5323 GB, free: 7.824 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01796/0.7797, allocations: 7.411 MB / 0.5395 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008527/0.7806, allocations: 0.8191 MB / 0.5403 GB, free: 15.88 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005316/0.786, allocations: 1.09 MB / 0.5414 GB, free: 14.81 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06137/0.8473, allocations: 17.87 MB / 0.5588 GB, free: 12.9 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000815/0.8482, allocations: 19.84 kB / 0.5588 GB, free: 12.88 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005651/0.8539, allocations: 454.7 kB / 0.5593 GB, free: 12.45 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000751/0.8547, allocations: 0.6752 MB / 0.5599 GB, free: 11.78 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03974/0.8944, allocations: 17.05 MB / 0.5766 GB, free: 10.72 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1061/1.001, allocations: 56.16 MB / 0.6314 GB, free: 2.289 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5966/1.597, allocations: 42.4 MB / 0.6728 GB, free: 134 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008239/1.606, allocations: 4.577 MB / 0.6773 GB, free: 132.2 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02004/1.626, allocations: 13.17 MB / 0.6901 GB, free: 126 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003658/1.629, allocations: 3.1 MB / 0.6932 GB, free: 124.7 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=434): time 6.603e-06/1.629, allocations: 0 / 0.6932 GB, free: 124.7 MB / 0.5138 GB Notification: Performance of matching and sorting (n=452): time 0.04584/1.675, allocations: 23.48 MB / 0.7161 GB, free: 114.8 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001443/1.675, allocations: 412.5 kB / 0.7165 GB, free: 114.4 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006214/1.682, allocations: 4.722 MB / 0.7211 GB, free: 111.7 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0004977/1.682, allocations: 97.7 kB / 0.7212 GB, free: 111.6 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.003449/1.686, allocations: 4.899 MB / 0.726 GB, free: 106.9 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001304/1.687, allocations: 1.56 MB / 0.7275 GB, free: 105.3 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001513/1.688, allocations: 1.192 MB / 0.7287 GB, free: 104.1 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 5.813e-05/1.688, allocations: 305.1 kB / 0.729 GB, free: 103.8 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003397/1.692, allocations: 2.886 MB / 0.7318 GB, free: 100.9 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004231/1.696, allocations: 5.31 MB / 0.737 GB, free: 94.55 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008455/1.705, allocations: 8.683 MB / 0.7455 GB, free: 84.82 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.671e-05/1.705, allocations: 20 kB / 0.7455 GB, free: 84.8 MB / 0.5138 GB Notification: Performance of matching and sorting (n=811) (initialization): time 0.0142/1.719, allocations: 9.891 MB / 0.7551 GB, free: 74.86 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 4.897e-05/1.719, allocations: 36 kB / 0.7552 GB, free: 74.82 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.551e-05/1.719, allocations: 72.09 kB / 0.7552 GB, free: 74.75 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003473/1.723, allocations: 1.5 MB / 0.7567 GB, free: 73.23 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004897/1.727, allocations: 1.404 MB / 0.7581 GB, free: 71.83 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0173/1.745, allocations: 17.62 MB / 0.7753 GB, free: 53.53 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007458/1.752, allocations: 363.6 kB / 0.7756 GB, free: 53.17 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001829/1.754, allocations: 304 kB / 0.7759 GB, free: 52.88 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.01099/1.765, allocations: 3.98 MB / 0.7798 GB, free: 48.88 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002367/1.767, allocations: 0.5133 MB / 0.7803 GB, free: 48.36 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02064/1.788, allocations: 7.957 MB / 0.7881 GB, free: 40.32 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.182e-05/1.788, allocations: 48 kB / 0.7881 GB, free: 40.28 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.867e-05/1.788, allocations: 20 kB / 0.7881 GB, free: 40.26 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-05/1.788, allocations: 23.91 kB / 0.7882 GB, free: 40.23 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04925/1.838, allocations: 17.45 MB / 0.8052 GB, free: 22.71 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-05/1.838, allocations: 6.062 kB / 0.8052 GB, free: 22.7 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003366/1.841, allocations: 0.7567 MB / 0.8059 GB, free: 21.95 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0044/1.845, allocations: 1.555 MB / 0.8075 GB, free: 20.37 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009463/1.846, allocations: 116 kB / 0.8076 GB, free: 20.25 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3544/2.201, allocations: 21.28 MB / 0.8284 GB, free: 153.6 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-05/2.201, allocations: 8.188 kB / 0.8284 GB, free: 153.6 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02521/2.226, allocations: 11.48 MB / 0.8396 GB, free: 152.1 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004221/2.23, allocations: 1.158 MB / 0.8407 GB, free: 151.6 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001445/2.232, allocations: 98.22 kB / 0.8408 GB, free: 151.6 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002964/2.235, allocations: 234.1 kB / 0.841 GB, free: 151.5 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001095/2.236, allocations: 332.9 kB / 0.8413 GB, free: 151.5 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003268/2.236, allocations: 135.6 kB / 0.8415 GB, free: 151.4 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.006521/2.243, allocations: 3.2 MB / 0.8446 GB, free: 150.2 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.81e-07/2.243, allocations: 0 / 0.8446 GB, free: 150.2 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.008743/2.252, allocations: 1.914 MB / 0.8465 GB, free: 150 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.00181/2.253, allocations: 0.5826 MB / 0.847 GB, free: 149.7 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01502/2.268, allocations: 8.235 MB / 0.8551 GB, free: 146.2 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.105e-05/2.269, allocations: 3.969 kB / 0.8551 GB, free: 146.2 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.009678/2.278, allocations: 4.663 MB / 0.8596 GB, free: 143.9 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01087/2.289, allocations: 1.351 MB / 0.8609 GB, free: 143.4 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04704/2.336, allocations: 19.78 MB / 0.8803 GB, free: 134.5 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009161/2.345, allocations: 6.912 MB / 0.887 GB, free: 130.3 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.005781/2.351, allocations: 1.929 MB / 0.8889 GB, free: 129 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00126/2.352, allocations: 398 kB / 0.8893 GB, free: 128.6 MB / 0.5138 GB Notification: Performance of SimCode: time 9.02e-07/2.353, allocations: 0 / 0.8893 GB, free: 128.6 MB / 0.5138 GB Notification: Performance of Templates: time 0.1354/2.488, allocations: 82.57 MB / 0.9699 GB, free: 49.19 MB / 0.5138 GB 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)