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_Initialize.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_Initialize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=300000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=300000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005941/0.005941, allocations: 101.1 kB / 15.73 MB, free: 6.047 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.001166/0.001166, allocations: 190.4 kB / 16.67 MB, free: 5.98 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.582/1.582, allocations: 205.1 MB / 222.5 MB, free: 4.379 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.001181/0.001181, allocations: 49.91 kB / 326.6 MB, free: 14.44 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.104, 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_Initialize): time 0.03414/0.1382, allocations: 32.95 MB / 406.1 MB, free: 200 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02654/0.1648, allocations: 8.978 MB / 415.1 MB, free: 7.191 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009338/0.1742, allocations: 203.3 kB / 415.3 MB, free: 6.992 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02148/0.1958, allocations: 8.022 MB / 423.3 MB, free: 14.93 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0166/0.2124, allocations: 3.773 MB / 427.1 MB, free: 11.14 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008055/0.2205, allocations: 2.148 MB / 429.3 MB, free: 8.988 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02279/0.2433, allocations: 13.15 MB / 442.4 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3242/0.5675, allocations: 22.46 MB / 464.9 MB, free: 9.414 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01107/0.5786, allocations: 6.653 MB / 471.5 MB, free: 8.992 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01217/0.5909, allocations: 7.312 MB / 478.8 MB, free: 7.836 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005804/0.5967, allocations: 1.891 MB / 480.7 MB, free: 7.836 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007649/0.6044, allocations: 2.251 MB / 483 MB, free: 7.836 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006259/0.6107, allocations: 3.809 MB / 486.8 MB, free: 7.426 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01261/0.6233, allocations: 7.192 MB / 494 MB, free: 4.309 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0285/0.6518, allocations: 25.08 MB / 0.5069 GB, free: 2.094 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/0.6519, allocations: 0 / 0.5069 GB, free: 2.094 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.6519, allocations: 0 / 0.5069 GB, free: 2.094 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0007855/0.6527, allocations: 0 / 0.5069 GB, free: 2.094 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3009 * Number of variables: 3009 Notification: Performance of Generate backend data structure: time 0.05231/0.705, allocations: 14.74 MB / 0.5213 GB, free: 3.348 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.507e-05/0.7051, allocations: 12.03 kB / 0.5213 GB, free: 3.336 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04499/0.7501, allocations: 7.785 MB / 0.5289 GB, free: 11.63 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01863/0.7688, allocations: 7.354 MB / 0.5361 GB, free: 4.547 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009986/0.7698, allocations: 0.8029 MB / 0.5369 GB, free: 3.754 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005285/0.7751, allocations: 1.06 MB / 0.5379 GB, free: 2.707 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05153/0.8267, allocations: 17.67 MB / 0.5552 GB, free: 1.012 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006409/0.8273, allocations: 19.89 kB / 0.5552 GB, free: 0.9922 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004503/0.8319, allocations: 445.3 kB / 0.5556 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007927/0.8327, allocations: 0.663 MB / 0.5563 GB, free: 15.9 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04296/0.8757, allocations: 16.98 MB / 0.5728 GB, free: 14.9 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1246/1, allocations: 56.48 MB / 0.628 GB, free: 6.012 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5463/1.547, allocations: 40.05 MB / 0.6671 GB, free: 135.7 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008401/1.555, allocations: 4.468 MB / 0.6715 GB, free: 135.1 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02162/1.577, allocations: 12.67 MB / 0.6838 GB, free: 129 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.652e-05/1.577, allocations: 77.59 kB / 0.6839 GB, free: 128.9 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=398): time 5.009e-06/1.577, allocations: 0 / 0.6839 GB, free: 128.9 MB / 0.5138 GB Notification: Performance of matching and sorting (n=423): time 0.04486/1.622, allocations: 21.47 MB / 0.7049 GB, free: 119.1 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.71e-05/1.622, allocations: 123.6 kB / 0.705 GB, free: 119 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006922/1.629, allocations: 4.826 MB / 0.7097 GB, free: 117.2 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0008466/1.63, allocations: 92.92 kB / 0.7098 GB, free: 117.1 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002406/1.632, allocations: 4.795 MB / 0.7145 GB, free: 113.5 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001511/1.634, allocations: 1.456 MB / 0.7159 GB, free: 112.4 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001705/1.635, allocations: 1.196 MB / 0.7171 GB, free: 111.8 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 5.873e-05/1.635, allocations: 304.9 kB / 0.7174 GB, free: 111.5 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003833/1.639, allocations: 2.965 MB / 0.7203 GB, free: 110.4 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004719/1.644, allocations: 5.238 MB / 0.7254 GB, free: 106.1 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008951/1.653, allocations: 8.72 MB / 0.7339 GB, free: 96.38 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.953e-05/1.653, allocations: 24 kB / 0.7339 GB, free: 96.35 MB / 0.5138 GB Notification: Performance of matching and sorting (n=803) (initialization): time 0.01868/1.672, allocations: 10.04 MB / 0.7437 GB, free: 86.26 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 9.226e-05/1.672, allocations: 36 kB / 0.7438 GB, free: 86.22 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001344/1.672, allocations: 72 kB / 0.7438 GB, free: 86.15 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004276/1.676, allocations: 1.675 MB / 0.7455 GB, free: 84.47 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005576/1.682, allocations: 1.4 MB / 0.7468 GB, free: 83.07 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02053/1.702, allocations: 17.77 MB / 0.7642 GB, free: 64.76 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006854/1.709, allocations: 335.6 kB / 0.7645 GB, free: 64.43 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001454/1.711, allocations: 312 kB / 0.7648 GB, free: 64.12 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 335 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (710): * Single equations (assignments): 706 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (7,28,67.3%), (1,1,100.0%), (14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008412/1.719, allocations: 3.947 MB / 0.7687 GB, free: 60.16 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001507/1.721, allocations: 0.4978 MB / 0.7691 GB, free: 59.66 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0129/1.734, allocations: 7.789 MB / 0.7767 GB, free: 51.77 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.389e-05/1.734, allocations: 47.98 kB / 0.7768 GB, free: 51.72 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.08e-05/1.734, allocations: 16 kB / 0.7768 GB, free: 51.71 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.703e-05/1.734, allocations: 19.92 kB / 0.7768 GB, free: 51.69 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02913/1.763, allocations: 17.54 MB / 0.7939 GB, free: 34 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.702e-05/1.763, allocations: 8 kB / 0.794 GB, free: 33.99 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002844/1.766, allocations: 0.7263 MB / 0.7947 GB, free: 33.27 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003812/1.77, allocations: 1.549 MB / 0.7962 GB, free: 31.7 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003691/1.77, allocations: 104 kB / 0.7963 GB, free: 31.59 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01896/1.789, allocations: 21.21 MB / 0.817 GB, free: 9.449 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/1.789, allocations: 11.94 kB / 0.817 GB, free: 9.438 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2705/2.06, allocations: 11.46 MB / 0.8282 GB, free: 154.1 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004679/2.064, allocations: 1.154 MB / 0.8293 GB, free: 154 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001739/2.066, allocations: 87.7 kB / 0.8294 GB, free: 154 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00378/2.07, allocations: 235.3 kB / 0.8296 GB, free: 154 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001079/2.071, allocations: 328.3 kB / 0.8299 GB, free: 154 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003582/2.071, allocations: 131 kB / 0.8301 GB, free: 154 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.007244/2.079, allocations: 3.259 MB / 0.8332 GB, free: 153.8 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.333e-06/2.079, allocations: 0 / 0.8332 GB, free: 153.8 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01085/2.09, allocations: 1.901 MB / 0.8351 GB, free: 153.8 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.strayReluctance.Phi.re,imc.stator.strayReluctance.Phi.im,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (364): * Single equations (assignments): 357 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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,1,100.0%), (14,44,40.8%), (2,12,100.0%), (1,1,100.0%), (1,12,100.0%), (1,5,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001116/2.091, allocations: 261 kB / 0.8353 GB, free: 153.7 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.0134/2.104, allocations: 8.25 MB / 0.8434 GB, free: 151.2 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.029e-05/2.104, allocations: 5.938 kB / 0.8434 GB, free: 151.2 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.007175/2.111, allocations: 4.648 MB / 0.8479 GB, free: 148.9 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006642/2.118, allocations: 1.306 MB / 0.8492 GB, free: 148.4 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03519/2.153, allocations: 19.43 MB / 0.8682 GB, free: 139.6 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008286/2.162, allocations: 6.85 MB / 0.8749 GB, free: 137.2 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.005405/2.167, allocations: 1.927 MB / 0.8768 GB, free: 136.9 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001361/2.168, allocations: 384.6 kB / 0.8771 GB, free: 136.9 MB / 0.5138 GB Notification: Performance of SimCode: time 1.283e-06/2.168, allocations: 3.938 kB / 0.8771 GB, free: 136.9 MB / 0.5138 GB Notification: Performance of Templates: time 0.1204/2.289, allocations: 81.66 MB / 0.9569 GB, free: 62.28 MB / 0.5138 GB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1)