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.001062/0.001062, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001114/0.001114, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.398/1.398, allocations: 205.4 MB / 222.1 MB, free: 5.516 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.0004403/0.0004403, allocations: 14.81 kB / 278.9 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2126/0.2131, allocations: 47.58 MB / 326.5 MB, free: 1.438 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.02794/0.2411, allocations: 26.32 MB / 352.8 MB, free: 9.098 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01738/0.2585, allocations: 8.65 MB / 361.4 MB, free: 440 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00538/0.2639, allocations: 187.3 kB / 361.6 MB, free: 252 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006477/0.2704, allocations: 1.8 MB / 363.4 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01152/0.282, allocations: 3.167 MB / 366.6 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00545/0.2874, allocations: 1.415 MB / 368 MB, free: 9.844 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.02374/0.3112, allocations: 11.53 MB / 379.5 MB, free: 14.3 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03198/0.3433, allocations: 17.42 MB / 396.9 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00804/0.3513, allocations: 4.494 MB / 401.4 MB, free: 8.266 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008999/0.3604, allocations: 4.965 MB / 406.4 MB, free: 3.281 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002992/0.3634, allocations: 0.7266 MB / 407.1 MB, free: 2.555 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005143/0.3686, allocations: 1.019 MB / 408.2 MB, free: 1.535 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004065/0.3727, allocations: 2.313 MB / 410.5 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005021/0.3777, allocations: 2.414 MB / 412.9 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02342/0.4012, allocations: 21.02 MB / 433.9 MB, free: 7.715 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.4012, allocations: 0 / 433.9 MB, free: 7.715 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.045e-06/0.4012, allocations: 0 / 433.9 MB, free: 7.715 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0006479/0.4019, allocations: 0 / 433.9 MB, free: 7.715 MB / 366.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.03428/0.4362, allocations: 12.42 MB / 446.3 MB, free: 11.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.4363, allocations: 8.031 kB / 446.3 MB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04333/0.4796, allocations: 7.696 MB / 454 MB, free: 3.457 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3965/0.8761, allocations: 7.201 MB / 461.2 MB, free: 88.2 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009697/0.8771, allocations: 0.8045 MB / 462 MB, free: 87.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003794/0.8809, allocations: 1.061 MB / 463.1 MB, free: 87.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0421/0.923, allocations: 17.51 MB / 480.6 MB, free: 79.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004642/0.9236, allocations: 16.72 kB / 480.6 MB, free: 79.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00293/0.9265, allocations: 448.3 kB / 481.1 MB, free: 79.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005845/0.9271, allocations: 0.6632 MB / 481.7 MB, free: 79.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03165/0.9588, allocations: 16.91 MB / 498.6 MB, free: 63.7 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08578/1.045, allocations: 57.24 MB / 0.5428 GB, free: 5.777 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03213/1.077, allocations: 40 MB / 0.5819 GB, free: 8.793 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02459/1.101, allocations: 12.46 MB / 0.5941 GB, free: 12.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001001/1.102, allocations: 81.86 kB / 0.5941 GB, free: 12.25 MB / 446.1 MB Notification: Performance of pre-optimization done (n=410): time 6.281e-06/1.102, allocations: 0 / 0.5941 GB, free: 12.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=435): time 0.05371/1.155, allocations: 22.27 MB / 0.6159 GB, free: 5.617 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.825e-05/1.155, allocations: 128.8 kB / 0.616 GB, free: 5.473 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006928/1.162, allocations: 4.714 MB / 0.6206 GB, free: 0.7539 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006848/1.163, allocations: 101.7 kB / 0.6207 GB, free: 0.6484 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1695/1.333, allocations: 4.78 MB / 0.6254 GB, free: 154.1 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001543/1.334, allocations: 1.492 MB / 0.6268 GB, free: 153.2 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004281/1.335, allocations: 127 kB / 0.627 GB, free: 153.2 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000293/1.335, allocations: 0.5531 MB / 0.6275 GB, free: 152.8 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004554/1.339, allocations: 2.99 MB / 0.6304 GB, free: 151.6 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005177/1.345, allocations: 5.235 MB / 0.6355 GB, free: 147.6 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005199/1.35, allocations: 4.101 MB / 0.6395 GB, free: 145.8 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.387e-05/1.35, allocations: 23.53 kB / 0.6396 GB, free: 145.8 MB / 462.1 MB Notification: Performance of matching and sorting (n=811) (initialization): time 0.01567/1.366, allocations: 10.09 MB / 0.6494 GB, free: 141.6 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.661e-05/1.366, allocations: 34.78 kB / 0.6495 GB, free: 141.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-05/1.366, allocations: 71.25 kB / 0.6495 GB, free: 141.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00398/1.37, allocations: 1.665 MB / 0.6511 GB, free: 141.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005352/1.375, allocations: 1.42 MB / 0.6525 GB, free: 141.1 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.019/1.394, allocations: 16.88 MB / 0.669 GB, free: 130.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004949/1.399, allocations: 350 kB / 0.6694 GB, free: 130.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008175/1.4, allocations: 301.8 kB / 0.6696 GB, free: 130 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 331 * 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 (718): * Single equations (assignments): 714 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(7,69.4%) 28,(1,100.0%) 1,(14,41.8%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005989/1.406, allocations: 3.956 MB / 0.6735 GB, free: 126.5 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001067/1.407, allocations: 0.5013 MB / 0.674 GB, free: 126 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01173/1.419, allocations: 7.932 MB / 0.6817 GB, free: 118.9 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.533e-05/1.419, allocations: 48.86 kB / 0.6818 GB, free: 118.8 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.797e-05/1.419, allocations: 20 kB / 0.6818 GB, free: 118.8 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.631e-05/1.419, allocations: 19.92 kB / 0.6818 GB, free: 118.8 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02586/1.445, allocations: 17.72 MB / 0.6991 GB, free: 100.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.796e-05/1.445, allocations: 8.031 kB / 0.6991 GB, free: 100.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00305/1.448, allocations: 0.7489 MB / 0.6999 GB, free: 100.2 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003726/1.452, allocations: 1.554 MB / 0.7014 GB, free: 98.61 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003886/1.452, allocations: 99.97 kB / 0.7015 GB, free: 98.51 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01817/1.47, allocations: 19.88 MB / 0.7209 GB, free: 77.73 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/1.47, allocations: 11.94 kB / 0.7209 GB, free: 77.71 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01609/1.486, allocations: 12.41 MB / 0.733 GB, free: 64.93 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003077/1.49, allocations: 1.182 MB / 0.7342 GB, free: 63.72 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001268/1.491, allocations: 91.98 kB / 0.7343 GB, free: 63.63 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002943/1.494, allocations: 247.8 kB / 0.7345 GB, free: 63.39 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000827/1.495, allocations: 331.7 kB / 0.7348 GB, free: 63.06 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002814/1.495, allocations: 132 kB / 0.7349 GB, free: 62.93 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.005215/1.5, allocations: 3.169 MB / 0.738 GB, free: 59.77 MB / 462.1 MB Notification: Performance of sort global known variables: time 2e-07/1.5, allocations: 0 / 0.738 GB, free: 59.77 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.007141/1.507, allocations: 1.905 MB / 0.7399 GB, free: 57.86 MB / 462.1 MB 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 (376): * Single equations (assignments): 369 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 1,(14,41.3%) 44,(2,100.0%) 12,(1,100.0%) 12,(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007564/1.508, allocations: 281.6 kB / 0.7402 GB, free: 57.59 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01195/1.52, allocations: 8.306 MB / 0.7483 GB, free: 49.23 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/1.52, allocations: 0 / 0.7483 GB, free: 49.23 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006607/1.527, allocations: 4.729 MB / 0.7529 GB, free: 44.41 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004826/1.532, allocations: 1.198 MB / 0.7541 GB, free: 43.21 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03296/1.565, allocations: 23.26 MB / 0.7768 GB, free: 19.84 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007124/1.572, allocations: 7.042 MB / 0.7837 GB, free: 12.76 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.005899/1.578, allocations: 1.94 MB / 0.7856 GB, free: 10.81 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1714/1.749, allocations: 385 kB / 0.7859 GB, free: 141.5 MB / 462.1 MB Notification: Performance of SimCode: time 2.505e-06/1.749, allocations: 0 / 0.7859 GB, free: 141.5 MB / 462.1 MB Notification: Performance of Templates: time 0.1183/1.868, allocations: 79.2 MB / 0.8633 GB, free: 87.9 MB / 462.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: