Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order4test2.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.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order4test2") translateModel(OpenIPSL.Examples.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order4test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009849/0.000985, allocations: 170.2 kB / 16.11 MB, free: 5.582 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.402/1.402, allocations: 205.4 MB / 222.3 MB, free: 13.61 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.0008241/0.0008241, allocations: 94.23 kB / 270.6 MB, free: 13.12 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.1697/0.1697, allocations: 42.32 MB / 361.2 MB, free: 12.4 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004248/0.0004249, allocations: 12 kB / 429.4 MB, free: 21.3 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.115, allocations: 57.54 MB / 487 MB, free: 11.73 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3458/0.4608, allocations: 92.24 MB / 0.5656 GB, free: 11.75 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002424/0.4611, allocations: 82.7 kB / 0.5657 GB, free: 11.71 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06156/0.5227, allocations: 22.52 MB / 0.5877 GB, free: 8.691 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.5227, allocations: 3.938 kB / 0.5877 GB, free: 8.688 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.277e-05/0.5228, allocations: 20 kB / 0.5877 GB, free: 8.668 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.005451/0.5283, allocations: 1.763 MB / 0.5895 GB, free: 6.965 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.5283, allocations: 12.03 kB / 0.5895 GB, free: 6.953 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003534/0.5319, allocations: 0.5466 MB / 0.59 GB, free: 6.449 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001757/0.5337, allocations: 0.731 MB / 0.5907 GB, free: 5.812 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000333/0.534, allocations: 256.4 kB / 0.591 GB, free: 5.547 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002842/0.5343, allocations: 62.38 kB / 0.591 GB, free: 5.508 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002459/0.5368, allocations: 1.038 MB / 0.592 GB, free: 4.754 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/0.5368, allocations: 3.938 kB / 0.592 GB, free: 4.75 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.612e-05/0.5369, allocations: 25.44 kB / 0.5921 GB, free: 4.746 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.848e-05/0.5369, allocations: 16 kB / 0.5921 GB, free: 4.73 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002377/0.5393, allocations: 1.06 MB / 0.5931 GB, free: 3.973 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006282/0.5456, allocations: 3.228 MB / 0.5963 GB, free: 1.453 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002133/0.5478, allocations: 1.379 MB / 0.5976 GB, free: 244 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001436/0.5493, allocations: 0.7747 MB / 0.5984 GB, free: 15.72 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.846e-05/0.5494, allocations: 9 kB / 0.5984 GB, free: 15.71 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.5494, allocations: 50.48 kB / 0.5984 GB, free: 15.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=83): time 2.765e-06/0.5494, allocations: 0 / 0.5984 GB, free: 15.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=83): time 0.02546/0.5749, allocations: 7.718 MB / 0.606 GB, free: 8.672 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.397e-05/0.575, allocations: 64.39 kB / 0.606 GB, free: 8.594 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001254/0.5763, allocations: 0.7637 MB / 0.6068 GB, free: 8.008 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001745/0.5765, allocations: 39.83 kB / 0.6068 GB, free: 7.973 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003323/0.5768, allocations: 443.1 kB / 0.6072 GB, free: 7.723 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004158/0.5772, allocations: 293.5 kB / 0.6075 GB, free: 7.469 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.523e-05/0.5773, allocations: 16.56 kB / 0.6075 GB, free: 7.465 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.5775, allocations: 336 kB / 0.6078 GB, free: 7.145 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001462/0.5789, allocations: 0.6353 MB / 0.6085 GB, free: 6.695 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001539/0.5805, allocations: 0.7364 MB / 0.6092 GB, free: 6.125 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01333/0.5938, allocations: 4.25 MB / 0.6133 GB, free: 2.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-05/0.5939, allocations: 0 / 0.6133 GB, free: 2.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.01395/0.6078, allocations: 4.718 MB / 0.6179 GB, free: 14.54 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.595e-05/0.6079, allocations: 12 kB / 0.618 GB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.6079, allocations: 0 / 0.618 GB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006561/0.6145, allocations: 2.097 MB / 0.62 GB, free: 12.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007144/0.6153, allocations: 131 kB / 0.6201 GB, free: 12.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02183/0.6371, allocations: 9.497 MB / 0.6294 GB, free: 3.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001383/0.6385, allocations: 179.2 kB / 0.6296 GB, free: 3.254 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000169/0.6387, allocations: 31.88 kB / 0.6296 GB, free: 3.223 MB / 426.7 MB Warning: Assuming fixed start value for the following 3 variables: Generator.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Generator.e1d:VARIABLE(start = Generator.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real Generator.e1q:VARIABLE(start = Generator.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 (63): * Single equations (assignments): 62 * 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 {24 12} Notification: Performance of prepare postOptimizeDAE: time 0.0006207/0.6393, allocations: 222 kB / 0.6298 GB, free: 3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002874/0.6396, allocations: 102.8 kB / 0.6299 GB, free: 2.898 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01351/0.6532, allocations: 4.743 MB / 0.6345 GB, free: 14.14 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.217e-05/0.6532, allocations: 11.94 kB / 0.6346 GB, free: 14.12 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.6532, allocations: 4 kB / 0.6346 GB, free: 14.12 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.591e-05/0.6532, allocations: 3.984 kB / 0.6346 GB, free: 14.12 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01555/0.6688, allocations: 6.246 MB / 0.6407 GB, free: 7.73 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.448e-06/0.6688, allocations: 0 / 0.6407 GB, free: 7.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005589/0.6694, allocations: 99.89 kB / 0.6408 GB, free: 7.633 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006289/0.6757, allocations: 2.058 MB / 0.6428 GB, free: 5.57 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001642/0.6759, allocations: 16 kB / 0.6428 GB, free: 5.555 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01883/0.6948, allocations: 8.198 MB / 0.6508 GB, free: 13.21 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.6948, allocations: 0 / 0.6508 GB, free: 13.21 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01576/0.7106, allocations: 5.665 MB / 0.6563 GB, free: 7.52 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004236/0.711, allocations: 191.7 kB / 0.6565 GB, free: 7.312 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003232/0.7114, allocations: 19.94 kB / 0.6565 GB, free: 7.293 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001187/0.7126, allocations: 127.9 kB / 0.6566 GB, free: 7.168 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006683/0.7132, allocations: 196.6 kB / 0.6568 GB, free: 6.977 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.863e-05/0.7133, allocations: 24 kB / 0.6569 GB, free: 6.953 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007877/0.7141, allocations: 0.5224 MB / 0.6574 GB, free: 6.438 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.7142, allocations: 0 / 0.6574 GB, free: 6.438 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001483/0.7156, allocations: 403.5 kB / 0.6577 GB, free: 6.043 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * 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 (50): * Single equations (assignments): 49 * 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.0003104/0.716, allocations: 135.1 kB / 0.6579 GB, free: 5.902 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00649/0.7225, allocations: 2.391 MB / 0.6602 GB, free: 3.488 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.656e-06/0.7225, allocations: 3.938 kB / 0.6602 GB, free: 3.484 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004682/0.7272, allocations: 1.709 MB / 0.6619 GB, free: 1.773 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/0.7283, allocations: 83.27 kB / 0.662 GB, free: 1.688 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003756/0.732, allocations: 2.095 MB / 0.664 GB, free: 15.56 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006646/0.7327, allocations: 1.033 MB / 0.665 GB, free: 14.5 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0003219/0.7331, allocations: 61.22 kB / 0.6651 GB, free: 14.44 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001774/0.7333, allocations: 55.42 kB / 0.6651 GB, free: 14.39 MB / 474.7 MB Notification: Performance of SimCode: time 6.81e-07/0.7333, allocations: 0 / 0.6651 GB, free: 14.39 MB / 474.7 MB Notification: Performance of Templates: time 0.03173/0.765, allocations: 18.66 MB / 0.6834 GB, free: 11.71 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order4test2.makefile (rm -f OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order4test2.sim & ./OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order4test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.Machines.PSAT.Order4test2.pipe 2>&1)