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_withLosses.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_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001657/0.001657, allocations: 182.3 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.473/1.473, allocations: 194.3 MB / 208.4 MB, free: 6.723 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.001638/0.001638, allocations: 128.6 kB / 253.5 MB, free: 9.582 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.991e-05/2.992e-05, allocations: 8 kB / 305 MB, free: 29.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09067/0.09072, allocations: 44.51 MB / 349.5 MB, free: 1.227 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4108/0.5016, allocations: 126.4 MB / 475.9 MB, free: 1.488 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003146/0.502, allocations: 102.7 kB / 476 MB, free: 1.434 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.175/1.677, allocations: 352.9 MB / 0.8095 GB, free: 27.35 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.573e-06/1.678, allocations: 3.938 kB / 0.8095 GB, free: 27.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006389/1.678, allocations: 223.7 kB / 0.8097 GB, free: 27.12 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2742 * Number of variables: 2742 Notification: Performance of Generate backend data structure: time 0.03281/1.711, allocations: 9.555 MB / 0.8191 GB, free: 17.48 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/1.711, allocations: 8.031 kB / 0.8191 GB, free: 17.47 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02831/1.739, allocations: 4.927 MB / 0.8239 GB, free: 12.52 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02449/1.764, allocations: 8.161 MB / 0.8319 GB, free: 4.289 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001173/1.765, allocations: 0.7177 MB / 0.8326 GB, free: 3.574 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005351/1.77, allocations: 0.9217 MB / 0.8335 GB, free: 2.652 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6159/2.386, allocations: 16.92 MB / 0.85 GB, free: 29.88 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005244/2.387, allocations: 16.86 kB / 0.85 GB, free: 29.88 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00432/2.391, allocations: 409.5 kB / 0.8504 GB, free: 29.88 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001215/2.393, allocations: 0.7053 MB / 0.8511 GB, free: 29.85 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03508/2.428, allocations: 15.55 MB / 0.8663 GB, free: 29.76 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1113/2.539, allocations: 55.3 MB / 0.9203 GB, free: 12.22 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02221/2.561, allocations: 19.19 MB / 0.939 GB, free: 15.66 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01474/2.576, allocations: 7.535 MB / 0.9464 GB, free: 12.32 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0667/2.643, allocations: 25.7 MB / 0.9715 GB, free: 13.97 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.679e-05/2.643, allocations: 101.3 kB / 0.9716 GB, free: 13.86 MB / 442.8 MB Notification: Performance of pre-optimization done (n=749): time 9.678e-06/2.643, allocations: 0 / 0.9716 GB, free: 13.86 MB / 442.8 MB Notification: Performance of matching and sorting (n=754): time 0.0607/2.704, allocations: 25.4 MB / 0.9964 GB, free: 8.152 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001276/2.704, allocations: 116.3 kB / 0.9965 GB, free: 8.023 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009484/2.713, allocations: 3.172 MB / 0.9996 GB, free: 5.203 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0022/2.716, allocations: 124.4 kB / 0.9997 GB, free: 5.078 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003957/2.72, allocations: 3.594 MB / 1.003 GB, free: 1.895 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.3363/3.056, allocations: 2.476 MB / 1.006 GB, free: 76.39 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001101/3.057, allocations: 128.6 kB / 1.006 GB, free: 76.39 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0008627/3.058, allocations: 0.6022 MB / 1.006 GB, free: 76.07 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009758/3.068, allocations: 5.021 MB / 1.011 GB, free: 76.05 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01161/3.079, allocations: 6.263 MB / 1.017 GB, free: 74.86 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01261/3.092, allocations: 6.082 MB / 1.023 GB, free: 74.72 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.815e-05/3.092, allocations: 9.531 kB / 1.023 GB, free: 74.72 MB / 458.8 MB Notification: Performance of matching and sorting (n=942) (initialization): time 0.02942/3.122, allocations: 14.47 MB / 1.037 GB, free: 74.43 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.713e-05/3.122, allocations: 52.55 kB / 1.037 GB, free: 74.39 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.313e-05/3.122, allocations: 28.59 kB / 1.037 GB, free: 74.39 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007754/3.13, allocations: 4.005 MB / 1.041 GB, free: 74.31 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00567/3.135, allocations: 1.185 MB / 1.043 GB, free: 74.31 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01251/3.148, allocations: 12.53 MB / 1.055 GB, free: 69.85 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006412/3.154, allocations: 365.5 kB / 1.055 GB, free: 69.85 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002341/3.157, allocations: 283.7 kB / 1.055 GB, free: 69.85 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 141 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (637): * Single equations (assignments): 560 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 69 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 6 {6 9,6 9,6 9,6 9,6 9,12 86} Notification: Performance of prepare postOptimizeDAE: time 0.002239/3.159, allocations: 447.9 kB / 1.056 GB, free: 69.75 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001345/3.16, allocations: 497.7 kB / 1.056 GB, free: 69.74 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0266/3.187, allocations: 14.17 MB / 1.07 GB, free: 68.56 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02469/3.212, allocations: 12.67 MB / 1.083 GB, free: 63.19 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.073e-05/3.212, allocations: 6.109 kB / 1.083 GB, free: 63.19 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001678/3.212, allocations: 38.23 kB / 1.083 GB, free: 63.19 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06522/3.277, allocations: 28.03 MB / 1.11 GB, free: 50.89 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.337e-05/3.277, allocations: 4.438 kB / 1.11 GB, free: 50.89 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004457/3.282, allocations: 0.8854 MB / 1.111 GB, free: 50.22 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008267/3.29, allocations: 3.926 MB / 1.115 GB, free: 47.03 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002255/3.292, allocations: 165.1 kB / 1.115 GB, free: 46.89 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01198/3.304, allocations: 12.42 MB / 1.127 GB, free: 35.3 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/3.304, allocations: 0 / 1.127 GB, free: 35.3 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03616/3.341, allocations: 21.44 MB / 1.148 GB, free: 16.14 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00535/3.346, allocations: 1.738 MB / 1.15 GB, free: 14.57 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002911/3.349, allocations: 104 kB / 1.15 GB, free: 14.46 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004881/3.354, allocations: 304.4 kB / 1.15 GB, free: 14.25 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002336/3.356, allocations: 0.5485 MB / 1.15 GB, free: 13.9 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00162/3.358, allocations: 201.4 kB / 1.151 GB, free: 13.72 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.005036/3.363, allocations: 2.412 MB / 1.153 GB, free: 11.58 MB / 458.8 MB Notification: Performance of sort global known variables: time 2.41e-07/3.363, allocations: 0 / 1.153 GB, free: 11.58 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.01067/3.374, allocations: 1.821 MB / 1.155 GB, free: 9.781 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,PIQS.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (480): * Single equations (assignments): 404 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 69 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 6 {6 9,6 9,6 9,6 9,6 9,12 86} Notification: Performance of Backend phase and start with SimCode phase: time 0.002787/3.376, allocations: 0.7258 MB / 1.156 GB, free: 9.277 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.02551/3.402, allocations: 12.48 MB / 1.168 GB, free: 14.54 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 9.609e-06/3.402, allocations: 4 kB / 1.168 GB, free: 14.54 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01606/3.418, allocations: 6.408 MB / 1.174 GB, free: 8.832 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006986/3.425, allocations: 0.8924 MB / 1.175 GB, free: 8.117 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3431/3.768, allocations: 19.69 MB / 1.194 GB, free: 83.12 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01171/3.78, allocations: 6.831 MB / 1.201 GB, free: 82.19 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.006492/3.786, allocations: 1.661 MB / 1.202 GB, free: 82.13 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00131/3.788, allocations: 357.8 kB / 1.203 GB, free: 82.12 MB / 474.8 MB Notification: Performance of SimCode: time 1.212e-06/3.788, allocations: 0 / 1.203 GB, free: 82.12 MB / 474.8 MB Notification: Performance of Templates: time 0.1674/3.955, allocations: 112.9 MB / 1.313 GB, free: 39.21 MB / 474.8 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1)