Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") [: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.003757/0.003756, allocations: 179.7 kB / 7.452 MB, free: 2.508 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.232/1.232, allocations: 221.4 MB / 229.3 MB, free: 3.07 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.000997/0.0009971, allocations: 99.94 kB / 280.1 MB, free: 1.234 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4087/0.4087, allocations: 78.05 MB / 408.9 MB, free: 15.56 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.578e-06/9.608e-06, allocations: 4 kB / 484.3 MB, free: 4.445 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.253/0.2531, allocations: 69.35 MB / 0.5407 GB, free: 21.49 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1156/0.3687, allocations: 98.76 MB / 0.6372 GB, free: 6.082 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002106/0.369, allocations: 83.95 kB / 0.6372 GB, free: 6 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.3743/0.7433, allocations: 67.97 MB / 0.7036 GB, free: 97.41 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002127/0.7436, allocations: 58.06 kB / 0.7037 GB, free: 97.41 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: 522 * Number of variables: 522 Notification: Performance of Generate backend data structure: time 0.01414/0.7577, allocations: 4.191 MB / 0.7078 GB, free: 95.29 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.7578, allocations: 9.25 kB / 0.7078 GB, free: 95.29 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01208/0.7699, allocations: 1.672 MB / 0.7094 GB, free: 94.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004628/0.7745, allocations: 1.632 MB / 0.711 GB, free: 93.34 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007532/0.7753, allocations: 0.6841 MB / 0.7117 GB, free: 92.72 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000761/0.7761, allocations: 132 kB / 0.7118 GB, free: 92.71 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004915/0.781, allocations: 2.21 MB / 0.7139 GB, free: 91.71 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004947/0.786, allocations: 2.271 MB / 0.7162 GB, free: 90.43 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.557e-05/0.786, allocations: 4 kB / 0.7162 GB, free: 90.43 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003049/0.7863, allocations: 1.156 kB / 0.7162 GB, free: 90.43 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.194e-05/0.7864, allocations: 49.62 kB / 0.7162 GB, free: 90.43 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01881/0.8052, allocations: 9.798 MB / 0.7258 GB, free: 81.44 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0035/0.8087, allocations: 2.023 MB / 0.7278 GB, free: 79.39 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002104/0.8109, allocations: 1.45 MB / 0.7292 GB, free: 77.94 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000307/0.8112, allocations: 49.66 kB / 0.7292 GB, free: 77.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002704/0.8139, allocations: 1.678 MB / 0.7309 GB, free: 76.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=247): time 6.031e-06/0.8139, allocations: 3.703 kB / 0.7309 GB, free: 76.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=247): time 0.04051/0.8545, allocations: 13.14 MB / 0.7437 GB, free: 63.07 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.579e-05/0.8545, allocations: 188.2 kB / 0.7439 GB, free: 62.85 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002769/0.8573, allocations: 1.697 MB / 0.7455 GB, free: 61.15 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005558/0.8579, allocations: 25.7 kB / 0.7456 GB, free: 61.12 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003441/0.8583, allocations: 0.7113 MB / 0.7463 GB, free: 60.39 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001434/0.8597, allocations: 0.8158 MB / 0.7471 GB, free: 59.57 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003322/0.86, allocations: 4.062 kB / 0.7471 GB, free: 59.56 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.8602, allocations: 402.8 kB / 0.7474 GB, free: 59.16 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002185/0.8624, allocations: 1.216 MB / 0.7486 GB, free: 57.95 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002272/0.8646, allocations: 1.5 MB / 0.7501 GB, free: 56.35 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002311/0.867, allocations: 1.337 MB / 0.7514 GB, free: 54.98 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.355e-06/0.867, allocations: 0 / 0.7514 GB, free: 54.98 MB / 490.7 MB Notification: Performance of matching and sorting (n=314) (initialization): time 0.03949/0.9065, allocations: 13.09 MB / 0.7642 GB, free: 41.87 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.9065, allocations: 8 kB / 0.7642 GB, free: 41.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.482e-05/0.9066, allocations: 4 kB / 0.7642 GB, free: 41.86 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0179/0.9245, allocations: 5.184 MB / 0.7693 GB, free: 36.69 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002595/0.9271, allocations: 411.5 kB / 0.7696 GB, free: 36.29 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04015/0.9673, allocations: 15.56 MB / 0.7848 GB, free: 20.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004352/0.9717, allocations: 0.525 MB / 0.7853 GB, free: 20.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004881/0.9722, allocations: 91.97 kB / 0.7854 GB, free: 19.98 MB / 490.7 MB Warning: Assuming fixed start value for the following 6 variables: Exc2.firstOrder2.y:VARIABLE(start = Exc2.firstOrder2.y_start ) "Connector of Real output signal" type: Real Exc1.firstOrder2.y:VARIABLE(start = Exc1.firstOrder2.y_start ) "Connector of Real output signal" type: Real order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (224): * Single equations (assignments): 219 * Array equations: 0 * Algorithm blocks: 4 * 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 {64 27} Notification: Performance of prepare postOptimizeDAE: time 0.0007592/0.973, allocations: 212.6 kB / 0.7856 GB, free: 19.76 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007479/0.9737, allocations: 296.3 kB / 0.7859 GB, free: 19.46 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04043/1.014, allocations: 13.41 MB / 0.799 GB, free: 6.047 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.302e-05/1.014, allocations: 24 kB / 0.799 GB, free: 6.023 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-05/1.014, allocations: 20 kB / 0.7991 GB, free: 6.004 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.057e-05/1.014, allocations: 11.95 kB / 0.7991 GB, free: 5.992 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04775/1.062, allocations: 16.68 MB / 0.8154 GB, free: 5.277 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.947e-05/1.062, allocations: 3.906 kB / 0.8154 GB, free: 5.273 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001857/1.064, allocations: 247.8 kB / 0.8156 GB, free: 5.031 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0174/1.081, allocations: 5.164 MB / 0.8207 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005082/1.082, allocations: 15.98 kB / 0.8207 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04266/1.125, allocations: 17.5 MB / 0.8378 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/1.125, allocations: 0 / 0.8378 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04794/1.173, allocations: 15.42 MB / 0.8528 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001292/1.174, allocations: 408.7 kB / 0.8532 GB, free: 14.08 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00097/1.175, allocations: 8 kB / 0.8532 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003745/1.179, allocations: 407.6 kB / 0.8536 GB, free: 13.67 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001065/1.18, allocations: 337.4 kB / 0.8539 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002742/1.18, allocations: 68.05 kB / 0.854 GB, free: 13.28 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.002014/1.182, allocations: 1.272 MB / 0.8552 GB, free: 12 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.003059/1.185, allocations: 0.9907 MB / 0.8562 GB, free: 11.01 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(64,8.0%) 24} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004856/1.186, allocations: 143.3 kB / 0.8563 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.016/1.202, allocations: 5.463 MB / 0.8617 GB, free: 5.34 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/1.202, allocations: 4 kB / 0.8617 GB, free: 5.336 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0134/1.215, allocations: 4.202 MB / 0.8658 GB, free: 1.086 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001975/1.217, allocations: 179.3 kB / 0.866 GB, free: 0.9102 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01138/1.229, allocations: 4.005 MB / 0.8699 GB, free: 12.84 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002122/1.231, allocations: 1.938 MB / 0.8718 GB, free: 10.87 MB / 0.5573 GB Notification: Performance of SimCode: time 5.01e-07/1.231, allocations: 0 / 0.8718 GB, free: 10.87 MB / 0.5573 GB Notification: Performance of Templates: time 0.2243/1.455, allocations: 50.75 MB / 0.9213 GB, free: 197 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1)