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_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.1_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.1_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.001165/0.001165, allocations: 99.78 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.001337/0.001337, 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.412/1.412, allocations: 205.4 MB / 222.1 MB, free: 5.527 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.0005294/0.0005296, allocations: 12 kB / 280.2 MB, free: 11.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/0.2429, allocations: 47.58 MB / 327.8 MB, free: 1.879 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD): time 0.02869/0.2716, allocations: 29.25 MB / 357 MB, free: 5.992 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02145/0.2931, allocations: 9.428 MB / 366.5 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007205/0.3004, allocations: 215.2 kB / 366.7 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007165/0.3076, allocations: 1.931 MB / 368.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01323/0.3208, allocations: 3.463 MB / 372.1 MB, free: 6.918 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007446/0.3283, allocations: 1.703 MB / 373.8 MB, free: 5.215 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0239/0.3522, allocations: 13.97 MB / 387.8 MB, free: 7.223 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04858/0.4008, allocations: 24.28 MB / 412 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01198/0.4129, allocations: 5.81 MB / 417.8 MB, free: 8.984 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01532/0.4282, allocations: 6.455 MB / 424.3 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004397/0.4327, allocations: 0.9609 MB / 425.3 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006835/0.4395, allocations: 1.273 MB / 426.5 MB, free: 276 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006125/0.4457, allocations: 3.014 MB / 429.5 MB, free: 13.25 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007273/0.453, allocations: 3.166 MB / 432.7 MB, free: 10.07 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4284/0.8814, allocations: 27.88 MB / 460.6 MB, free: 36.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.8814, allocations: 0 / 460.6 MB, free: 36.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.8814, allocations: 0 / 460.6 MB, free: 36.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0008831/0.8823, allocations: 0.5625 kB / 460.6 MB, free: 36.68 MB / 382.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.04465/0.927, allocations: 16.17 MB / 476.8 MB, free: 31.9 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/0.927, allocations: 7.469 kB / 476.8 MB, free: 31.9 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05177/0.9788, allocations: 9.649 MB / 486.4 MB, free: 28.6 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02111/1, allocations: 9.303 MB / 495.7 MB, free: 26.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001124/1.001, allocations: 1.069 MB / 496.8 MB, free: 26.19 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005789/1.007, allocations: 1.398 MB / 498.2 MB, free: 25.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05515/1.062, allocations: 23.37 MB / 0.5093 GB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000623/1.063, allocations: 21.84 kB / 0.5094 GB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004611/1.067, allocations: 0.5815 MB / 0.5099 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007661/1.068, allocations: 0.8041 MB / 0.5107 GB, free: 9.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04774/1.116, allocations: 22.13 MB / 0.5323 GB, free: 6.031 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1518/1.268, allocations: 75.15 MB / 0.6057 GB, free: 10.68 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.238/1.506, allocations: 38.04 MB / 0.6429 GB, free: 148.4 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02886/1.535, allocations: 17.64 MB / 0.6601 GB, free: 141.4 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.98e-05/1.535, allocations: 99.19 kB / 0.6602 GB, free: 141.3 MB / 494.1 MB Notification: Performance of pre-optimization done (n=589): time 6.653e-06/1.535, allocations: 0 / 0.6602 GB, free: 141.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=597): time 0.08305/1.618, allocations: 36.59 MB / 0.6959 GB, free: 123.8 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.976e-05/1.618, allocations: 146.4 kB / 0.6961 GB, free: 123.6 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007614/1.626, allocations: 5.958 MB / 0.7019 GB, free: 117.6 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001024/1.627, allocations: 121.7 kB / 0.702 GB, free: 117.5 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002789/1.629, allocations: 6.111 MB / 0.708 GB, free: 111.4 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001912/1.631, allocations: 2.026 MB / 0.7099 GB, free: 109.4 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004269/1.632, allocations: 168 kB / 0.7101 GB, free: 109.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003107/1.632, allocations: 0.6334 MB / 0.7107 GB, free: 108.6 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005263/1.637, allocations: 4.252 MB / 0.7149 GB, free: 104.3 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00621/1.644, allocations: 7.132 MB / 0.7218 GB, free: 95.83 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007193/1.651, allocations: 5.692 MB / 0.7274 GB, free: 90.14 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.105e-05/1.651, allocations: 32 kB / 0.7274 GB, free: 90.11 MB / 494.1 MB Notification: Performance of matching and sorting (n=1057) (initialization): time 0.02015/1.671, allocations: 14.3 MB / 0.7414 GB, free: 75.74 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.549e-05/1.671, allocations: 49.88 kB / 0.7414 GB, free: 75.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001001/1.671, allocations: 96 kB / 0.7415 GB, free: 75.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005996/1.677, allocations: 2.776 MB / 0.7442 GB, free: 72.81 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005635/1.683, allocations: 1.696 MB / 0.7459 GB, free: 71.11 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03113/1.714, allocations: 30.29 MB / 0.7755 GB, free: 40.05 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006975/1.721, allocations: 447.5 kB / 0.7759 GB, free: 39.61 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001329/1.722, allocations: 399.9 kB / 0.7763 GB, free: 39.22 MB / 494.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.00921/1.732, allocations: 5.429 MB / 0.7816 GB, free: 33.78 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001454/1.733, allocations: 0.6445 MB / 0.7822 GB, free: 33.12 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01754/1.751, allocations: 11.67 MB / 0.7936 GB, free: 21.36 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.843e-05/1.751, allocations: 64 kB / 0.7937 GB, free: 21.29 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-05/1.751, allocations: 31.94 kB / 0.7937 GB, free: 21.26 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.622e-05/1.751, allocations: 27.89 kB / 0.7937 GB, free: 21.23 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2502/2.001, allocations: 24.56 MB / 0.8177 GB, free: 158.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.447e-05/2.001, allocations: 7.875 kB / 0.8177 GB, free: 158.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004064/2.005, allocations: 0.8768 MB / 0.8186 GB, free: 158.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006551/2.012, allocations: 2.801 MB / 0.8213 GB, free: 158.7 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009215/2.013, allocations: 138.6 kB / 0.8214 GB, free: 158.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.034/2.047, allocations: 32.86 MB / 0.8535 GB, free: 140.4 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/2.047, allocations: 11.75 kB / 0.8535 GB, free: 140.4 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02315/2.07, allocations: 17.94 MB / 0.8711 GB, free: 132 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004443/2.075, allocations: 1.583 MB / 0.8726 GB, free: 131.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00152/2.076, allocations: 126.5 kB / 0.8727 GB, free: 131.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003639/2.08, allocations: 319.4 kB / 0.873 GB, free: 131.2 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001091/2.081, allocations: 0.5047 MB / 0.8735 GB, free: 131.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003868/2.081, allocations: 171.9 kB / 0.8737 GB, free: 131.1 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005832/2.087, allocations: 4.008 MB / 0.8776 GB, free: 129.6 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.51e-07/2.087, allocations: 0 / 0.8776 GB, free: 129.6 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01044/2.098, allocations: 2.595 MB / 0.8801 GB, free: 128 MB / 494.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.001096/2.099, allocations: 317.3 kB / 0.8804 GB, free: 127.7 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01635/2.115, allocations: 12.01 MB / 0.8922 GB, free: 117.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.237e-06/2.115, allocations: 4 kB / 0.8922 GB, free: 117.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0116/2.127, allocations: 7.054 MB / 0.8991 GB, free: 111 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00852/2.135, allocations: 1.564 MB / 0.9006 GB, free: 109.7 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04448/2.18, allocations: 31.15 MB / 0.931 GB, free: 79.16 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01132/2.191, allocations: 9.37 MB / 0.9401 GB, free: 69.75 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.007552/2.199, allocations: 2.637 MB / 0.9427 GB, free: 67.11 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001481/2.2, allocations: 463.3 kB / 0.9432 GB, free: 66.66 MB / 494.1 MB Notification: Performance of SimCode: time 1.413e-06/2.2, allocations: 0 / 0.9432 GB, free: 66.66 MB / 494.1 MB Notification: Performance of Templates: time 0.3701/2.57, allocations: 111.2 MB / 1.052 GB, free: 133.3 MB / 494.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.sim & ./Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD -nls=newton -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe 2>&1) Environment - environmentSimulation: