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.001207/0.001207, allocations: 107.1 kB / 17.06 MB, free: 5.824 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.0009923/0.0009923, allocations: 191 kB / 18 MB, free: 4.977 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.458/1.458, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.001209/0.001209, allocations: 47.92 kB / 329.3 MB, free: 1.875 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1147, allocations: 46.62 MB / 375.9 MB, free: 3.148 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD): time 0.304/0.4187, allocations: 36.59 MB / 412.5 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03168/0.4505, allocations: 9.762 MB / 422.3 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01514/0.4657, allocations: 228.7 kB / 422.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02626/0.492, allocations: 9.683 MB / 432.2 MB, free: 5.809 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02072/0.5128, allocations: 4.087 MB / 436.3 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009779/0.5226, allocations: 2.467 MB / 438.7 MB, free: 15.83 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02893/0.5515, allocations: 17.08 MB / 455.8 MB, free: 14.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05351/0.6051, allocations: 31.25 MB / 487.1 MB, free: 15.18 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01854/0.6237, allocations: 8.751 MB / 495.8 MB, free: 6.406 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02018/0.6439, allocations: 9.612 MB / 0.4936 GB, free: 12.76 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009695/0.6537, allocations: 2.512 MB / 0.496 GB, free: 10.25 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01307/0.6668, allocations: 2.898 MB / 0.4989 GB, free: 7.352 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01096/0.6778, allocations: 5.031 MB / 0.5038 GB, free: 2.309 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02441/0.7023, allocations: 9.479 MB / 0.513 GB, free: 8.789 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05095/0.7532, allocations: 33.2 MB / 0.5455 GB, free: 7.496 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.7533, allocations: 0 / 0.5455 GB, free: 7.496 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.7533, allocations: 0 / 0.5455 GB, free: 7.496 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.001184/0.7545, allocations: 4 kB / 0.5455 GB, free: 7.492 MB / 478.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.5464/1.301, allocations: 19.31 MB / 0.5643 GB, free: 132.4 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.55e-05/1.301, allocations: 11.14 kB / 0.5643 GB, free: 132.4 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05699/1.358, allocations: 9.728 MB / 0.5738 GB, free: 128.9 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02593/1.384, allocations: 9.486 MB / 0.5831 GB, free: 122.2 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001164/1.385, allocations: 1.066 MB / 0.5841 GB, free: 121.1 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007551/1.393, allocations: 1.394 MB / 0.5855 GB, free: 119.7 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0726/1.465, allocations: 23.58 MB / 0.6085 GB, free: 96.08 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001075/1.467, allocations: 23.73 kB / 0.6085 GB, free: 96.06 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008534/1.475, allocations: 0.5737 MB / 0.6091 GB, free: 95.5 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008693/1.476, allocations: 0.8068 MB / 0.6099 GB, free: 94.69 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05058/1.527, allocations: 22.21 MB / 0.6316 GB, free: 72.45 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1286/1.655, allocations: 74.06 MB / 0.7039 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03643/1.692, allocations: 38.09 MB / 0.7411 GB, free: 3.406 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01299/1.705, allocations: 6.517 MB / 0.7475 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2912/1.996, allocations: 18.22 MB / 0.7653 GB, free: 177.6 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.56e-05/1.996, allocations: 96.62 kB / 0.7654 GB, free: 177.6 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=581): time 1.064e-05/1.996, allocations: 7.672 kB / 0.7654 GB, free: 177.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=589): time 0.1034/2.1, allocations: 37.23 MB / 0.8017 GB, free: 165.2 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001212/2.1, allocations: 142.4 kB / 0.8019 GB, free: 165.1 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01061/2.11, allocations: 6.075 MB / 0.8078 GB, free: 162.1 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001556/2.112, allocations: 117.4 kB / 0.8079 GB, free: 162 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003966/2.116, allocations: 6.121 MB / 0.8139 GB, free: 156.7 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002614/2.119, allocations: 1.996 MB / 0.8158 GB, free: 155 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002721/2.121, allocations: 1.596 MB / 0.8174 GB, free: 154.1 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.473e-05/2.121, allocations: 305.1 kB / 0.8177 GB, free: 153.8 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005809/2.127, allocations: 4.229 MB / 0.8218 GB, free: 150 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007075/2.134, allocations: 7.153 MB / 0.8288 GB, free: 141.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01482/2.149, allocations: 12.06 MB / 0.8406 GB, free: 128.1 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000103/2.149, allocations: 28 kB / 0.8406 GB, free: 128.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1051) (initialization): time 0.02905/2.178, allocations: 14.27 MB / 0.8545 GB, free: 113.7 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001332/2.178, allocations: 44 kB / 0.8546 GB, free: 113.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002088/2.179, allocations: 99.94 kB / 0.8547 GB, free: 113.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007267/2.186, allocations: 2.759 MB / 0.8574 GB, free: 110.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006807/2.193, allocations: 1.699 MB / 0.859 GB, free: 109.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03399/2.227, allocations: 31.6 MB / 0.8899 GB, free: 76.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008856/2.236, allocations: 443.5 kB / 0.8903 GB, free: 76.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001853/2.238, allocations: 392.9 kB / 0.8907 GB, free: 75.91 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 429 * Number of states: 0 () * Number of discrete variables: 12 (booleanStepYD[3].y,booleanStepYD[2].y,booleanStepYD[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1],booleanStepYDQS[3].y,booleanStepYDQS[2].y,booleanStepYDQS[1].y,booleanStepQS[3].y,booleanStepQS[2].y,booleanStepQS[1].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (881): * Single equations (assignments): 874 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,8,100.0%), (9,19,33.3%), (1,1,100.0%), (1,13,100.0%), (1,1,100.0%), (24,96,32.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01217/2.25, allocations: 5.431 MB / 0.896 GB, free: 70.47 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002356/2.252, allocations: 0.6289 MB / 0.8966 GB, free: 69.83 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01794/2.27, allocations: 11.56 MB / 0.9079 GB, free: 58.18 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.211e-05/2.27, allocations: 56 kB / 0.9079 GB, free: 58.12 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-05/2.27, allocations: 32 kB / 0.908 GB, free: 58.09 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.869e-05/2.27, allocations: 31.88 kB / 0.908 GB, free: 58.06 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04424/2.315, allocations: 24.42 MB / 0.9318 GB, free: 33.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-05/2.315, allocations: 4 kB / 0.9318 GB, free: 33.55 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004111/2.319, allocations: 0.8699 MB / 0.9327 GB, free: 32.68 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006939/2.326, allocations: 2.816 MB / 0.9354 GB, free: 29.84 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001625/2.327, allocations: 136 kB / 0.9356 GB, free: 29.71 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3676/2.695, allocations: 34.57 MB / 0.9693 GB, free: 158.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.466e-06/2.695, allocations: 10.16 kB / 0.9693 GB, free: 158.4 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03064/2.726, allocations: 16.89 MB / 0.9858 GB, free: 151.2 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005782/2.731, allocations: 1.558 MB / 0.9874 GB, free: 150.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004032/2.736, allocations: 121.5 kB / 0.9875 GB, free: 150.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007112/2.743, allocations: 308.6 kB / 0.9878 GB, free: 150.5 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002306/2.745, allocations: 0.5024 MB / 0.9883 GB, free: 150.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005228/2.746, allocations: 171.4 kB / 0.9884 GB, free: 150.4 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00828/2.754, allocations: 4.103 MB / 0.9924 GB, free: 148.9 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.22e-07/2.754, allocations: 0 / 0.9924 GB, free: 148.9 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01421/2.768, allocations: 2.596 MB / 0.995 GB, free: 148.6 MB / 0.5294 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,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 (446): * Single equations (assignments): 438 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (24,96,34.7%), (1,1,100.0%), (1,8,100.0%), (9,19,33.3%), (1,13,100.0%), (1,8,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001967/2.77, allocations: 313.2 kB / 0.9953 GB, free: 148.4 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0218/2.792, allocations: 11.95 MB / 1.007 GB, free: 143.4 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.164e-05/2.792, allocations: 3.938 kB / 1.007 GB, free: 143.4 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.01355/2.806, allocations: 7 MB / 1.014 GB, free: 138.2 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01592/2.822, allocations: 1.748 MB / 1.015 GB, free: 136.8 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05932/2.881, allocations: 26.09 MB / 1.041 GB, free: 113.2 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02107/2.902, allocations: 9.133 MB / 1.05 GB, free: 104.8 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.01135/2.913, allocations: 2.636 MB / 1.052 GB, free: 102.1 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003214/2.917, allocations: 475.3 kB / 1.053 GB, free: 101.7 MB / 0.5294 GB Notification: Performance of SimCode: time 1.673e-06/2.917, allocations: 3.391 kB / 1.053 GB, free: 101.7 MB / 0.5294 GB Notification: Performance of Templates: time 0.4377/3.354, allocations: 115.4 MB / 1.166 GB, free: 168.8 MB / 0.545 GB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.makefile (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)