Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_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_release_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.0018/0.0018, allocations: 170.1 kB / 16.11 MB, free: 5.586 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.625/1.625, allocations: 205.4 MB / 222.3 MB, free: 9.02 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: 89.42 kB / 270.6 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.3361/0.3361, allocations: 42.28 MB / 361.2 MB, free: 49.42 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004002/0.0004002, allocations: 12 kB / 429.4 MB, free: 7.809 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1119, allocations: 57.56 MB / 487 MB, free: 14.2 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3264/0.4383, allocations: 93.81 MB / 0.5672 GB, free: 13.95 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002801/0.4386, allocations: 89.67 kB / 0.5673 GB, free: 13.86 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06768/0.5063, allocations: 24.16 MB / 0.5909 GB, free: 5.621 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.245e-06/0.5064, allocations: 0 / 0.5909 GB, free: 5.621 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001082/0.5065, allocations: 28 kB / 0.5909 GB, free: 5.594 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.006212/0.5127, allocations: 1.901 MB / 0.5927 GB, free: 3.645 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.411e-05/0.5128, allocations: 12.03 kB / 0.5928 GB, free: 3.633 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003478/0.5163, allocations: 0.5476 MB / 0.5933 GB, free: 3.086 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002141/0.5184, allocations: 0.8235 MB / 0.5941 GB, free: 2.223 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002684/0.5187, allocations: 230.5 kB / 0.5943 GB, free: 1.965 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002812/0.519, allocations: 87.94 kB / 0.5944 GB, free: 1.879 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002955/0.522, allocations: 1.317 MB / 0.5957 GB, free: 0.5195 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.636e-05/0.522, allocations: 4 kB / 0.5957 GB, free: 0.5156 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001198/0.5221, allocations: 36 kB / 0.5957 GB, free: 492 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.398e-05/0.5222, allocations: 20 kB / 0.5957 GB, free: 472 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002887/0.5251, allocations: 1.206 MB / 0.5969 GB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007424/0.5325, allocations: 3.663 MB / 0.6005 GB, free: 11.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00324/0.5358, allocations: 1.241 MB / 0.6017 GB, free: 10.25 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0018/0.5376, allocations: 0.8538 MB / 0.6025 GB, free: 9.395 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001093/0.5378, allocations: 20.92 kB / 0.6026 GB, free: 9.375 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.326e-05/0.5378, allocations: 43.56 kB / 0.6026 GB, free: 9.324 MB / 426.7 MB Notification: Performance of pre-optimization done (n=95): time 3.507e-06/0.5378, allocations: 0 / 0.6026 GB, free: 9.324 MB / 426.7 MB Notification: Performance of matching and sorting (n=95): time 0.0303/0.5681, allocations: 8.77 MB / 0.6112 GB, free: 0.5156 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.12e-05/0.5683, allocations: 115.8 kB / 0.6113 GB, free: 388 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001411/0.5697, allocations: 0.8073 MB / 0.6121 GB, free: 15.55 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002373/0.5699, allocations: 41.7 kB / 0.6121 GB, free: 15.5 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004058/0.5703, allocations: 492.2 kB / 0.6126 GB, free: 15.01 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004547/0.5708, allocations: 327.2 kB / 0.6129 GB, free: 14.69 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9e-05/0.5709, allocations: 12 kB / 0.6129 GB, free: 14.68 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.5711, allocations: 341.9 kB / 0.6132 GB, free: 14.34 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001612/0.5727, allocations: 0.6969 MB / 0.6139 GB, free: 13.64 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001777/0.5745, allocations: 0.8125 MB / 0.6147 GB, free: 12.79 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01459/0.5891, allocations: 4.526 MB / 0.6191 GB, free: 8.238 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.5891, allocations: 0 / 0.6191 GB, free: 8.238 MB / 442.7 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.01478/0.6039, allocations: 5.051 MB / 0.6241 GB, free: 3.168 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.655e-05/0.6041, allocations: 152.1 kB / 0.6242 GB, free: 2.992 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.6041, allocations: 0 / 0.6242 GB, free: 2.992 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006885/0.611, allocations: 2.235 MB / 0.6264 GB, free: 0.7539 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007467/0.6117, allocations: 139.8 kB / 0.6265 GB, free: 0.6172 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02354/0.6353, allocations: 10.22 MB / 0.6365 GB, free: 6.258 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001412/0.6367, allocations: 191.1 kB / 0.6367 GB, free: 6.07 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001659/0.6369, allocations: 32 kB / 0.6367 GB, free: 6.039 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.637, allocations: 4 kB / 0.6367 GB, free: 6.035 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01448/0.6514, allocations: 4.874 MB / 0.6415 GB, free: 1.148 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.6515, allocations: 0 / 0.6415 GB, free: 1.148 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006869/0.6584, allocations: 2.226 MB / 0.6436 GB, free: 14.92 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006902/0.6591, allocations: 123.8 kB / 0.6438 GB, free: 14.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02351/0.6827, allocations: 10.23 MB / 0.6537 GB, free: 4.434 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001569/0.6843, allocations: 179.2 kB / 0.6539 GB, free: 4.258 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001866/0.6846, allocations: 32 kB / 0.654 GB, free: 4.227 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.0008096/0.6854, allocations: 339.5 kB / 0.6543 GB, free: 3.891 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003275/0.6857, allocations: 106.7 kB / 0.6544 GB, free: 3.785 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01476/0.7005, allocations: 5.048 MB / 0.6593 GB, free: 14.72 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.827e-05/0.7005, allocations: 15.92 kB / 0.6593 GB, free: 14.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.7005, allocations: 0 / 0.6593 GB, free: 14.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.426e-05/0.7006, allocations: 7.984 kB / 0.6593 GB, free: 14.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001832/0.7024, allocations: 1.232 MB / 0.6605 GB, free: 13.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.7024, allocations: 3.938 kB / 0.6605 GB, free: 13.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005429/0.703, allocations: 103.9 kB / 0.6606 GB, free: 13.31 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006389/0.7094, allocations: 2.163 MB / 0.6627 GB, free: 11.14 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001726/0.7096, allocations: 16 kB / 0.6628 GB, free: 11.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01927/0.7289, allocations: 8.819 MB / 0.6714 GB, free: 2.164 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.7289, allocations: 3.938 kB / 0.6714 GB, free: 2.16 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2248/0.9538, allocations: 6.029 MB / 0.6773 GB, free: 126.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004643/0.9543, allocations: 201.6 kB / 0.6775 GB, free: 126 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002048/0.9545, allocations: 21.66 kB / 0.6775 GB, free: 126 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001078/0.9556, allocations: 142.7 kB / 0.6776 GB, free: 126 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000636/0.9562, allocations: 196.4 kB / 0.6778 GB, free: 126 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.98e-05/0.9563, allocations: 26.62 kB / 0.6778 GB, free: 126 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007541/0.9571, allocations: 0.5609 MB / 0.6784 GB, free: 125.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.9571, allocations: 0 / 0.6784 GB, free: 125.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001922/0.959, allocations: 0.6629 MB / 0.679 GB, free: 125.9 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.000272/0.9593, allocations: 152.6 kB / 0.6792 GB, free: 125.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01097/0.9703, allocations: 4.371 MB / 0.6834 GB, free: 125.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/0.9703, allocations: 3.969 kB / 0.6834 GB, free: 125.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005104/0.9754, allocations: 1.785 MB / 0.6852 GB, free: 125.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001626/0.9771, allocations: 112.5 kB / 0.6853 GB, free: 125.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005169/0.9823, allocations: 2.477 MB / 0.6877 GB, free: 124.2 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000541/0.9829, allocations: 1.098 MB / 0.6888 GB, free: 123.5 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004386/0.9833, allocations: 80.78 kB / 0.6889 GB, free: 123.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001804/0.9835, allocations: 53.16 kB / 0.6889 GB, free: 123.5 MB / 490.7 MB Notification: Performance of SimCode: time 9.61e-07/0.9835, allocations: 2.844 kB / 0.6889 GB, free: 123.5 MB / 490.7 MB Notification: Performance of Templates: time 0.04321/1.027, allocations: 28.7 MB / 0.7169 GB, free: 122 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeIII_test.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeIII_test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeIII_test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeIII_test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeIII_test.sim & ./OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeIII_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.TG.TGTypeIII_test.pipe 2>&1)