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.009097/0.009097, allocations: 104.2 kB / 15.73 MB, free: 6.039 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.001815/0.001816, allocations: 195.2 kB / 16.67 MB, free: 5.973 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.609/1.609, allocations: 205.1 MB / 222.5 MB, free: 4.52 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.001411/0.001411, allocations: 58.11 kB / 326.6 MB, free: 14.35 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1237, allocations: 46.62 MB / 373.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.03854/0.1623, allocations: 34.07 MB / 407.3 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03074/0.1931, allocations: 9.559 MB / 416.8 MB, free: 5.484 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01056/0.2037, allocations: 211.2 kB / 417.1 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02236/0.2262, allocations: 8.237 MB / 425.3 MB, free: 13 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.0174/0.2436, allocations: 3.87 MB / 429.2 MB, free: 9.113 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00926/0.2529, allocations: 2.3 MB / 431.5 MB, free: 6.809 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02228/0.2752, allocations: 13.34 MB / 444.8 MB, free: 9.414 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3537/0.629, allocations: 22.62 MB / 467.4 MB, free: 8.445 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01173/0.6408, allocations: 6.737 MB / 474.2 MB, free: 8.008 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01259/0.6534, allocations: 7.436 MB / 481.6 MB, free: 6.824 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006577/0.66, allocations: 1.907 MB / 483.5 MB, free: 6.824 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008998/0.669, allocations: 2.305 MB / 485.8 MB, free: 6.824 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007624/0.6767, allocations: 3.847 MB / 489.7 MB, free: 6.406 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01571/0.6924, allocations: 7.279 MB / 496.9 MB, free: 2.738 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03545/0.7279, allocations: 25.33 MB / 0.51 GB, free: 14.57 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.728, allocations: 4 kB / 0.51 GB, free: 14.57 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.728, allocations: 0 / 0.51 GB, free: 14.57 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0008892/0.7289, allocations: 0 / 0.51 GB, free: 14.57 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.05431/0.7832, allocations: 15 MB / 0.5247 GB, free: 15.57 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.677e-05/0.7833, allocations: 8.031 kB / 0.5247 GB, free: 15.56 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04286/0.8262, allocations: 7.751 MB / 0.5323 GB, free: 7.887 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01842/0.8446, allocations: 7.412 MB / 0.5395 GB, free: 0.75 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008457/0.8455, allocations: 0.816 MB / 0.5403 GB, free: 15.94 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00549/0.851, allocations: 1.087 MB / 0.5414 GB, free: 14.87 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04381/0.8948, allocations: 17.87 MB / 0.5588 GB, free: 12.96 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003288/0.8952, allocations: 19.56 kB / 0.5588 GB, free: 12.95 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002721/0.8979, allocations: 461.6 kB / 0.5593 GB, free: 12.51 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006103/0.8985, allocations: 0.6674 MB / 0.5599 GB, free: 11.84 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04119/0.9397, allocations: 17.06 MB / 0.5766 GB, free: 10.78 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1109/1.051, allocations: 56.15 MB / 0.6314 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5034/1.554, allocations: 42.42 MB / 0.6728 GB, free: 134 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01008/1.564, allocations: 4.575 MB / 0.6773 GB, free: 132.2 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02906/1.593, allocations: 13.17 MB / 0.6902 GB, free: 126.1 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004054/1.597, allocations: 3.088 MB / 0.6932 GB, free: 124.8 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=434): time 6.583e-06/1.597, allocations: 3.156 kB / 0.6932 GB, free: 124.8 MB / 0.5138 GB Notification: Performance of matching and sorting (n=452): time 0.04531/1.643, allocations: 23.48 MB / 0.7161 GB, free: 114.9 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001398/1.643, allocations: 411.7 kB / 0.7165 GB, free: 114.4 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00707/1.65, allocations: 4.724 MB / 0.7211 GB, free: 111.9 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0008233/1.651, allocations: 101.7 kB / 0.7212 GB, free: 111.8 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.003928/1.655, allocations: 4.89 MB / 0.726 GB, free: 107 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001641/1.656, allocations: 1.56 MB / 0.7275 GB, free: 105.4 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001585/1.658, allocations: 1.188 MB / 0.7287 GB, free: 104.2 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 5.312e-05/1.658, allocations: 305.1 kB / 0.729 GB, free: 103.9 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003577/1.662, allocations: 2.894 MB / 0.7318 GB, free: 101 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005398/1.667, allocations: 5.302 MB / 0.737 GB, free: 94.66 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01004/1.677, allocations: 8.692 MB / 0.7455 GB, free: 84.93 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.308e-05/1.677, allocations: 20 kB / 0.7455 GB, free: 84.91 MB / 0.5138 GB Notification: Performance of matching and sorting (n=811) (initialization): time 0.01637/1.694, allocations: 9.887 MB / 0.7551 GB, free: 74.97 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 6.572e-05/1.694, allocations: 40 kB / 0.7552 GB, free: 74.93 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001153/1.694, allocations: 72 kB / 0.7552 GB, free: 74.86 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003744/1.698, allocations: 1.499 MB / 0.7567 GB, free: 73.34 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005924/1.704, allocations: 1.411 MB / 0.7581 GB, free: 71.93 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01727/1.721, allocations: 17.62 MB / 0.7753 GB, free: 53.63 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005705/1.727, allocations: 359.6 kB / 0.7756 GB, free: 53.28 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001442/1.728, allocations: 315.9 kB / 0.7759 GB, free: 52.97 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.00937/1.738, allocations: 3.974 MB / 0.7798 GB, free: 48.98 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001716/1.739, allocations: 0.5016 MB / 0.7803 GB, free: 48.48 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01286/1.752, allocations: 7.969 MB / 0.7881 GB, free: 40.43 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-05/1.752, allocations: 44 kB / 0.7881 GB, free: 40.38 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.869e-05/1.752, allocations: 16 kB / 0.7881 GB, free: 40.37 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-05/1.752, allocations: 23.91 kB / 0.7882 GB, free: 40.34 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02573/1.778, allocations: 17.45 MB / 0.8052 GB, free: 22.81 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.679e-05/1.778, allocations: 4 kB / 0.8052 GB, free: 22.81 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003125/1.781, allocations: 0.7534 MB / 0.8059 GB, free: 22.05 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003858/1.785, allocations: 1.551 MB / 0.8075 GB, free: 20.48 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004857/1.786, allocations: 112 kB / 0.8076 GB, free: 20.37 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.286/2.072, allocations: 21.28 MB / 0.8283 GB, free: 153.6 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-05/2.072, allocations: 11.69 kB / 0.8284 GB, free: 153.6 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02356/2.095, allocations: 11.48 MB / 0.8396 GB, free: 152.1 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003958/2.099, allocations: 1.149 MB / 0.8407 GB, free: 151.7 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001613/2.101, allocations: 97.09 kB / 0.8408 GB, free: 151.6 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00306/2.104, allocations: 236.8 kB / 0.841 GB, free: 151.6 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009775/2.105, allocations: 336.9 kB / 0.8413 GB, free: 151.5 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000301/2.105, allocations: 135.7 kB / 0.8415 GB, free: 151.5 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.006351/2.112, allocations: 3.201 MB / 0.8446 GB, free: 150.3 MB / 0.5138 GB Notification: Performance of sort global known variables: time 5.51e-07/2.112, allocations: 3.156 kB / 0.8446 GB, free: 150.3 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.0098/2.121, allocations: 1.912 MB / 0.8465 GB, free: 150.1 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.002264/2.124, allocations: 0.5737 MB / 0.847 GB, free: 149.7 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01745/2.141, allocations: 8.254 MB / 0.8551 GB, free: 146.2 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.477e-05/2.141, allocations: 3.938 kB / 0.8551 GB, free: 146.2 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.01015/2.151, allocations: 4.658 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.009194/2.161, allocations: 1.341 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.04089/2.202, 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.01017/2.212, allocations: 6.913 MB / 0.887 GB, free: 130.6 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.006508/2.218, allocations: 1.928 MB / 0.8889 GB, free: 129.2 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001395/2.22, allocations: 405.7 kB / 0.8893 GB, free: 128.9 MB / 0.5138 GB Notification: Performance of SimCode: time 2.445e-06/2.22, allocations: 0 / 0.8893 GB, free: 128.9 MB / 0.5138 GB Notification: Performance of Templates: time 0.1353/2.355, allocations: 82.57 MB / 0.9699 GB, free: 49.35 MB / 0.5138 GB 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)