Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeIV_test.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.Controls.PSAT.TG.TGTypeIV_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeIV_test") translateModel(OpenIPSL.Examples.Controls.PSAT.TG.TGTypeIV_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeIV_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001142/0.001142, allocations: 177.9 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.555/1.555, 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.0008479/0.000848, allocations: 100.7 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.3034/0.3034, allocations: 42.28 MB / 361.2 MB, free: 49.4 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004324/0.0004328, allocations: 19.98 kB / 429.4 MB, free: 7.789 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1399, allocations: 57.56 MB / 487 MB, free: 14.17 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3395/0.4794, allocations: 93.89 MB / 0.5673 GB, free: 13.84 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002257/0.4797, allocations: 89.95 kB / 0.5674 GB, free: 13.75 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06593/0.5456, allocations: 24.84 MB / 0.5916 GB, free: 4.828 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.5457, allocations: 0 / 0.5916 GB, free: 4.828 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001023/0.5458, allocations: 24.88 kB / 0.5916 GB, free: 4.805 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: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.005463/0.5513, allocations: 1.951 MB / 0.5935 GB, free: 2.805 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.5513, allocations: 12.03 kB / 0.5935 GB, free: 2.793 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003348/0.5547, allocations: 0.5591 MB / 0.5941 GB, free: 2.234 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001979/0.5567, allocations: 0.8431 MB / 0.5949 GB, free: 1.352 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002565/0.5569, allocations: 230.5 kB / 0.5951 GB, free: 1.094 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002453/0.5572, allocations: 91.84 kB / 0.5952 GB, free: 1.004 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002707/0.5599, allocations: 1.354 MB / 0.5965 GB, free: 15.6 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.308e-05/0.5599, allocations: 4 kB / 0.5966 GB, free: 15.6 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/0.56, allocations: 32 kB / 0.5966 GB, free: 15.57 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.893e-05/0.5601, allocations: 20 kB / 0.5966 GB, free: 15.55 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00255/0.5626, allocations: 1.226 MB / 0.5978 GB, free: 14.32 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006666/0.5693, allocations: 3.897 MB / 0.6016 GB, free: 10.32 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002894/0.5722, allocations: 1.259 MB / 0.6028 GB, free: 9.055 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001729/0.574, allocations: 0.8511 MB / 0.6037 GB, free: 8.203 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001179/0.5741, allocations: 16.98 kB / 0.6037 GB, free: 8.188 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.197e-05/0.5742, allocations: 51.5 kB / 0.6037 GB, free: 8.125 MB / 426.7 MB Notification: Performance of pre-optimization done (n=98): time 4.077e-06/0.5742, allocations: 0 / 0.6037 GB, free: 8.125 MB / 426.7 MB Notification: Performance of matching and sorting (n=98): time 0.02716/0.6014, allocations: 8.345 MB / 0.6119 GB, free: 15.75 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.946e-05/0.6015, allocations: 119.8 kB / 0.612 GB, free: 15.61 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001432/0.6029, allocations: 0.8523 MB / 0.6128 GB, free: 14.73 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002598/0.6032, allocations: 41.7 kB / 0.6129 GB, free: 14.68 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000427/0.6036, allocations: 0.4886 MB / 0.6133 GB, free: 14.19 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004886/0.6041, allocations: 350.8 kB / 0.6137 GB, free: 13.84 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.22e-05/0.6042, allocations: 20 kB / 0.6137 GB, free: 13.82 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.6044, allocations: 341.9 kB / 0.614 GB, free: 13.48 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001602/0.606, allocations: 0.7008 MB / 0.6147 GB, free: 12.78 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001723/0.6077, allocations: 0.8298 MB / 0.6155 GB, free: 11.91 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01443/0.6222, allocations: 4.579 MB / 0.62 GB, free: 7.293 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.952e-06/0.6222, allocations: 4 kB / 0.62 GB, free: 7.289 MB / 442.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.0149/0.6371, allocations: 5.094 MB / 0.625 GB, free: 2.18 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001503/0.6373, allocations: 165.9 kB / 0.6251 GB, free: 1.98 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/0.6373, allocations: 4 kB / 0.6251 GB, free: 1.977 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007025/0.6444, allocations: 2.219 MB / 0.6273 GB, free: 15.75 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008817/0.6453, allocations: 143.8 kB / 0.6274 GB, free: 15.61 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02417/0.6695, allocations: 10.23 MB / 0.6374 GB, free: 5.246 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001507/0.671, allocations: 199.1 kB / 0.6376 GB, free: 5.051 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001688/0.6712, allocations: 32 kB / 0.6376 GB, free: 5.02 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.6713, allocations: 8 kB / 0.6376 GB, free: 5.012 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01395/0.6852, allocations: 4.906 MB / 0.6424 GB, free: 100 kB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/0.6853, allocations: 4.312 kB / 0.6424 GB, free: 96 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006778/0.6921, allocations: 2.222 MB / 0.6446 GB, free: 13.87 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007312/0.6928, allocations: 131.8 kB / 0.6447 GB, free: 13.74 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02345/0.7163, allocations: 10.22 MB / 0.6547 GB, free: 3.379 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001429/0.7178, allocations: 179.1 kB / 0.6549 GB, free: 3.203 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001953/0.718, allocations: 35.98 kB / 0.6549 GB, free: 3.168 MB / 474.7 MB Warning: Assuming fixed start value for the following 7 variables: tGTypeIV.integrator1.y:VARIABLE(start = tGTypeIV.integrator1.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIV.integrator5.y:VARIABLE(start = tGTypeIV.integrator5.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIV.integrator4.y:VARIABLE(start = tGTypeIV.integrator4.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIV.integrator2.y:VARIABLE(start = tGTypeIV.integrator2.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIV.integrator3.y:VARIABLE(start = tGTypeIV.integrator3.y_start fixed = true ) "Connector of Real output signal" type: Real gen.e1q:VARIABLE(start = gen.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real gen.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (tGTypeIV.integrator1.local_reset,tGTypeIV.integrator5.local_reset,tGTypeIV.integrator4.local_reset,tGTypeIV.integrator2.local_reset,tGTypeIV.integrator3.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 81 * 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 15} Notification: Performance of prepare postOptimizeDAE: time 0.0009552/0.719, allocations: 343.5 kB / 0.6552 GB, free: 2.828 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004786/0.7194, allocations: 114.6 kB / 0.6554 GB, free: 2.715 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01464/0.7341, allocations: 5.079 MB / 0.6603 GB, free: 13.62 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.578e-05/0.7342, allocations: 11.94 kB / 0.6603 GB, free: 13.61 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.7342, allocations: 7.922 kB / 0.6603 GB, free: 13.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.678e-05/0.7342, allocations: 7.984 kB / 0.6603 GB, free: 13.59 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002079/0.7363, allocations: 1.26 MB / 0.6616 GB, free: 12.28 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/0.7363, allocations: 4 kB / 0.6616 GB, free: 12.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006351/0.737, allocations: 107.9 kB / 0.6617 GB, free: 12.17 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006611/0.7436, allocations: 2.159 MB / 0.6638 GB, free: 10 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002149/0.7438, allocations: 27.92 kB / 0.6638 GB, free: 9.977 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02034/0.7642, allocations: 8.819 MB / 0.6724 GB, free: 1.02 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.7642, allocations: 0 / 0.6724 GB, free: 1.02 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2191/0.9833, allocations: 6.078 MB / 0.6784 GB, free: 125.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004999/0.9838, allocations: 205.5 kB / 0.6786 GB, free: 125.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004325/0.9843, allocations: 18.88 kB / 0.6786 GB, free: 125.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001315/0.9856, allocations: 142.2 kB / 0.6787 GB, free: 125.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007387/0.9864, allocations: 198.7 kB / 0.6789 GB, free: 125.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001519/0.9865, allocations: 22.62 kB / 0.6789 GB, free: 125.8 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00109/0.9876, allocations: 0.5878 MB / 0.6795 GB, free: 125.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.9877, allocations: 0 / 0.6795 GB, free: 125.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002516/0.9902, allocations: 0.6838 MB / 0.6802 GB, free: 125.7 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (gen.delta,gen.w,gen.e1q,tGTypeIV.integrator3.y,tGTypeIV.integrator2.y,tGTypeIV.integrator4.y,tGTypeIV.integrator5.y,tGTypeIV.integrator1.y) * 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 (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 {26 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003682/0.9906, allocations: 154.1 kB / 0.6803 GB, free: 125.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01195/1.003, allocations: 4.417 MB / 0.6846 GB, free: 125.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.223e-06/1.003, allocations: 3.906 kB / 0.6846 GB, free: 125.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004786/1.007, allocations: 1.786 MB / 0.6864 GB, free: 125 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001512/1.009, allocations: 129 kB / 0.6865 GB, free: 125 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005298/1.014, allocations: 2.591 MB / 0.689 GB, free: 123.9 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007282/1.015, allocations: 1.116 MB / 0.6901 GB, free: 123.2 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005519/1.016, allocations: 86.34 kB / 0.6902 GB, free: 123.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002335/1.016, allocations: 53.03 kB / 0.6903 GB, free: 123.2 MB / 490.7 MB Notification: Performance of SimCode: time 1.002e-06/1.016, allocations: 0 / 0.6903 GB, free: 123.2 MB / 490.7 MB Notification: Performance of Templates: time 0.04599/1.062, allocations: 29.04 MB / 0.7186 GB, free: 121.7 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeIV_test.makefile (rm -f OpenIPSL_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeIV_test.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeIV_test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeIV_test.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeIV_test.sim & ./OpenIPSL_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeIV_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeIV_test.pipe 2>&1)