Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT") translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002183/0.002183, allocations: 175.2 kB / 7.451 MB, free: 2.324 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.06/1.06, allocations: 221.4 MB / 229.3 MB, free: 3.137 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008577/0.0008577, allocations: 95 kB / 280.1 MB, free: 1.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3617/0.3617, allocations: 78.1 MB / 409 MB, free: 15.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.869e-06/4.879e-06, allocations: 0 / 484.4 MB, free: 4.566 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2322, allocations: 69.33 MB / 0.5407 GB, free: 21.57 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0979/0.3301, allocations: 99.21 MB / 0.6376 GB, free: 5.809 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000203/0.3304, allocations: 71.95 kB / 0.6377 GB, free: 5.738 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.3434/0.6738, allocations: 72.32 MB / 0.7083 GB, free: 95.1 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002303/0.6741, allocations: 48.59 kB / 0.7084 GB, free: 95.1 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 451 * Number of variables: 451 Notification: Performance of Generate backend data structure: time 0.009874/0.684, allocations: 3.579 MB / 0.7119 GB, free: 92.91 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.684, allocations: 7.75 kB / 0.7119 GB, free: 92.91 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008725/0.6927, allocations: 1.514 MB / 0.7133 GB, free: 92.19 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003441/0.6962, allocations: 1.741 MB / 0.715 GB, free: 90.97 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003349/0.6965, allocations: 387.5 kB / 0.7154 GB, free: 90.66 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003269/0.6969, allocations: 116.8 kB / 0.7155 GB, free: 90.65 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003291/0.7002, allocations: 1.955 MB / 0.7174 GB, free: 89.76 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002837/0.703, allocations: 1.776 MB / 0.7192 GB, free: 88.45 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.346e-05/0.7031, allocations: 0 / 0.7192 GB, free: 88.45 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002068/0.7033, allocations: 1.859 kB / 0.7192 GB, free: 88.45 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.56e-05/0.7033, allocations: 40 kB / 0.7192 GB, free: 88.41 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01372/0.717, allocations: 9.526 MB / 0.7285 GB, free: 78.62 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001926/0.719, allocations: 1.394 MB / 0.7299 GB, free: 77.21 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00148/0.7205, allocations: 1.27 MB / 0.7311 GB, free: 75.95 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000206/0.7207, allocations: 45.78 kB / 0.7312 GB, free: 75.91 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.7207, allocations: 52.56 kB / 0.7312 GB, free: 75.85 MB / 490.7 MB Notification: Performance of pre-optimization done (n=223): time 3.677e-06/0.7207, allocations: 4 kB / 0.7312 GB, free: 75.84 MB / 490.7 MB Notification: Performance of matching and sorting (n=223): time 0.02259/0.7433, allocations: 8.57 MB / 0.7396 GB, free: 67.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.564e-05/0.7434, allocations: 77.41 kB / 0.7397 GB, free: 67.21 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002543/0.7459, allocations: 2.058 MB / 0.7417 GB, free: 65.14 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002846/0.7462, allocations: 25.7 kB / 0.7417 GB, free: 65.11 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000258/0.7465, allocations: 0.6581 MB / 0.7423 GB, free: 64.44 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000947/0.7474, allocations: 0.7542 MB / 0.7431 GB, free: 63.67 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001556/0.7476, allocations: 4 kB / 0.7431 GB, free: 63.67 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.602e-05/0.7477, allocations: 386.2 kB / 0.7434 GB, free: 63.29 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00146/0.7491, allocations: 1.035 MB / 0.7445 GB, free: 62.25 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001543/0.7507, allocations: 1.288 MB / 0.7457 GB, free: 60.86 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001573/0.7523, allocations: 1.158 MB / 0.7468 GB, free: 59.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.7523, allocations: 4 kB / 0.7468 GB, free: 59.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.01555/0.7678, allocations: 6.146 MB / 0.7528 GB, free: 53.52 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.7679, allocations: 4 kB / 0.7528 GB, free: 53.51 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/0.7679, allocations: 8 kB / 0.7529 GB, free: 53.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01219/0.7801, allocations: 3.365 MB / 0.7561 GB, free: 50.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006591/0.7867, allocations: 1.643 MB / 0.7577 GB, free: 48.45 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02091/0.8076, allocations: 16.64 MB / 0.774 GB, free: 31.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003857/0.8115, allocations: 346 kB / 0.7743 GB, free: 30.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002498/0.8118, allocations: 75.98 kB / 0.7744 GB, free: 30.61 MB / 490.7 MB Warning: Assuming fixed start value for the following 8 variables: g4.order6_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real g3.order6_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real g2.order6_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real g1.order6_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real g4.order6_1.e2d:VARIABLE(start = g4.order6_1.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real g4.order6_1.delta:VARIABLE(start = g4.order6_1.delta0 unit = "rad" ) "Rotor angle" type: Real g3.order6_1.e2d:VARIABLE(start = g3.order6_1.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real g3.order6_1.delta:VARIABLE(start = g3.order6_1.delta0 unit = "rad" ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (203): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 9 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(4,75.0%) 2,(4,75.0%) 2,(1,100.0%) 1,(3,88.9%) 17,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 1 {8 22} Notification: Performance of prepare postOptimizeDAE: time 0.0005053/0.8123, allocations: 170.3 kB / 0.7746 GB, free: 30.43 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004731/0.8128, allocations: 300.2 kB / 0.7748 GB, free: 30.14 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02261/0.8354, allocations: 8.801 MB / 0.7834 GB, free: 21.35 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.069e-05/0.8354, allocations: 24 kB / 0.7835 GB, free: 21.32 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.8354, allocations: 0 / 0.7835 GB, free: 21.32 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.296e-05/0.8355, allocations: 11.95 kB / 0.7835 GB, free: 21.31 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02642/0.8619, allocations: 12.15 MB / 0.7953 GB, free: 9.105 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.18e-05/0.862, allocations: 4 kB / 0.7953 GB, free: 9.102 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00167/0.8636, allocations: 215.7 kB / 0.7956 GB, free: 8.891 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01144/0.8751, allocations: 4.058 MB / 0.7995 GB, free: 4.828 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004701/0.8756, allocations: 15.38 kB / 0.7995 GB, free: 4.816 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02674/0.9023, allocations: 11.96 MB / 0.8112 GB, free: 8.742 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.9024, allocations: 0 / 0.8112 GB, free: 8.742 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02721/0.9296, allocations: 10.55 MB / 0.8215 GB, free: 14.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001185/0.9308, allocations: 464.6 kB / 0.8219 GB, free: 13.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009101/0.9317, allocations: 4 kB / 0.822 GB, free: 13.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002939/0.9347, allocations: 207.8 kB / 0.8221 GB, free: 13.51 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005833/0.9353, allocations: 217.5 kB / 0.8224 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000214/0.9355, allocations: 59.98 kB / 0.8224 GB, free: 13.24 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.002276/0.9378, allocations: 1.551 MB / 0.8239 GB, free: 11.69 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002645/0.9404, allocations: 0.8854 MB / 0.8248 GB, free: 10.8 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 24 (g1.order6_1.delta,g1.order6_1.w,g1.order6_1.e1q,g1.order6_1.e1d,g1.order6_1.e2q,g1.order6_1.e2d,g2.order6_1.delta,g2.order6_1.w,g2.order6_1.e1q,g2.order6_1.e1d,g2.order6_1.e2q,g2.order6_1.e2d,g3.order6_1.delta,g3.order6_1.w,g3.order6_1.e1q,g3.order6_1.e1d,g3.order6_1.e2q,g3.order6_1.e2d,g4.order6_1.delta,g4.order6_1.w,g4.order6_1.e1q,g4.order6_1.e1d,g4.order6_1.e2q,g4.order6_1.e2d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (136): * Single equations (assignments): 135 * 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 {54 42} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004787/0.9409, allocations: 289.1 kB / 0.8251 GB, free: 10.53 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01037/0.9513, allocations: 5.237 MB / 0.8302 GB, free: 5.027 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.9513, allocations: 4 kB / 0.8302 GB, free: 5.023 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.008096/0.9594, allocations: 3.105 MB / 0.8332 GB, free: 1.91 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001151/0.9606, allocations: 165.9 kB / 0.8334 GB, free: 1.746 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009494/0.9701, allocations: 4.782 MB / 0.838 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001895/0.972, allocations: 1.941 MB / 0.8399 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of SimCode: time 2.91e-07/0.972, allocations: 4 kB / 0.8399 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of Templates: time 0.05987/1.032, allocations: 46.03 MB / 0.8849 GB, free: 13.05 MB / 0.573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.sim & ./OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe 2>&1)