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_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.2.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.2.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.00607/0.00607, allocations: 103.9 kB / 15.74 MB, free: 5.953 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.001131/0.001131, allocations: 188.9 kB / 16.67 MB, free: 5.883 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.593/1.593, allocations: 205.1 MB / 222.6 MB, free: 4.359 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.001333/0.001333, allocations: 43.56 kB / 326.6 MB, free: 14.46 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.103, allocations: 46.63 MB / 373.2 MB, free: 1.266 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.03545/0.1385, allocations: 32.94 MB / 406.1 MB, free: 180 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02229/0.1608, allocations: 8.978 MB / 415.1 MB, free: 7.172 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008388/0.1692, allocations: 199.3 kB / 415.3 MB, free: 6.977 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02182/0.1911, allocations: 8.026 MB / 423.3 MB, free: 14.91 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01679/0.208, allocations: 3.78 MB / 427.1 MB, free: 11.11 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009439/0.2174, allocations: 2.14 MB / 429.3 MB, free: 8.969 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02036/0.2378, allocations: 13.14 MB / 442.4 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3244/0.5623, allocations: 22.46 MB / 464.9 MB, free: 9.492 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01358/0.5759, allocations: 6.662 MB / 471.5 MB, free: 9.062 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01496/0.5909, allocations: 7.306 MB / 478.8 MB, free: 7.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007227/0.5982, allocations: 1.895 MB / 480.7 MB, free: 7.906 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009754/0.608, allocations: 2.251 MB / 483 MB, free: 7.906 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007921/0.616, allocations: 3.811 MB / 486.8 MB, free: 7.496 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01778/0.6338, allocations: 7.181 MB / 494 MB, free: 4.402 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03432/0.6681, allocations: 25.08 MB / 0.5069 GB, free: 2.121 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.6682, allocations: 0 / 0.5069 GB, free: 2.121 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.6682, allocations: 4 kB / 0.5069 GB, free: 2.117 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0008785/0.6691, allocations: 0 / 0.5069 GB, free: 2.117 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.05245/0.7215, allocations: 14.74 MB / 0.5213 GB, free: 3.375 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.801e-05/0.7216, allocations: 12.03 kB / 0.5213 GB, free: 3.363 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0439/0.7655, allocations: 7.793 MB / 0.5289 GB, free: 11.65 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02136/0.7869, allocations: 7.348 MB / 0.5361 GB, free: 4.57 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001102/0.7881, allocations: 0.7959 MB / 0.5369 GB, free: 3.785 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00644/0.7945, allocations: 1.072 MB / 0.5379 GB, free: 2.727 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05482/0.8494, allocations: 17.68 MB / 0.5552 GB, free: 1.031 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004546/0.8499, allocations: 15.89 kB / 0.5552 GB, free: 1.016 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003728/0.8536, allocations: 444.4 kB / 0.5556 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006885/0.8543, allocations: 0.663 MB / 0.5562 GB, free: 15.93 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03941/0.8937, allocations: 16.98 MB / 0.5728 GB, free: 14.93 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1171/1.011, allocations: 56.47 MB / 0.628 GB, free: 6.031 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5316/1.543, allocations: 40.06 MB / 0.6671 GB, free: 135.6 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009177/1.552, allocations: 4.475 MB / 0.6715 GB, free: 135 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02459/1.576, allocations: 12.67 MB / 0.6838 GB, free: 128.9 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.399e-05/1.577, allocations: 81.59 kB / 0.6839 GB, free: 128.9 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=398): time 5.059e-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.04942/1.626, allocations: 21.46 MB / 0.7049 GB, free: 119.1 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.158e-05/1.626, allocations: 120.2 kB / 0.705 GB, free: 119 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01169/1.638, allocations: 4.824 MB / 0.7097 GB, free: 117.2 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.001066/1.639, allocations: 97.25 kB / 0.7098 GB, free: 117.1 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.003768/1.643, allocations: 4.8 MB / 0.7145 GB, free: 113.5 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.002446/1.645, allocations: 1.455 MB / 0.7159 GB, free: 112.4 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004339/1.649, allocations: 1.195 MB / 0.7171 GB, free: 111.8 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 5.303e-05/1.65, allocations: 306 kB / 0.7174 GB, free: 111.5 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004213/1.654, allocations: 2.961 MB / 0.7202 GB, free: 110.3 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005599/1.659, allocations: 5.24 MB / 0.7254 GB, free: 106.1 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009907/1.669, allocations: 8.72 MB / 0.7339 GB, free: 96.34 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.349e-05/1.669, allocations: 26.5 kB / 0.7339 GB, free: 96.32 MB / 0.5138 GB Notification: Performance of matching and sorting (n=803) (initialization): time 0.01779/1.687, allocations: 10.04 MB / 0.7437 GB, free: 86.22 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 7.618e-05/1.687, allocations: 41.09 kB / 0.7437 GB, free: 86.18 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001336/1.687, allocations: 72 kB / 0.7438 GB, free: 86.11 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004735/1.692, allocations: 1.67 MB / 0.7454 GB, free: 84.44 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00545/1.698, allocations: 1.4 MB / 0.7468 GB, free: 83.04 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02299/1.721, allocations: 17.77 MB / 0.7642 GB, free: 64.73 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009952/1.731, allocations: 343.6 kB / 0.7645 GB, free: 64.4 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002457/1.733, allocations: 307.9 kB / 0.7648 GB, free: 64.1 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.01474/1.748, allocations: 3.951 MB / 0.7686 GB, free: 60.13 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003536/1.752, allocations: 0.5056 MB / 0.7691 GB, free: 59.62 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02602/1.778, allocations: 7.773 MB / 0.7767 GB, free: 51.75 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.83e-05/1.778, allocations: 47.98 kB / 0.7768 GB, free: 51.7 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.247e-05/1.778, allocations: 20 kB / 0.7768 GB, free: 51.68 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.772e-05/1.778, allocations: 19.92 kB / 0.7768 GB, free: 51.66 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05805/1.836, allocations: 17.54 MB / 0.7939 GB, free: 33.97 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-05/1.836, allocations: 12.14 kB / 0.7939 GB, free: 33.96 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006426/1.842, allocations: 0.7216 MB / 0.7947 GB, free: 33.24 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00793/1.85, allocations: 1.562 MB / 0.7962 GB, free: 31.66 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009329/1.851, allocations: 107 kB / 0.7963 GB, free: 31.55 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02827/1.88, allocations: 21.21 MB / 0.817 GB, free: 9.406 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.466e-06/1.88, allocations: 12.09 kB / 0.817 GB, free: 9.395 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2903/2.17, allocations: 11.46 MB / 0.8282 GB, free: 154 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004211/2.174, allocations: 1.157 MB / 0.8293 GB, free: 153.9 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00189/2.176, allocations: 87.88 kB / 0.8294 GB, free: 153.9 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004043/2.18, allocations: 232.3 kB / 0.8296 GB, free: 153.9 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00116/2.182, allocations: 329.7 kB / 0.8299 GB, free: 153.9 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003664/2.182, allocations: 130.7 kB / 0.8301 GB, free: 153.9 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.007117/2.189, allocations: 3.257 MB / 0.8332 GB, free: 153.7 MB / 0.5138 GB Notification: Performance of sort global known variables: time 9.82e-07/2.189, allocations: 0 / 0.8332 GB, free: 153.7 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.009942/2.199, allocations: 1.897 MB / 0.8351 GB, free: 153.7 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.001172/2.2, allocations: 262.3 kB / 0.8353 GB, free: 153.6 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01345/2.214, allocations: 8.262 MB / 0.8434 GB, free: 151.1 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.398e-05/2.214, allocations: 0 / 0.8434 GB, free: 151.1 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.007343/2.221, allocations: 4.638 MB / 0.8479 GB, free: 148.8 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006507/2.228, allocations: 1.308 MB / 0.8492 GB, free: 148.3 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03505/2.263, allocations: 19.44 MB / 0.8682 GB, free: 139.6 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009622/2.272, allocations: 6.845 MB / 0.8749 GB, free: 137.1 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.006188/2.279, allocations: 1.934 MB / 0.8768 GB, free: 136.8 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001721/2.28, allocations: 389.3 kB / 0.8772 GB, free: 136.8 MB / 0.5138 GB Notification: Performance of SimCode: time 9.72e-07/2.28, allocations: 0 / 0.8772 GB, free: 136.8 MB / 0.5138 GB Notification: Performance of Templates: time 0.1264/2.407, allocations: 81.66 MB / 0.9569 GB, free: 62.16 MB / 0.5138 GB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1)