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.008569/0.008569, allocations: 99.52 kB / 15.73 MB, free: 6.008 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.002053/0.002053, allocations: 197.9 kB / 16.68 MB, free: 5.93 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.595/1.595, allocations: 205.1 MB / 222.5 MB, free: 4.5 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.001375/0.001375, allocations: 54.52 kB / 326.6 MB, free: 14.36 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1193, allocations: 46.62 MB / 373.2 MB, free: 1.289 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.03649/0.1558, allocations: 34.07 MB / 407.3 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02685/0.1827, allocations: 9.566 MB / 416.8 MB, free: 5.473 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009481/0.1922, allocations: 215.2 kB / 417.1 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02034/0.2126, allocations: 8.221 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.01692/0.2296, allocations: 3.874 MB / 429.2 MB, free: 9.109 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009091/0.2387, allocations: 2.3 MB / 431.5 MB, free: 6.805 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02202/0.2607, allocations: 13.35 MB / 444.8 MB, free: 9.406 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3132/0.5739, allocations: 22.62 MB / 467.4 MB, free: 8.496 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01398/0.588, allocations: 6.738 MB / 474.2 MB, free: 8.059 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0139/0.6019, allocations: 7.426 MB / 481.6 MB, free: 6.879 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007313/0.6092, allocations: 1.914 MB / 483.5 MB, free: 6.875 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01005/0.6193, allocations: 2.303 MB / 485.8 MB, free: 6.875 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008035/0.6274, allocations: 3.852 MB / 489.7 MB, free: 6.457 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01757/0.645, allocations: 7.276 MB / 496.9 MB, free: 2.781 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03402/0.6791, allocations: 25.33 MB / 0.51 GB, free: 14.54 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.6791, allocations: 0 / 0.51 GB, free: 14.54 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.6791, allocations: 4 kB / 0.51 GB, free: 14.54 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0008193/0.68, allocations: 0 / 0.51 GB, free: 14.54 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.05578/0.7358, allocations: 15 MB / 0.5247 GB, free: 15.54 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.815e-05/0.7358, allocations: 8.031 kB / 0.5247 GB, free: 15.53 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04537/0.7812, allocations: 7.746 MB / 0.5322 GB, free: 7.855 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01921/0.8005, allocations: 7.414 MB / 0.5395 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001095/0.8016, allocations: 0.8196 MB / 0.5403 GB, free: 15.91 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00615/0.8078, allocations: 1.083 MB / 0.5413 GB, free: 14.84 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0563/0.8641, allocations: 17.88 MB / 0.5588 GB, free: 12.93 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006556/0.8648, allocations: 11.91 kB / 0.5588 GB, free: 12.92 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004734/0.8695, allocations: 460.7 kB / 0.5592 GB, free: 12.48 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008472/0.8704, allocations: 0.6713 MB / 0.5599 GB, free: 11.81 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04325/0.9137, allocations: 17.06 MB / 0.5766 GB, free: 10.75 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1142/1.028, allocations: 56.15 MB / 0.6314 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2873/1.315, allocations: 42.42 MB / 0.6728 GB, free: 136.3 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008564/1.324, allocations: 4.581 MB / 0.6773 GB, free: 134.5 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02685/1.351, allocations: 13.16 MB / 0.6901 GB, free: 128.4 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005722/1.356, allocations: 3.096 MB / 0.6932 GB, free: 127.1 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=434): time 9.418e-06/1.357, allocations: 0 / 0.6932 GB, free: 127.1 MB / 0.5137 GB Notification: Performance of matching and sorting (n=452): time 0.0688/1.425, allocations: 23.48 MB / 0.7161 GB, free: 117.2 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001382/1.425, allocations: 414.6 kB / 0.7165 GB, free: 116.7 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01/1.435, allocations: 4.723 MB / 0.7211 GB, free: 114.2 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.001084/1.437, allocations: 101.7 kB / 0.7212 GB, free: 114.1 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.004541/1.441, allocations: 4.895 MB / 0.726 GB, free: 109.6 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.002022/1.443, allocations: 1.557 MB / 0.7275 GB, free: 108.1 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001891/1.445, allocations: 1.192 MB / 0.7287 GB, free: 106.8 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 6.074e-05/1.445, allocations: 309 kB / 0.729 GB, free: 106.5 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003851/1.449, allocations: 2.89 MB / 0.7318 GB, free: 103.6 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004844/1.454, allocations: 5.302 MB / 0.737 GB, free: 97.27 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00956/1.463, allocations: 8.687 MB / 0.7454 GB, free: 87.54 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.964e-05/1.464, allocations: 20 kB / 0.7455 GB, free: 87.52 MB / 0.5137 GB Notification: Performance of matching and sorting (n=811) (initialization): time 0.01732/1.481, allocations: 9.889 MB / 0.7551 GB, free: 77.57 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.261e-05/1.481, allocations: 36 kB / 0.7552 GB, free: 77.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001253/1.481, allocations: 79.53 kB / 0.7552 GB, free: 77.46 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003705/1.485, allocations: 1.5 MB / 0.7567 GB, free: 75.95 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005417/1.49, allocations: 1.404 MB / 0.7581 GB, free: 74.54 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01701/1.507, allocations: 17.63 MB / 0.7753 GB, free: 56.24 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005969/1.513, allocations: 363.6 kB / 0.7756 GB, free: 55.88 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001314/1.515, allocations: 304 kB / 0.7759 GB, free: 55.59 MB / 0.5137 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.007624/1.522, allocations: 3.974 MB / 0.7798 GB, free: 51.6 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001382/1.524, allocations: 0.5094 MB / 0.7803 GB, free: 51.08 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01238/1.536, allocations: 7.959 MB / 0.7881 GB, free: 43.04 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.792e-05/1.536, allocations: 44 kB / 0.7881 GB, free: 43 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.028e-05/1.536, allocations: 16 kB / 0.7881 GB, free: 42.98 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-05/1.536, allocations: 27.91 kB / 0.7882 GB, free: 42.95 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0289/1.565, allocations: 17.45 MB / 0.8052 GB, free: 25.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.511e-05/1.565, allocations: 4 kB / 0.8052 GB, free: 25.43 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003121/1.568, allocations: 0.7606 MB / 0.8059 GB, free: 24.66 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003872/1.572, allocations: 1.57 MB / 0.8075 GB, free: 23.07 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006321/1.573, allocations: 108 kB / 0.8076 GB, free: 22.97 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01942/1.592, allocations: 21.27 MB / 0.8283 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.802e-06/1.592, allocations: 7.938 kB / 0.8284 GB, free: 0.7383 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3229/1.915, allocations: 11.47 MB / 0.8396 GB, free: 156.8 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005403/1.921, allocations: 1.153 MB / 0.8407 GB, free: 156.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001674/1.922, allocations: 102 kB / 0.8408 GB, free: 156.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002911/1.925, allocations: 232.2 kB / 0.841 GB, free: 156.2 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001003/1.926, allocations: 339.6 kB / 0.8413 GB, free: 156.1 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003169/1.927, allocations: 136.6 kB / 0.8415 GB, free: 156.1 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.006041/1.933, allocations: 3.201 MB / 0.8446 GB, free: 154.9 MB / 0.5137 GB Notification: Performance of sort global known variables: time 5.21e-07/1.933, allocations: 3.406 kB / 0.8446 GB, free: 154.9 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.009507/1.942, allocations: 1.916 MB / 0.8465 GB, free: 154.7 MB / 0.5137 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.00196/1.944, allocations: 0.5622 MB / 0.847 GB, free: 154.4 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01458/1.959, allocations: 8.248 MB / 0.8551 GB, free: 150.9 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/1.959, allocations: 0 / 0.8551 GB, free: 150.9 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.009819/1.969, allocations: 4.667 MB / 0.8596 GB, free: 148.5 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01026/1.979, allocations: 1.345 MB / 0.8609 GB, free: 148 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04593/2.025, allocations: 19.78 MB / 0.8803 GB, free: 139.2 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008934/2.034, allocations: 6.918 MB / 0.887 GB, free: 135.5 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.006372/2.04, allocations: 1.92 MB / 0.8889 GB, free: 134.1 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001444/2.042, allocations: 410.3 kB / 0.8893 GB, free: 133.8 MB / 0.5137 GB Notification: Performance of SimCode: time 1.092e-06/2.042, allocations: 0 / 0.8893 GB, free: 133.8 MB / 0.5137 GB Notification: Performance of Templates: time 0.1303/2.172, allocations: 82.57 MB / 0.9699 GB, free: 54.66 MB / 0.5137 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)