Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.0009312/0.0009309, allocations: 88.53 kB / 16.31 MB, free: 6.449 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.001052/0.001053, allocations: 183.1 kB / 17.21 MB, free: 6.316 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.4 MB / 223.4 MB, free: 5.289 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.0004588/0.0004588, allocations: 8 kB / 280.2 MB, free: 12.65 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2738, allocations: 47.59 MB / 327.8 MB, free: 1.465 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.0304/0.3042, allocations: 28.82 MB / 356.6 MB, free: 6.574 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02155/0.3258, allocations: 8.332 MB / 364.9 MB, free: 14.22 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008626/0.3345, allocations: 195.2 kB / 365.1 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008312/0.3428, allocations: 1.635 MB / 366.7 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01442/0.3573, allocations: 3.063 MB / 369.8 MB, free: 9.309 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007126/0.3644, allocations: 1.406 MB / 371.2 MB, free: 7.902 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.02498/0.3894, allocations: 15.83 MB / 387 MB, free: 8.02 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03958/0.4291, allocations: 17.6 MB / 404.6 MB, free: 6.309 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01077/0.4399, allocations: 4.836 MB / 409.5 MB, free: 1.457 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01171/0.4516, allocations: 5.53 MB / 415 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004222/0.4559, allocations: 0.7305 MB / 415.7 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007573/0.4635, allocations: 1.066 MB / 416.8 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005726/0.4692, allocations: 2.414 MB / 419.2 MB, free: 7.684 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006435/0.4757, allocations: 2.414 MB / 421.6 MB, free: 5.258 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02853/0.5043, allocations: 21.09 MB / 442.7 MB, free: 108 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.5043, allocations: 0 / 442.7 MB, free: 108 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.5043, allocations: 0 / 442.7 MB, free: 108 kB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0008227/0.5051, allocations: 0 / 442.7 MB, free: 108 kB / 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.03703/0.5422, allocations: 12.49 MB / 455.2 MB, free: 3.508 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.5422, allocations: 12.03 kB / 455.2 MB, free: 3.496 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4428/0.985, allocations: 7.756 MB / 463 MB, free: 92.63 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01677/1.002, allocations: 7.188 MB / 470.2 MB, free: 88.92 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008573/1.003, allocations: 0.8075 MB / 471 MB, free: 88.56 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005835/1.009, allocations: 1.066 MB / 472 MB, free: 88.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05042/1.059, allocations: 17.61 MB / 489.6 MB, free: 75.11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005012/1.06, allocations: 15.81 kB / 489.7 MB, free: 75.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003586/1.063, allocations: 453 kB / 490.1 MB, free: 74.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006093/1.064, allocations: 0.6514 MB / 490.8 MB, free: 74 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03347/1.097, allocations: 16.9 MB / 0.4958 GB, free: 57.08 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1054/1.203, allocations: 57.31 MB / 0.5517 GB, free: 14.86 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03887/1.242, allocations: 40 MB / 0.5908 GB, free: 1.879 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008764/1.251, allocations: 4.513 MB / 0.5952 GB, free: 13.36 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0299/1.28, allocations: 12.71 MB / 0.6076 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.366e-05/1.281, allocations: 81.8 kB / 0.6077 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of pre-optimization done (n=398): time 6.712e-06/1.281, allocations: 0 / 0.6077 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of matching and sorting (n=423): time 0.3042/1.585, allocations: 23.65 MB / 0.6308 GB, free: 155.3 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.703e-05/1.585, allocations: 121.5 kB / 0.6309 GB, free: 155.2 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008139/1.593, allocations: 4.786 MB / 0.6356 GB, free: 153.4 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000914/1.594, allocations: 98.89 kB / 0.6357 GB, free: 153.3 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002775/1.597, allocations: 4.797 MB / 0.6404 GB, free: 149.7 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001821/1.599, allocations: 1.467 MB / 0.6418 GB, free: 148.6 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003785/1.599, allocations: 123.7 kB / 0.6419 GB, free: 148.5 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002765/1.599, allocations: 0.5471 MB / 0.6424 GB, free: 148 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004232/1.604, allocations: 2.946 MB / 0.6453 GB, free: 146.9 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005112/1.609, allocations: 5.228 MB / 0.6504 GB, free: 142.8 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005747/1.615, allocations: 4.052 MB / 0.6544 GB, free: 141 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.439e-05/1.615, allocations: 19.69 kB / 0.6544 GB, free: 141 MB / 462.1 MB Notification: Performance of matching and sorting (n=803) (initialization): time 0.01774/1.632, allocations: 10 MB / 0.6642 GB, free: 136.9 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001183/1.633, allocations: 37.47 kB / 0.6642 GB, free: 136.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000157/1.633, allocations: 78.59 kB / 0.6643 GB, free: 136.9 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004523/1.637, allocations: 1.685 MB / 0.6659 GB, free: 136.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005687/1.643, allocations: 1.403 MB / 0.6673 GB, free: 136.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02042/1.663, allocations: 16.47 MB / 0.6834 GB, free: 120.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005976/1.669, allocations: 335.7 kB / 0.6837 GB, free: 120.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001336/1.671, allocations: 310.8 kB / 0.684 GB, free: 120 MB / 462.1 MB 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 (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,61.2%) 28,(1,100.0%) 1,(14,41.8%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008622/1.679, allocations: 3.951 MB / 0.6878 GB, free: 116 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002119/1.682, allocations: 0.5014 MB / 0.6883 GB, free: 115.5 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01624/1.698, allocations: 7.8 MB / 0.696 GB, free: 107.6 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.332e-05/1.698, allocations: 44 kB / 0.696 GB, free: 107.5 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.679e-05/1.698, allocations: 19.98 kB / 0.696 GB, free: 107.5 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.266e-05/1.698, allocations: 19.92 kB / 0.696 GB, free: 107.5 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03977/1.738, allocations: 17.52 MB / 0.7131 GB, free: 89.85 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.389e-05/1.738, allocations: 4 kB / 0.7132 GB, free: 89.84 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00327/1.741, allocations: 0.7295 MB / 0.7139 GB, free: 89.11 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003987/1.745, allocations: 1.557 MB / 0.7154 GB, free: 87.54 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008738/1.746, allocations: 108 kB / 0.7155 GB, free: 87.43 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0198/1.766, allocations: 19.49 MB / 0.7345 GB, free: 67.04 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.775e-06/1.766, allocations: 7.938 kB / 0.7345 GB, free: 67.03 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0197/1.786, allocations: 11.44 MB / 0.7457 GB, free: 55.41 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003832/1.79, allocations: 1.178 MB / 0.7468 GB, free: 54.21 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002063/1.792, allocations: 87.98 kB / 0.7469 GB, free: 54.12 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004318/1.796, allocations: 239.8 kB / 0.7472 GB, free: 53.89 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001567/1.798, allocations: 331.3 kB / 0.7475 GB, free: 53.56 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007921/1.798, allocations: 128 kB / 0.7476 GB, free: 53.44 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.006581/1.805, allocations: 3.216 MB / 0.7507 GB, free: 50.23 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.21e-07/1.805, allocations: 4 kB / 0.7507 GB, free: 50.22 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01033/1.815, allocations: 1.893 MB / 0.7526 GB, free: 48.33 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 (364): * Single equations (assignments): 357 * 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,40.8%) 44,(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 12,(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.001232/1.817, allocations: 277.1 kB / 0.7529 GB, free: 48.06 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01464/1.831, allocations: 8.199 MB / 0.7609 GB, free: 39.8 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.206e-05/1.831, allocations: 0 / 0.7609 GB, free: 39.8 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00786/1.839, allocations: 4.651 MB / 0.7654 GB, free: 35.06 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008493/1.848, allocations: 1.263 MB / 0.7666 GB, free: 33.8 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2559/2.104, allocations: 23.33 MB / 0.7894 GB, free: 142.8 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01024/2.114, allocations: 6.852 MB / 0.7961 GB, free: 141.9 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.006067/2.12, allocations: 1.93 MB / 0.798 GB, free: 141.8 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001175/2.121, allocations: 386.5 kB / 0.7984 GB, free: 141.8 MB / 462.1 MB Notification: Performance of SimCode: time 1.152e-06/2.121, allocations: 0 / 0.7984 GB, free: 141.8 MB / 462.1 MB Notification: Performance of Templates: time 0.1271/2.248, allocations: 79.73 MB / 0.8762 GB, free: 78.62 MB / 462.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1)