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_YD.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_YD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008982/0.0008984, allocations: 93.41 kB / 16.3 MB, free: 5.996 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.0008928/0.0008929, allocations: 179.9 kB / 17.2 MB, free: 5.914 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.507/1.507, allocations: 205.4 MB / 223.4 MB, free: 13.17 MB / 190.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.0004966/0.0004969, allocations: 8 kB / 281.5 MB, free: 2.387 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1053, allocations: 47.58 MB / 329.1 MB, free: 2.734 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD): time 0.03055/0.1359, allocations: 29.26 MB / 358.3 MB, free: 5.383 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02148/0.1574, allocations: 9.432 MB / 367.7 MB, free: 11.93 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008024/0.1655, allocations: 207.2 kB / 367.9 MB, free: 11.72 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008467/0.174, allocations: 1.939 MB / 369.9 MB, free: 9.773 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01624/0.1903, allocations: 3.451 MB / 373.3 MB, free: 6.312 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008223/0.1986, allocations: 1.711 MB / 375 MB, free: 4.605 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.251/0.4495, allocations: 13.95 MB / 389 MB, free: 14.01 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04737/0.497, allocations: 24.28 MB / 413.3 MB, free: 9.695 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01326/0.5103, allocations: 5.812 MB / 419.1 MB, free: 7.031 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01264/0.523, allocations: 6.463 MB / 425.6 MB, free: 3.758 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004901/0.5279, allocations: 0.9609 MB / 426.5 MB, free: 2.797 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008593/0.5365, allocations: 1.263 MB / 427.8 MB, free: 1.637 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006538/0.5431, allocations: 3.026 MB / 430.8 MB, free: 320 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008774/0.5519, allocations: 3.17 MB / 434 MB, free: 14.78 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03426/0.5862, allocations: 27.88 MB / 461.9 MB, free: 4.148 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.206e-06/0.5863, allocations: 0 / 461.9 MB, free: 4.148 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.568e-06/0.5863, allocations: 0 / 461.9 MB, free: 4.148 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.001205/0.5875, allocations: 0 / 461.9 MB, free: 4.148 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3951 * Number of variables: 3951 Notification: Performance of Generate backend data structure: time 0.05229/0.6398, allocations: 16.17 MB / 478 MB, free: 4.086 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.6399, allocations: 12.03 kB / 478 MB, free: 4.074 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05312/0.693, allocations: 9.655 MB / 487.7 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02406/0.7171, allocations: 9.288 MB / 497 MB, free: 1.262 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001298/0.7185, allocations: 1.069 MB / 498 MB, free: 212 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006258/0.7247, allocations: 1.408 MB / 499.5 MB, free: 14.81 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06963/0.7944, allocations: 23.36 MB / 0.5106 GB, free: 7.375 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008605/0.7953, allocations: 27.73 kB / 0.5106 GB, free: 7.348 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005953/0.8013, allocations: 0.5821 MB / 0.5112 GB, free: 6.781 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001052/0.8023, allocations: 0.8095 MB / 0.5119 GB, free: 5.973 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4065/1.209, allocations: 22.12 MB / 0.5335 GB, free: 109.7 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1355/1.344, allocations: 75.16 MB / 0.6069 GB, free: 62.44 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02744/1.372, allocations: 38.04 MB / 0.6441 GB, free: 25.52 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03579/1.408, allocations: 17.64 MB / 0.6613 GB, free: 7.957 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.127e-05/1.408, allocations: 103.8 kB / 0.6614 GB, free: 7.848 MB / 430.1 MB Notification: Performance of pre-optimization done (n=589): time 8.656e-06/1.408, allocations: 0 / 0.6614 GB, free: 7.848 MB / 430.1 MB Notification: Performance of matching and sorting (n=597): time 0.09991/1.508, allocations: 36.58 MB / 0.6971 GB, free: 2.945 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/1.508, allocations: 146.4 kB / 0.6973 GB, free: 2.781 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01315/1.521, allocations: 5.962 MB / 0.7031 GB, free: 12.8 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001685/1.523, allocations: 121.7 kB / 0.7032 GB, free: 12.68 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.005393/1.528, allocations: 6.116 MB / 0.7092 GB, free: 6.527 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00299/1.531, allocations: 2.018 MB / 0.7112 GB, free: 4.527 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001378/1.533, allocations: 168 kB / 0.7113 GB, free: 4.363 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0007491/1.533, allocations: 0.6334 MB / 0.7119 GB, free: 3.723 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2387/1.772, allocations: 4.247 MB / 0.7161 GB, free: 151 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01236/1.785, allocations: 7.137 MB / 0.7231 GB, free: 147.5 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01082/1.795, allocations: 5.696 MB / 0.7286 GB, free: 145.3 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001627/1.796, allocations: 26.19 kB / 0.7287 GB, free: 145.3 MB / 478.1 MB Notification: Performance of matching and sorting (n=1057) (initialization): time 0.02331/1.819, allocations: 14.3 MB / 0.7426 GB, free: 139.8 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.116e-05/1.819, allocations: 45.69 kB / 0.7427 GB, free: 139.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001779/1.819, allocations: 92.28 kB / 0.7428 GB, free: 139.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006677/1.826, allocations: 2.773 MB / 0.7455 GB, free: 139 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006988/1.833, allocations: 1.701 MB / 0.7471 GB, free: 138.9 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03338/1.866, allocations: 30.29 MB / 0.7767 GB, free: 119.6 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007242/1.874, allocations: 447 kB / 0.7771 GB, free: 119.3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001677/1.875, allocations: 387.4 kB / 0.7775 GB, free: 118.9 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 427 * Number of states: 0 () * Number of discrete variables: 12 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,booleanStepYDQS[1].y,booleanStepYDQS[2].y,booleanStepYDQS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (887): * Single equations (assignments): 880 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 8,(9,33.3%) 19,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 1,(24,33.0%) 96} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01024/1.886, allocations: 5.423 MB / 0.7828 GB, free: 114.3 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001646/1.887, allocations: 0.6461 MB / 0.7834 GB, free: 114 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0183/1.906, allocations: 11.68 MB / 0.7948 GB, free: 104.3 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.005e-05/1.906, allocations: 60 kB / 0.7949 GB, free: 104.2 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.009e-05/1.906, allocations: 28 kB / 0.7949 GB, free: 104.2 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.25e-05/1.906, allocations: 29.86 kB / 0.7949 GB, free: 104.2 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05054/1.956, allocations: 24.55 MB / 0.8189 GB, free: 79.93 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.015e-05/1.956, allocations: 10.75 kB / 0.8189 GB, free: 79.93 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004269/1.961, allocations: 0.8737 MB / 0.8198 GB, free: 79.05 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007335/1.968, allocations: 2.795 MB / 0.8225 GB, free: 76.23 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001094/1.969, allocations: 147.9 kB / 0.8227 GB, free: 76.09 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03615/2.005, allocations: 32.87 MB / 0.8548 GB, free: 42.49 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/2.005, allocations: 11.94 kB / 0.8548 GB, free: 42.48 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03177/2.037, allocations: 17.93 MB / 0.8723 GB, free: 23.97 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005379/2.043, allocations: 1.582 MB / 0.8738 GB, free: 22.37 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002587/2.045, allocations: 137.5 kB / 0.874 GB, free: 22.23 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005314/2.051, allocations: 319.7 kB / 0.8743 GB, free: 21.92 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002345/2.053, allocations: 0.4971 MB / 0.8747 GB, free: 21.43 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001238/2.054, allocations: 176 kB / 0.8749 GB, free: 21.25 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.008559/2.063, allocations: 4.006 MB / 0.8788 GB, free: 17.25 MB / 478.1 MB Notification: Performance of sort global known variables: time 6.51e-07/2.063, allocations: 4 kB / 0.8788 GB, free: 17.24 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01361/2.076, allocations: 2.593 MB / 0.8814 GB, free: 14.65 MB / 478.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,quadraticLoadTorqueQS.phi,imc.inertiaRotor.w,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,quadraticLoadTorque.phi) * Number of discrete variables: 12 (booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,booleanStepYDQS[1].y,booleanStepYDQS[2].y,booleanStepYDQS[3].y,idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (454): * Single equations (assignments): 446 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 1,(24,33.0%) 96,(1,100.0%) 8,(9,33.3%) 19,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001956/2.078, allocations: 323.6 kB / 0.8817 GB, free: 14.33 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.2334/2.312, allocations: 12.01 MB / 0.8934 GB, free: 142.6 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.207e-05/2.312, allocations: 2 kB / 0.8934 GB, free: 142.6 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0136/2.326, allocations: 7.067 MB / 0.9003 GB, free: 141.3 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008095/2.334, allocations: 1.565 MB / 0.9018 GB, free: 141.2 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04854/2.382, allocations: 31.14 MB / 0.9322 GB, free: 124.7 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01127/2.394, allocations: 9.37 MB / 0.9414 GB, free: 121.5 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00799/2.402, allocations: 2.639 MB / 0.944 GB, free: 120.5 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001473/2.403, allocations: 470.5 kB / 0.9444 GB, free: 120 MB / 478.1 MB Notification: Performance of SimCode: time 1.322e-06/2.403, allocations: 0 / 0.9444 GB, free: 120 MB / 478.1 MB Notification: Performance of Templates: time 0.1718/2.575, allocations: 111.2 MB / 1.053 GB, free: 9.98 MB / 478.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD -nls=newton -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe 2>&1) Environment - environmentSimulation: