Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeIII_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.TGTypeIII_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeIII_test") translateModel(OpenIPSL.Examples.Controls.PSAT.TG.TGTypeIII_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeIII_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00172/0.00172, allocations: 176.6 kB / 16.12 MB, free: 5.691 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.602/1.602, allocations: 205.4 MB / 222.3 MB, free: 9.035 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.0008996/0.0008998, allocations: 96.84 kB / 270.6 MB, free: 8.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.2911/0.2911, allocations: 42.28 MB / 361.2 MB, free: 49.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000596/0.000596, allocations: 12 kB / 429.4 MB, free: 7.82 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1389, allocations: 57.56 MB / 487 MB, free: 14.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3647/0.5037, allocations: 93.8 MB / 0.5672 GB, free: 13.98 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004374/0.5042, allocations: 89.89 kB / 0.5673 GB, free: 13.9 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1114/0.6157, allocations: 24.16 MB / 0.5909 GB, free: 5.652 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.6157, allocations: 0 / 0.5909 GB, free: 5.652 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001273/0.6159, allocations: 31.94 kB / 0.5909 GB, free: 5.621 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.009221/0.6251, allocations: 1.901 MB / 0.5927 GB, free: 3.672 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.6252, allocations: 12.03 kB / 0.5928 GB, free: 3.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006022/0.6312, allocations: 0.5476 MB / 0.5933 GB, free: 3.113 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003148/0.6344, allocations: 0.8157 MB / 0.5941 GB, free: 2.258 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004005/0.6348, allocations: 242.4 kB / 0.5943 GB, free: 1.988 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003614/0.6352, allocations: 79.94 kB / 0.5944 GB, free: 1.91 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00461/0.6398, allocations: 1.317 MB / 0.5957 GB, free: 0.5508 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.574e-05/0.6399, allocations: 0 / 0.5957 GB, free: 0.5508 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001975/0.6401, allocations: 32 kB / 0.5957 GB, free: 0.5195 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.904e-05/0.6402, allocations: 24 kB / 0.5957 GB, free: 0.4961 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00475/0.6449, allocations: 1.202 MB / 0.5969 GB, free: 15.29 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01109/0.6561, allocations: 3.675 MB / 0.6005 GB, free: 11.53 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005277/0.6614, allocations: 1.237 MB / 0.6017 GB, free: 10.28 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003212/0.6647, allocations: 0.8511 MB / 0.6025 GB, free: 9.426 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001462/0.6648, allocations: 20.88 kB / 0.6026 GB, free: 9.406 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.618e-05/0.6649, allocations: 43.56 kB / 0.6026 GB, free: 9.355 MB / 426.7 MB Notification: Performance of pre-optimization done (n=95): time 4.909e-06/0.6649, allocations: 0 / 0.6026 GB, free: 9.355 MB / 426.7 MB Notification: Performance of matching and sorting (n=95): time 0.05026/0.7152, allocations: 8.766 MB / 0.6112 GB, free: 0.5508 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001249/0.7154, allocations: 115.8 kB / 0.6113 GB, free: 424 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002021/0.7174, allocations: 0.8073 MB / 0.6121 GB, free: 15.58 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002962/0.7177, allocations: 41.7 kB / 0.6121 GB, free: 15.54 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005411/0.7183, allocations: 497.7 kB / 0.6126 GB, free: 15.04 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005573/0.7188, allocations: 327.2 kB / 0.6129 GB, free: 14.72 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.719, allocations: 20 kB / 0.6129 GB, free: 14.7 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.7192, allocations: 337.9 kB / 0.6132 GB, free: 14.36 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002865/0.722, allocations: 0.6969 MB / 0.6139 GB, free: 13.66 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003157/0.7252, allocations: 0.8125 MB / 0.6147 GB, free: 12.82 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02475/0.75, allocations: 4.522 MB / 0.6191 GB, free: 8.27 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.235e-06/0.75, allocations: 0 / 0.6191 GB, free: 8.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.02547/0.7755, allocations: 5.051 MB / 0.6241 GB, free: 3.199 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001501/0.7757, allocations: 152.1 kB / 0.6242 GB, free: 3.023 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.7757, allocations: 4 kB / 0.6242 GB, free: 3.02 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01232/0.7881, allocations: 2.223 MB / 0.6264 GB, free: 0.793 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001333/0.7895, allocations: 143.7 kB / 0.6265 GB, free: 0.6523 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03871/0.8282, allocations: 10.22 MB / 0.6365 GB, free: 6.289 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002394/0.8307, allocations: 195.1 kB / 0.6367 GB, free: 6.098 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001919/0.8309, allocations: 32 kB / 0.6367 GB, free: 6.066 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.8309, allocations: 4 kB / 0.6367 GB, free: 6.062 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02468/0.8556, allocations: 4.878 MB / 0.6415 GB, free: 1.172 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.032e-05/0.8557, allocations: 4 kB / 0.6415 GB, free: 1.168 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01175/0.8674, allocations: 2.222 MB / 0.6437 GB, free: 14.94 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007021/0.8682, allocations: 123.8 kB / 0.6438 GB, free: 14.82 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02287/0.8911, allocations: 10.22 MB / 0.6537 GB, free: 4.465 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001414/0.8925, allocations: 179.2 kB / 0.6539 GB, free: 4.289 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/0.8927, allocations: 28 kB / 0.6539 GB, free: 4.262 MB / 474.7 MB Warning: Assuming fixed start value for the following 6 variables: tGTypeIII.integrator3.y:VARIABLE(start = tGTypeIII.integrator3.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIII.integrator2.y:VARIABLE(start = tGTypeIII.integrator2.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIII.integrator1.y:VARIABLE(start = tGTypeIII.integrator1.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIII.integrator.y:VARIABLE(start = tGTypeIII.integrator.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: 9 * Number of states: 0 () * Number of discrete variables: 4 (tGTypeIII.integrator3.local_reset,tGTypeIII.integrator2.local_reset,tGTypeIII.integrator1.local_reset,tGTypeIII.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * 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.0007814/0.8934, allocations: 338.9 kB / 0.6543 GB, free: 3.926 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000213/0.8937, allocations: 110.7 kB / 0.6544 GB, free: 3.816 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01422/0.9079, allocations: 5.059 MB / 0.6593 GB, free: 14.74 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.509e-05/0.908, allocations: 8 kB / 0.6593 GB, free: 14.73 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.908, allocations: 0 / 0.6593 GB, free: 14.73 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.658e-05/0.908, allocations: 3.984 kB / 0.6593 GB, free: 14.73 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001875/0.9099, allocations: 1.232 MB / 0.6605 GB, free: 13.45 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.9099, allocations: 0 / 0.6605 GB, free: 13.45 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006659/0.9106, allocations: 103.9 kB / 0.6606 GB, free: 13.34 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006388/0.917, allocations: 2.167 MB / 0.6627 GB, free: 11.17 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002052/0.9172, allocations: 16 kB / 0.6628 GB, free: 11.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02046/0.9377, allocations: 8.819 MB / 0.6714 GB, free: 2.195 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.9377, allocations: 3.938 kB / 0.6714 GB, free: 2.191 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2281/1.166, allocations: 6.027 MB / 0.6773 GB, free: 126 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000629/1.167, allocations: 200.6 kB / 0.6775 GB, free: 125.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004445/1.167, allocations: 14.22 kB / 0.6775 GB, free: 125.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001319/1.168, allocations: 147.2 kB / 0.6776 GB, free: 125.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007428/1.169, allocations: 204.4 kB / 0.6778 GB, free: 125.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001555/1.169, allocations: 19.16 kB / 0.6778 GB, free: 125.9 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001148/1.17, allocations: 0.5626 MB / 0.6784 GB, free: 125.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.4e-07/1.17, allocations: 0 / 0.6784 GB, free: 125.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00256/1.173, allocations: 0.6637 MB / 0.679 GB, free: 125.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (gen.delta,gen.w,gen.e1q,tGTypeIII.integrator.y,tGTypeIII.integrator1.y,tGTypeIII.integrator2.y,tGTypeIII.integrator3.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 (58): * Single equations (assignments): 57 * 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.0003813/1.173, allocations: 149 kB / 0.6792 GB, free: 125.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01154/1.185, allocations: 4.378 MB / 0.6834 GB, free: 125.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.577e-05/1.185, allocations: 4.438 kB / 0.6834 GB, free: 125.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004884/1.19, allocations: 1.782 MB / 0.6852 GB, free: 125.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001422/1.191, allocations: 116 kB / 0.6853 GB, free: 125.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004711/1.196, allocations: 2.476 MB / 0.6877 GB, free: 124.1 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000488/1.197, allocations: 1.096 MB / 0.6888 GB, free: 123.4 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004554/1.197, allocations: 87.23 kB / 0.6889 GB, free: 123.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001744/1.197, allocations: 56.98 kB / 0.6889 GB, free: 123.4 MB / 490.7 MB Notification: Performance of SimCode: time 7.82e-07/1.197, allocations: 2.844 kB / 0.6889 GB, free: 123.4 MB / 490.7 MB Notification: Performance of Templates: time 0.0439/1.241, allocations: 28.68 MB / 0.7169 GB, free: 121.9 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeIII_test.makefile (rm -f OpenIPSL_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeIII_test.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeIII_test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeIII_test.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeIII_test.sim & ./OpenIPSL_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeIII_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeIII_test.pipe 2>&1)