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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001528/0.001528, allocations: 182.6 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.508/1.508, allocations: 194.3 MB / 208.4 MB, free: 6.719 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001543/0.001544, allocations: 132.6 kB / 253.5 MB, free: 9.582 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.979e-05/2.981e-05, allocations: 4 kB / 305.9 MB, free: 28.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08754/0.08759, allocations: 44.5 MB / 350.4 MB, free: 248 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.381/0.4686, allocations: 147.7 MB / 498.1 MB, free: 11.69 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/0.4689, allocations: 105 kB / 498.2 MB, free: 11.63 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.839/2.307, allocations: 468.2 MB / 0.9437 GB, free: 35.98 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.745e-06/2.308, allocations: 4 kB / 0.9437 GB, free: 35.98 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.001802/2.309, allocations: 328.6 kB / 0.9441 GB, free: 35.93 MB / 426.7 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.05605/2.365, allocations: 13.57 MB / 0.9573 GB, free: 31.73 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/2.365, allocations: 10.62 kB / 0.9573 GB, free: 31.73 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04153/2.407, allocations: 6.712 MB / 0.9639 GB, free: 27.91 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03131/2.438, allocations: 11.46 MB / 0.9751 GB, free: 18.93 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00163/2.44, allocations: 1.043 MB / 0.9761 GB, free: 17.89 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007887/2.448, allocations: 1.355 MB / 0.9774 GB, free: 16.53 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4264/2.874, allocations: 23.8 MB / 1.001 GB, free: 28.96 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007102/2.875, allocations: 21.25 kB / 1.001 GB, free: 28.96 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00585/2.881, allocations: 0.5834 MB / 1.001 GB, free: 28.96 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001641/2.883, allocations: 0.9335 MB / 1.002 GB, free: 28.93 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05447/2.937, allocations: 21.62 MB / 1.023 GB, free: 28.81 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1631/3.1, allocations: 77.42 MB / 1.099 GB, free: 15.24 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03419/3.135, allocations: 30.56 MB / 1.129 GB, free: 9.234 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01864/3.153, allocations: 10.64 MB / 1.139 GB, free: 4.691 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4486/3.602, allocations: 34.19 MB / 1.172 GB, free: 81.06 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.769e-05/3.602, allocations: 123.4 kB / 1.173 GB, free: 81.02 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1011): time 1.388e-05/3.602, allocations: 0 / 1.173 GB, free: 81.02 MB / 474.7 MB Notification: Performance of matching and sorting (n=1019): time 0.07627/3.678, allocations: 37.61 MB / 1.209 GB, free: 77.3 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/3.678, allocations: 168.3 kB / 1.21 GB, free: 77.2 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008209/3.687, allocations: 4.285 MB / 1.214 GB, free: 76.82 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002532/3.689, allocations: 171.3 kB / 1.214 GB, free: 76.79 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003795/3.693, allocations: 5.198 MB / 1.219 GB, free: 74.24 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.005741/3.699, allocations: 3.342 MB / 1.222 GB, free: 72.07 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001388/3.7, allocations: 173.2 kB / 1.222 GB, free: 72.07 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0008992/3.701, allocations: 0.7007 MB / 1.223 GB, free: 71.75 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01091/3.712, allocations: 6.659 MB / 1.23 GB, free: 71.72 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01405/3.726, allocations: 8.379 MB / 1.238 GB, free: 68.95 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01485/3.741, allocations: 7.958 MB / 1.246 GB, free: 65.64 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001408/3.741, allocations: 13.34 kB / 1.246 GB, free: 65.64 MB / 474.7 MB Notification: Performance of matching and sorting (n=1251) (initialization): time 0.05058/3.792, allocations: 20.94 MB / 1.266 GB, free: 57.08 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001162/3.792, allocations: 24.19 kB / 1.266 GB, free: 57.08 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000153/3.792, allocations: 44.16 kB / 1.266 GB, free: 57.08 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01852/3.811, allocations: 8.44 MB / 1.274 GB, free: 54.57 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006586/3.817, allocations: 1.395 MB / 1.276 GB, free: 54.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03156/3.849, allocations: 27.78 MB / 1.303 GB, free: 28.55 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008813/3.858, allocations: 428.4 kB / 1.303 GB, free: 28.22 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002097/3.86, allocations: 371.5 kB / 1.304 GB, free: 27.88 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 199 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (727): * Single equations (assignments): 698 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 8 * 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: 5 {(1,100.0%) 1,(1,100.0%) 8,(9,33.3%) 19,(1,100.0%) 13,(1,100.0%) 1} * Non-linear torn systems: 3 {6 9,6 9,46 263} Notification: Performance of prepare postOptimizeDAE: time 0.001765/3.862, allocations: 0.567 MB / 1.304 GB, free: 27.41 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00193/3.864, allocations: 0.6903 MB / 1.305 GB, free: 26.71 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03171/3.895, allocations: 21.01 MB / 1.325 GB, free: 8.695 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003411/3.896, allocations: 247.7 kB / 1.325 GB, free: 8.48 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.692e-05/3.896, allocations: 12 kB / 1.326 GB, free: 8.469 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002435/3.896, allocations: 43.5 kB / 1.326 GB, free: 8.469 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.471/4.367, allocations: 40.26 MB / 1.365 GB, free: 91.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001204/4.367, allocations: 3.812 kB / 1.365 GB, free: 91.05 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00524/4.372, allocations: 0.9709 MB / 1.366 GB, free: 91.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01839/4.391, allocations: 8.536 MB / 1.374 GB, free: 90.84 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002545/4.393, allocations: 214.4 kB / 1.374 GB, free: 90.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03605/4.43, allocations: 32.03 MB / 1.406 GB, free: 80.07 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/4.43, allocations: 5.766 kB / 1.406 GB, free: 80.07 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0526/4.482, allocations: 31.28 MB / 1.436 GB, free: 67.53 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.008055/4.49, allocations: 2.357 MB / 1.438 GB, free: 66.59 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003393/4.494, allocations: 158.8 kB / 1.439 GB, free: 66.47 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006539/4.5, allocations: 396.8 kB / 1.439 GB, free: 66.36 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002594/4.503, allocations: 0.7874 MB / 1.44 GB, free: 66.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009945/4.504, allocations: 274.9 kB / 1.44 GB, free: 66.13 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.006463/4.51, allocations: 3.26 MB / 1.443 GB, free: 64.89 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.31e-07/4.51, allocations: 1.812 kB / 1.443 GB, free: 64.89 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01672/4.527, allocations: 2.645 MB / 1.446 GB, free: 64.61 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 10 (imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.w,quadraticLoadTorqueQS.phi,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.zeroInductor.i0,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,loadInertia.w,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,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (510): * Single equations (assignments): 480 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 8,(9,33.3%) 19,(1,100.0%) 13,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 3 {6 9,6 9,46 263} Notification: Performance of Backend phase and start with SimCode phase: time 0.003343/4.531, allocations: 0.7158 MB / 1.447 GB, free: 64.35 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.03079/4.561, allocations: 17.42 MB / 1.464 GB, free: 50.04 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.236e-05/4.561, allocations: 0 / 1.464 GB, free: 50.04 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01894/4.58, allocations: 10.13 MB / 1.473 GB, free: 41.02 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0127/4.593, allocations: 1.582 MB / 1.475 GB, free: 39.82 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06683/4.66, allocations: 27.2 MB / 1.502 GB, free: 15.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0159/4.676, allocations: 9.507 MB / 1.511 GB, free: 8.539 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0082/4.684, allocations: 1.985 MB / 1.513 GB, free: 7.16 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001846/4.686, allocations: 440.8 kB / 1.513 GB, free: 6.754 MB / 490.7 MB Notification: Performance of SimCode: time 1.442e-06/4.686, allocations: 0 / 1.513 GB, free: 6.754 MB / 490.7 MB Notification: Performance of Templates: time 0.633/5.319, allocations: 178.6 MB / 1.688 GB, free: 2.898 MB / 0.4948 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)