Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order3test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo", uses=false) Using package OpenIPSL with version 2.0.0-beta.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.Machines.PSAT.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order3test2") translateModel(OpenIPSL.Examples.Machines.PSAT.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order3test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001389/0.001389, allocations: 175.3 kB / 16.12 MB, free: 5.699 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.441/1.441, allocations: 205.4 MB / 222.3 MB, free: 8.941 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008503/0.0008505, allocations: 95.84 kB / 270.6 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.2917/0.2917, allocations: 42.28 MB / 361.2 MB, free: 49.35 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004054/0.0004054, allocations: 15.98 kB / 429.4 MB, free: 7.82 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1051, allocations: 57.55 MB / 487 MB, free: 14.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.287/0.3921, allocations: 91.99 MB / 0.5654 GB, free: 15.78 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002115/0.3924, allocations: 83.95 kB / 0.5655 GB, free: 15.7 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06113/0.4535, allocations: 22.44 MB / 0.5874 GB, free: 9.137 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4536, allocations: 4 kB / 0.5874 GB, free: 9.133 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.703e-05/0.4536, allocations: 20 kB / 0.5874 GB, free: 9.113 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.005036/0.4587, allocations: 1.767 MB / 0.5891 GB, free: 7.293 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.4587, allocations: 12.91 kB / 0.5892 GB, free: 7.281 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00342/0.4622, allocations: 0.5371 MB / 0.5897 GB, free: 6.742 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001494/0.4637, allocations: 0.7228 MB / 0.5904 GB, free: 5.984 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003107/0.464, allocations: 256.1 kB / 0.5906 GB, free: 5.695 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002256/0.4642, allocations: 68 kB / 0.5907 GB, free: 5.629 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002251/0.4665, allocations: 1.03 MB / 0.5917 GB, free: 4.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.4665, allocations: 0 / 0.5917 GB, free: 4.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-05/0.4666, allocations: 28 kB / 0.5917 GB, free: 4.562 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.479e-05/0.4667, allocations: 16 kB / 0.5917 GB, free: 4.547 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002228/0.4689, allocations: 1.058 MB / 0.5928 GB, free: 3.492 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005668/0.4746, allocations: 3.231 MB / 0.5959 GB, free: 108 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002014/0.4766, allocations: 1.368 MB / 0.5973 GB, free: 14.62 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001433/0.4781, allocations: 0.7688 MB / 0.598 GB, free: 13.85 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.518e-05/0.4782, allocations: 12.64 kB / 0.598 GB, free: 13.84 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.4782, allocations: 51.2 kB / 0.5981 GB, free: 13.78 MB / 426.7 MB Notification: Performance of pre-optimization done (n=82): time 2.875e-06/0.4782, allocations: 3.938 kB / 0.5981 GB, free: 13.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=82): time 0.02681/0.505, allocations: 8.22 MB / 0.6061 GB, free: 5.516 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.865e-05/0.5051, allocations: 64 kB / 0.6062 GB, free: 5.441 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001212/0.5064, allocations: 0.7714 MB / 0.6069 GB, free: 4.645 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000131/0.5065, allocations: 41.7 kB / 0.607 GB, free: 4.598 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003267/0.5068, allocations: 448.3 kB / 0.6074 GB, free: 4.156 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003687/0.5072, allocations: 279.9 kB / 0.6077 GB, free: 3.879 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.577e-05/0.5073, allocations: 12 kB / 0.6077 GB, free: 3.867 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.5074, allocations: 337.9 kB / 0.608 GB, free: 3.531 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001368/0.5088, allocations: 0.6266 MB / 0.6086 GB, free: 2.902 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001457/0.5103, allocations: 0.7336 MB / 0.6093 GB, free: 2.137 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01313/0.5234, allocations: 4.239 MB / 0.6135 GB, free: 13.86 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-06/0.5235, allocations: 0 / 0.6135 GB, free: 13.86 MB / 442.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.01343/0.5369, allocations: 4.717 MB / 0.6181 GB, free: 9.133 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.248e-05/0.537, allocations: 4 kB / 0.6181 GB, free: 9.129 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/0.537, allocations: 8 kB / 0.6181 GB, free: 9.121 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006671/0.5437, allocations: 2.125 MB / 0.6202 GB, free: 6.992 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006635/0.5444, allocations: 123.9 kB / 0.6203 GB, free: 6.871 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0221/0.5665, allocations: 9.525 MB / 0.6296 GB, free: 13.22 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001384/0.5679, allocations: 175.2 kB / 0.6297 GB, free: 13.05 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001843/0.5681, allocations: 27.98 kB / 0.6298 GB, free: 13.02 MB / 458.7 MB Warning: Assuming fixed start value for the following 2 variables: order31.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order31.e1q:VARIABLE(start = order31.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (61): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {25 11} Notification: Performance of prepare postOptimizeDAE: time 0.0007269/0.5689, allocations: 221.7 kB / 0.63 GB, free: 12.79 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000325/0.5692, allocations: 102.7 kB / 0.6301 GB, free: 12.69 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01337/0.5826, allocations: 4.751 MB / 0.6347 GB, free: 7.926 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.53e-05/0.5826, allocations: 8 kB / 0.6347 GB, free: 7.918 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.5827, allocations: 0 / 0.6347 GB, free: 7.918 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-05/0.5827, allocations: 3.984 kB / 0.6347 GB, free: 7.914 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01646/0.5992, allocations: 6.238 MB / 0.6408 GB, free: 1.535 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.588e-05/0.5992, allocations: 0 / 0.6408 GB, free: 1.535 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006395/0.5999, allocations: 95.89 kB / 0.6409 GB, free: 1.441 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006411/0.6063, allocations: 2.062 MB / 0.6429 GB, free: 15.38 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000237/0.6066, allocations: 16 kB / 0.6429 GB, free: 15.36 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01897/0.6256, allocations: 8.209 MB / 0.651 GB, free: 7.004 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.6256, allocations: 0 / 0.651 GB, free: 7.004 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01559/0.6412, allocations: 5.673 MB / 0.6565 GB, free: 1.309 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004142/0.6417, allocations: 191.6 kB / 0.6567 GB, free: 1.102 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002865/0.642, allocations: 19.94 kB / 0.6567 GB, free: 1.082 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001073/0.6431, allocations: 131.9 kB / 0.6568 GB, free: 0.9531 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006752/0.6438, allocations: 196.6 kB / 0.657 GB, free: 0.7617 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.627e-05/0.6439, allocations: 20 kB / 0.657 GB, free: 0.7422 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0008319/0.6447, allocations: 0.5304 MB / 0.6575 GB, free: 200 kB / 474.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6447, allocations: 0 / 0.6575 GB, free: 200 kB / 474.7 MB Notification: Performance of remove unused functions: time 0.001356/0.6461, allocations: 387.7 kB / 0.6579 GB, free: 15.81 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order31.delta,order31.w,order31.e1q) * 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 (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003008/0.6464, allocations: 147 kB / 0.6581 GB, free: 15.66 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0064/0.6528, allocations: 2.401 MB / 0.6604 GB, free: 13.25 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.6528, allocations: 0 / 0.6604 GB, free: 13.25 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004577/0.6574, allocations: 1.693 MB / 0.6621 GB, free: 11.55 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009821/0.6584, allocations: 76.05 kB / 0.6621 GB, free: 11.47 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003756/0.6622, allocations: 2.04 MB / 0.6641 GB, free: 9.414 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007167/0.6629, allocations: 1.025 MB / 0.6651 GB, free: 8.363 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000405/0.6634, allocations: 61.14 kB / 0.6652 GB, free: 8.301 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001851/0.6636, allocations: 47.44 kB / 0.6652 GB, free: 8.254 MB / 490.7 MB Notification: Performance of SimCode: time 1.072e-06/0.6636, allocations: 4 kB / 0.6652 GB, free: 8.25 MB / 490.7 MB Notification: Performance of Templates: time 0.2226/0.8862, allocations: 18.67 MB / 0.6835 GB, free: 128.8 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order3test2.makefile (rm -f OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order3test2.sim & ./OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order3test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order3test2.pipe 2>&1)