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.001056/0.001056, allocations: 179.5 kB / 16.38 MB, free: 5.766 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.255/1.255, allocations: 194.5 MB / 211.6 MB, free: 3.043 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.00159/0.00159, allocations: 114.8 kB / 256.9 MB, free: 4.363 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000316/0.000316, allocations: 12 kB / 310.6 MB, free: 14.9 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08899/0.08932, allocations: 44.5 MB / 355.1 MB, free: 2.297 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3155/0.4049, allocations: 126.5 MB / 481.6 MB, free: 11.62 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/0.4052, allocations: 102.9 kB / 481.7 MB, free: 11.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9807/1.386, allocations: 353.2 MB / 0.8154 GB, free: 4.078 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.084e-06/1.386, allocations: 4 kB / 0.8154 GB, free: 4.074 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005796/1.387, allocations: 215.8 kB / 0.8156 GB, free: 3.863 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.4098/1.796, allocations: 10.1 MB / 0.8254 GB, free: 25.36 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/1.796, allocations: 7.344 kB / 0.8254 GB, free: 25.36 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02642/1.823, allocations: 4.952 MB / 0.8303 GB, free: 24.83 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01767/1.841, allocations: 8.197 MB / 0.8383 GB, free: 23.98 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000905/1.841, allocations: 0.7137 MB / 0.839 GB, free: 23.96 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004417/1.846, allocations: 0.9197 MB / 0.8399 GB, free: 23.95 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04021/1.886, allocations: 17.12 MB / 0.8566 GB, free: 22.87 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004029/1.887, allocations: 16.19 kB / 0.8566 GB, free: 22.86 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003379/1.89, allocations: 407.1 kB / 0.857 GB, free: 22.86 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008216/1.891, allocations: 0.7019 MB / 0.8577 GB, free: 22.84 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03201/1.923, allocations: 15.81 MB / 0.8731 GB, free: 22.75 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1002/2.023, allocations: 55.3 MB / 0.9271 GB, free: 0.707 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02782/2.051, allocations: 19.74 MB / 0.9464 GB, free: 5.828 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04736/2.098, allocations: 25.03 MB / 0.9709 GB, free: 2.754 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.317e-05/2.098, allocations: 107.5 kB / 0.971 GB, free: 2.645 MB / 442.8 MB Notification: Performance of pre-optimization done (n=749): time 9.318e-06/2.099, allocations: 0 / 0.971 GB, free: 2.645 MB / 442.8 MB Notification: Performance of matching and sorting (n=754): time 0.3197/2.418, allocations: 46.58 MB / 1.016 GB, free: 68.59 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.647e-05/2.418, allocations: 116.7 kB / 1.017 GB, free: 68.52 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004877/2.423, allocations: 3.196 MB / 1.02 GB, free: 68.25 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001263/2.424, allocations: 125.8 kB / 1.02 GB, free: 68.21 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001899/2.426, allocations: 3.602 MB / 1.023 GB, free: 66.39 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002917/2.429, allocations: 2.477 MB / 1.026 GB, free: 64.77 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004735/2.43, allocations: 128.2 kB / 1.026 GB, free: 64.77 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.000479/2.43, allocations: 0.6084 MB / 1.026 GB, free: 64.46 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007429/2.438, allocations: 5.097 MB / 1.031 GB, free: 64.44 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007534/2.445, allocations: 6.345 MB / 1.038 GB, free: 63.25 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009897/2.455, allocations: 6.15 MB / 1.044 GB, free: 63.13 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.931e-05/2.455, allocations: 8.781 kB / 1.044 GB, free: 63.13 MB / 458.8 MB Notification: Performance of matching and sorting (n=942) (initialization): time 0.02721/2.483, allocations: 14.64 MB / 1.058 GB, free: 62.56 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.271e-05/2.483, allocations: 44.39 kB / 1.058 GB, free: 62.53 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.129e-05/2.483, allocations: 36.56 kB / 1.058 GB, free: 62.53 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007231/2.49, allocations: 4.034 MB / 1.062 GB, free: 62.44 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005109/2.495, allocations: 1.184 MB / 1.063 GB, free: 62.44 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01221/2.507, allocations: 12.59 MB / 1.075 GB, free: 54.41 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005235/2.513, allocations: 366.2 kB / 1.076 GB, free: 54.31 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001882/2.515, allocations: 285.1 kB / 1.076 GB, free: 54.25 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 () * Number of clocked 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.009764/2.524, allocations: 3.865 MB / 1.08 GB, free: 52.42 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002137/2.526, allocations: 498.8 kB / 1.08 GB, free: 52.16 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02994/2.556, allocations: 14.33 MB / 1.094 GB, free: 45.89 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02038/2.577, allocations: 12.84 MB / 1.107 GB, free: 40.31 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.862e-05/2.577, allocations: 0 / 1.107 GB, free: 40.31 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-05/2.577, allocations: 36.75 kB / 1.107 GB, free: 40.31 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04849/2.626, allocations: 28.2 MB / 1.134 GB, free: 20.56 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.125e-05/2.626, allocations: 5.125 kB / 1.134 GB, free: 20.55 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0043/2.63, allocations: 0.8849 MB / 1.135 GB, free: 19.89 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007154/2.637, allocations: 3.956 MB / 1.139 GB, free: 16.71 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001541/2.639, allocations: 166.3 kB / 1.139 GB, free: 16.57 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01122/2.65, allocations: 12.47 MB / 1.151 GB, free: 4.938 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/2.65, allocations: 10.83 kB / 1.151 GB, free: 4.93 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2641/2.914, allocations: 21.84 MB / 1.173 GB, free: 67.63 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005258/2.919, allocations: 1.731 MB / 1.174 GB, free: 67.54 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001275/2.921, allocations: 103.7 kB / 1.175 GB, free: 67.54 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002989/2.924, allocations: 301.7 kB / 1.175 GB, free: 67.54 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009421/2.925, allocations: 0.5525 MB / 1.175 GB, free: 67.53 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004727/2.925, allocations: 205.6 kB / 1.176 GB, free: 67.53 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.003064/2.928, allocations: 2.442 MB / 1.178 GB, free: 67.38 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.1e-07/2.928, allocations: 0 / 1.178 GB, free: 67.38 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.006359/2.935, allocations: 1.82 MB / 1.18 GB, free: 67.38 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 () * Number of clocked 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.001752/2.936, allocations: 0.6802 MB / 1.18 GB, free: 67.25 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.01948/2.956, allocations: 12.51 MB / 1.193 GB, free: 66.77 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/2.956, allocations: 0.9375 kB / 1.193 GB, free: 66.77 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01168/2.968, allocations: 6.479 MB / 1.199 GB, free: 66.5 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005667/2.973, allocations: 0.9075 MB / 1.2 GB, free: 66.46 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04442/3.018, allocations: 26.01 MB / 1.225 GB, free: 58.07 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01098/3.029, allocations: 6.826 MB / 1.232 GB, free: 57.05 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.005627/3.034, allocations: 1.669 MB / 1.234 GB, free: 56.89 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001203/3.036, allocations: 357.2 kB / 1.234 GB, free: 56.88 MB / 458.8 MB Notification: Performance of SimCode: time 8.61e-07/3.036, allocations: 0 / 1.234 GB, free: 56.88 MB / 458.8 MB Notification: Performance of Templates: time 0.3659/3.402, allocations: 119.9 MB / 1.351 GB, free: 59.81 MB / 458.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)