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.001037/0.001037, allocations: 112.4 kB / 17.06 MB, free: 5.977 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.001165/0.001165, allocations: 200 kB / 18.01 MB, free: 5.055 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.411/1.411, allocations: 205.1 MB / 223.9 MB, free: 12.26 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.001673/0.001673, allocations: 56.34 kB / 329.3 MB, free: 1.855 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1163, allocations: 46.62 MB / 375.9 MB, free: 3.125 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD): time 0.301/0.4173, allocations: 36.58 MB / 412.5 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03005/0.4474, allocations: 9.765 MB / 422.3 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01409/0.4615, allocations: 227.2 kB / 422.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0263/0.4879, allocations: 9.68 MB / 432.2 MB, free: 5.789 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02172/0.5097, allocations: 4.089 MB / 436.3 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01056/0.5203, allocations: 2.475 MB / 438.7 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.03121/0.5515, allocations: 17.07 MB / 455.8 MB, free: 14.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05469/0.6063, allocations: 31.24 MB / 487 MB, free: 15.16 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01907/0.6254, allocations: 8.786 MB / 495.8 MB, free: 6.352 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02141/0.6469, allocations: 9.612 MB / 0.4936 GB, free: 12.71 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009744/0.6567, allocations: 2.516 MB / 0.4961 GB, free: 10.19 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01624/0.673, allocations: 2.902 MB / 0.4989 GB, free: 7.289 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01274/0.6858, allocations: 5.031 MB / 0.5038 GB, free: 2.246 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02583/0.7117, allocations: 9.475 MB / 0.5131 GB, free: 8.734 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05451/0.7662, allocations: 33.21 MB / 0.5455 GB, free: 7.43 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.7663, allocations: 0 / 0.5455 GB, free: 7.43 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.7663, allocations: 0 / 0.5455 GB, free: 7.43 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.001449/0.7678, allocations: 0 / 0.5455 GB, free: 7.43 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.6369/1.405, allocations: 19.31 MB / 0.5643 GB, free: 92.88 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.119e-05/1.405, allocations: 9.844 kB / 0.5643 GB, free: 92.88 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05996/1.465, allocations: 9.726 MB / 0.5738 GB, free: 91.71 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02705/1.492, allocations: 9.498 MB / 0.5831 GB, free: 84.83 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001415/1.493, allocations: 1.062 MB / 0.5842 GB, free: 83.78 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007983/1.501, allocations: 1.403 MB / 0.5855 GB, free: 82.39 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0669/1.568, allocations: 23.57 MB / 0.6085 GB, free: 58.75 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001035/1.569, allocations: 27.27 kB / 0.6086 GB, free: 58.73 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006919/1.576, allocations: 0.5827 MB / 0.6091 GB, free: 58.16 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008259/1.577, allocations: 0.8029 MB / 0.6099 GB, free: 57.36 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0485/1.626, allocations: 22.21 MB / 0.6316 GB, free: 35.15 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1414/1.767, allocations: 74.05 MB / 0.7039 GB, free: 8.922 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0403/1.808, allocations: 38.1 MB / 0.7411 GB, free: 15.05 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01226/1.82, allocations: 6.518 MB / 0.7475 GB, free: 8.523 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04224/1.862, allocations: 18.22 MB / 0.7653 GB, free: 6.434 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001034/1.862, allocations: 98.83 kB / 0.7654 GB, free: 6.328 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=581): time 6.893e-06/1.862, allocations: 0 / 0.7654 GB, free: 6.328 MB / 0.5763 GB Notification: Performance of matching and sorting (n=589): time 0.3462/2.208, allocations: 37.23 MB / 0.8018 GB, free: 218.8 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.774e-05/2.209, allocations: 146 kB / 0.8019 GB, free: 218.7 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009753/2.218, allocations: 6.078 MB / 0.8078 GB, free: 216.5 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.001509/2.22, allocations: 116.7 kB / 0.8079 GB, free: 216.4 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.004052/2.224, allocations: 6.117 MB / 0.8139 GB, free: 211.8 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.002895/2.227, allocations: 1.996 MB / 0.8159 GB, free: 210.3 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003009/2.23, allocations: 1.596 MB / 0.8174 GB, free: 209.5 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 4.524e-05/2.23, allocations: 301.1 kB / 0.8177 GB, free: 209.2 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005735/2.236, allocations: 4.234 MB / 0.8218 GB, free: 207.3 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009433/2.245, allocations: 7.155 MB / 0.8288 GB, free: 201.2 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01419/2.259, allocations: 12.05 MB / 0.8406 GB, free: 188.2 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.921e-05/2.26, allocations: 29.03 kB / 0.8406 GB, free: 188.2 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1051) (initialization): time 0.02469/2.284, allocations: 14.28 MB / 0.8546 GB, free: 173.9 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 6.883e-05/2.284, allocations: 44 kB / 0.8546 GB, free: 173.8 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000133/2.284, allocations: 92 kB / 0.8547 GB, free: 173.7 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006421/2.291, allocations: 2.768 MB / 0.8574 GB, free: 171 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007047/2.298, allocations: 1.692 MB / 0.8591 GB, free: 169.3 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03365/2.332, allocations: 31.6 MB / 0.8899 GB, free: 136.9 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009211/2.341, allocations: 435.6 kB / 0.8903 GB, free: 136.5 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002042/2.343, allocations: 392 kB / 0.8907 GB, free: 136.1 MB / 0.5763 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.01299/2.356, allocations: 5.425 MB / 0.896 GB, free: 130.6 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002185/2.358, allocations: 0.6445 MB / 0.8966 GB, free: 130 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01792/2.376, allocations: 11.56 MB / 0.9079 GB, free: 118.3 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-05/2.376, allocations: 60 kB / 0.908 GB, free: 118.3 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.105e-05/2.376, allocations: 32 kB / 0.908 GB, free: 118.2 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.045e-05/2.376, allocations: 27.89 kB / 0.908 GB, free: 118.2 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04847/2.425, allocations: 24.42 MB / 0.9319 GB, free: 93.7 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.322e-05/2.425, allocations: 4 kB / 0.9319 GB, free: 93.7 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004044/2.429, allocations: 0.8698 MB / 0.9327 GB, free: 92.83 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006919/2.436, allocations: 2.817 MB / 0.9355 GB, free: 90 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001169/2.437, allocations: 140 kB / 0.9356 GB, free: 89.86 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03575/2.473, allocations: 34.58 MB / 0.9694 GB, free: 54.23 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-05/2.473, allocations: 11.98 kB / 0.9694 GB, free: 54.22 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03413/2.507, allocations: 16.89 MB / 0.9859 GB, free: 37.01 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006883/2.514, allocations: 1.563 MB / 0.9874 GB, free: 35.42 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00339/2.517, allocations: 116 kB / 0.9875 GB, free: 35.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006234/2.524, allocations: 319.6 kB / 0.9878 GB, free: 34.99 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002535/2.526, allocations: 0.4893 MB / 0.9883 GB, free: 34.5 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001419/2.528, allocations: 180 kB / 0.9885 GB, free: 34.32 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.009709/2.537, allocations: 4.096 MB / 0.9925 GB, free: 30.23 MB / 0.5763 GB Notification: Performance of sort global known variables: time 4.5e-07/2.537, allocations: 0 / 0.9925 GB, free: 30.23 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01665/2.554, allocations: 2.596 MB / 0.995 GB, free: 27.63 MB / 0.5763 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.002138/2.556, allocations: 308 kB / 0.9953 GB, free: 27.33 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.3169/2.873, allocations: 11.95 MB / 1.007 GB, free: 212.7 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.247e-05/2.873, allocations: 3.969 kB / 1.007 GB, free: 212.7 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.01492/2.888, allocations: 6.992 MB / 1.014 GB, free: 211.5 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01774/2.906, allocations: 1.741 MB / 1.016 GB, free: 211.3 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06467/2.971, allocations: 26.1 MB / 1.041 GB, free: 202.7 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01953/2.99, allocations: 9.133 MB / 1.05 GB, free: 199.4 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.008739/2.999, allocations: 2.637 MB / 1.052 GB, free: 199.1 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002474/3.002, allocations: 471 kB / 1.053 GB, free: 198.9 MB / 0.5763 GB Notification: Performance of SimCode: time 1.533e-06/3.002, allocations: 5.906 kB / 1.053 GB, free: 198.9 MB / 0.5763 GB Notification: Performance of Templates: time 0.2378/3.239, allocations: 116.4 MB / 1.167 GB, free: 85.65 MB / 0.5763 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)