Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL.Examples.Machines.PSAT.Order3test2") translateModel(OpenIPSL.Examples.Machines.PSAT.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_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.001353/0.001353, allocations: 172.7 kB / 16.12 MB, free: 5.695 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.345/1.345, allocations: 205.4 MB / 222.3 MB, free: 9.012 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.0007995/0.0007995, allocations: 91.86 kB / 270.6 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.3301/0.3301, allocations: 42.29 MB / 361.2 MB, free: 49.45 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004045/0.0004045, allocations: 16 kB / 429.4 MB, free: 7.797 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1101, allocations: 57.57 MB / 487 MB, free: 14.18 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3372/0.4473, allocations: 91.99 MB / 0.5654 GB, free: 15.75 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003699/0.4478, allocations: 79.95 kB / 0.5655 GB, free: 15.68 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08657/0.5344, allocations: 22.45 MB / 0.5874 GB, free: 9.109 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.5344, allocations: 0 / 0.5874 GB, free: 9.109 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.819e-05/0.5345, allocations: 20 kB / 0.5874 GB, free: 9.09 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.006362/0.5409, allocations: 1.768 MB / 0.5891 GB, free: 7.27 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.5409, allocations: 12.03 kB / 0.5892 GB, free: 7.258 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004341/0.5453, allocations: 0.5449 MB / 0.5897 GB, free: 6.711 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00194/0.5473, allocations: 0.715 MB / 0.5904 GB, free: 5.961 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003928/0.5477, allocations: 260.1 kB / 0.5906 GB, free: 5.668 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002788/0.548, allocations: 67.98 kB / 0.5907 GB, free: 5.602 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002994/0.551, allocations: 1.02 MB / 0.5917 GB, free: 4.574 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.414e-05/0.551, allocations: 4 kB / 0.5917 GB, free: 4.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001192/0.5511, allocations: 28 kB / 0.5917 GB, free: 4.543 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.363e-05/0.5512, allocations: 19.98 kB / 0.5917 GB, free: 4.523 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003082/0.5543, allocations: 1.058 MB / 0.5928 GB, free: 3.469 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007563/0.5619, allocations: 3.229 MB / 0.5959 GB, free: 84 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002111/0.564, allocations: 1.364 MB / 0.5973 GB, free: 14.6 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001481/0.5655, allocations: 0.7727 MB / 0.598 GB, free: 13.82 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001013/0.5656, allocations: 20.62 kB / 0.598 GB, free: 13.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.5657, allocations: 35.22 kB / 0.5981 GB, free: 13.76 MB / 426.7 MB Notification: Performance of pre-optimization done (n=82): time 4.449e-06/0.5657, allocations: 0 / 0.5981 GB, free: 13.76 MB / 426.7 MB Notification: Performance of matching and sorting (n=82): time 0.02685/0.5925, allocations: 8.232 MB / 0.6061 GB, free: 5.492 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.918e-05/0.5926, allocations: 60.06 kB / 0.6062 GB, free: 5.422 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001277/0.5939, allocations: 0.7792 MB / 0.6069 GB, free: 4.617 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001947/0.5941, allocations: 37.7 kB / 0.607 GB, free: 4.574 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003572/0.5945, allocations: 442.9 kB / 0.6074 GB, free: 4.141 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003826/0.5949, allocations: 287.9 kB / 0.6077 GB, free: 3.855 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.858e-05/0.595, allocations: 16 kB / 0.6077 GB, free: 3.84 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.5952, allocations: 330 kB / 0.608 GB, free: 3.512 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0014/0.5966, allocations: 0.6305 MB / 0.6086 GB, free: 2.879 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001423/0.598, allocations: 0.7336 MB / 0.6093 GB, free: 2.113 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01299/0.611, allocations: 4.235 MB / 0.6135 GB, free: 13.84 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.516e-05/0.6111, allocations: 7.938 kB / 0.6135 GB, free: 13.84 MB / 442.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0134/0.6245, allocations: 4.713 MB / 0.6181 GB, free: 9.109 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.076e-05/0.6246, allocations: 4 kB / 0.6181 GB, free: 9.105 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-05/0.6246, allocations: 4 kB / 0.6181 GB, free: 9.102 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006281/0.6309, allocations: 2.121 MB / 0.6201 GB, free: 6.977 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006458/0.6316, allocations: 127.9 kB / 0.6203 GB, free: 6.852 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02217/0.6538, allocations: 9.533 MB / 0.6296 GB, free: 13.19 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001212/0.655, allocations: 167.2 kB / 0.6297 GB, free: 13.03 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001292/0.6552, allocations: 31.98 kB / 0.6298 GB, free: 13 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.0005192/0.6557, allocations: 221.7 kB / 0.63 GB, free: 12.77 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002409/0.6559, allocations: 106.7 kB / 0.6301 GB, free: 12.66 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01323/0.6692, allocations: 4.743 MB / 0.6347 GB, free: 7.906 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/0.6692, allocations: 8 kB / 0.6347 GB, free: 7.898 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.6692, allocations: 0 / 0.6347 GB, free: 7.898 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.6692, allocations: 3.984 kB / 0.6347 GB, free: 7.895 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01497/0.6842, allocations: 6.242 MB / 0.6408 GB, free: 1.512 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.6842, allocations: 0 / 0.6408 GB, free: 1.512 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004941/0.6847, allocations: 95.89 kB / 0.6409 GB, free: 1.418 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005836/0.6906, allocations: 2.058 MB / 0.6429 GB, free: 15.36 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.95e-05/0.6907, allocations: 12 kB / 0.6429 GB, free: 15.34 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01788/0.7086, allocations: 8.213 MB / 0.651 GB, free: 6.984 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.7086, allocations: 0 / 0.651 GB, free: 6.984 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01521/0.7239, allocations: 5.669 MB / 0.6565 GB, free: 1.293 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003739/0.7243, allocations: 191.6 kB / 0.6567 GB, free: 1.086 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001975/0.7245, allocations: 19.94 kB / 0.6567 GB, free: 1.066 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/0.7255, allocations: 131.9 kB / 0.6568 GB, free: 0.9375 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006414/0.7261, allocations: 192.6 kB / 0.657 GB, free: 0.75 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.281e-05/0.7262, allocations: 27.94 kB / 0.657 GB, free: 0.7227 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007878/0.727, allocations: 0.5304 MB / 0.6575 GB, free: 184 kB / 474.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.727, allocations: 0 / 0.6575 GB, free: 184 kB / 474.7 MB Notification: Performance of remove unused functions: time 0.00134/0.7284, allocations: 395.7 kB / 0.6579 GB, free: 15.79 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.0003075/0.7287, allocations: 135 kB / 0.6581 GB, free: 15.65 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006424/0.7352, allocations: 2.409 MB / 0.6604 GB, free: 13.23 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.7352, allocations: 0 / 0.6604 GB, free: 13.23 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004607/0.7398, allocations: 1.689 MB / 0.6621 GB, free: 11.54 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001115/0.741, allocations: 80.03 kB / 0.6621 GB, free: 11.45 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003462/0.7444, allocations: 2.034 MB / 0.6641 GB, free: 9.402 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006436/0.7451, allocations: 1.033 MB / 0.6651 GB, free: 8.344 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000301/0.7454, allocations: 57.16 kB / 0.6652 GB, free: 8.285 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001748/0.7456, allocations: 47.38 kB / 0.6652 GB, free: 8.238 MB / 490.7 MB Notification: Performance of SimCode: time 7.11e-07/0.7456, allocations: 0 / 0.6652 GB, free: 8.238 MB / 490.7 MB Notification: Performance of Templates: time 0.2087/0.9543, allocations: 18.68 MB / 0.6835 GB, free: 128.8 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order3test2.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order3test2.sim & ./OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order3test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order3test2.pipe 2>&1)