Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_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.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.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_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.001841/0.001841, allocations: 180.2 kB / 7.459 MB, free: 2.234 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.032/1.032, allocations: 221.4 MB / 229.3 MB, free: 3.078 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.000827/0.000827, allocations: 100.4 kB / 280.1 MB, free: 1.234 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.355/0.355, allocations: 78.1 MB / 409 MB, free: 15.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.51e-06/5.62e-06, allocations: 0 / 484.4 MB, free: 4.574 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.2263, allocations: 69.35 MB / 0.5408 GB, free: 21.47 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1028/0.3291, allocations: 100.1 MB / 0.6385 GB, free: 4.809 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001885/0.3293, allocations: 75.95 kB / 0.6386 GB, free: 4.734 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.3262/0.6555, allocations: 69.36 MB / 0.7063 GB, free: 96.8 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001449/0.6557, allocations: 59.12 kB / 0.7064 GB, free: 96.8 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: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.01123/0.6669, allocations: 4.248 MB / 0.7105 GB, free: 94.19 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.667, allocations: 9.5 kB / 0.7105 GB, free: 94.19 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009992/0.677, allocations: 1.674 MB / 0.7122 GB, free: 93.4 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003517/0.6805, allocations: 1.67 MB / 0.7138 GB, free: 92.22 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005854/0.6811, allocations: 0.6827 MB / 0.7145 GB, free: 91.6 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003934/0.6815, allocations: 129.9 kB / 0.7146 GB, free: 91.59 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004067/0.6856, allocations: 2.231 MB / 0.7168 GB, free: 90.59 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003949/0.6896, allocations: 2.299 MB / 0.719 GB, free: 88.99 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.249e-05/0.6896, allocations: 4 kB / 0.719 GB, free: 88.98 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002264/0.6898, allocations: 0 / 0.719 GB, free: 88.98 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.262e-05/0.6899, allocations: 55.91 kB / 0.7191 GB, free: 88.93 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0157/0.7056, allocations: 9.881 MB / 0.7287 GB, free: 78.79 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002917/0.7085, allocations: 2.061 MB / 0.7307 GB, free: 76.71 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001746/0.7103, allocations: 1.469 MB / 0.7322 GB, free: 75.23 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002436/0.7106, allocations: 45.48 kB / 0.7322 GB, free: 75.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002165/0.7127, allocations: 1.713 MB / 0.7339 GB, free: 73.46 MB / 490.7 MB Notification: Performance of pre-optimization done (n=250): time 3.466e-06/0.7127, allocations: 0 / 0.7339 GB, free: 73.46 MB / 490.7 MB Notification: Performance of matching and sorting (n=250): time 0.03543/0.7482, allocations: 13.17 MB / 0.7468 GB, free: 60.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/0.7483, allocations: 184.2 kB / 0.7469 GB, free: 60.08 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002269/0.7505, allocations: 1.733 MB / 0.7486 GB, free: 58.34 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004342/0.751, allocations: 33.69 kB / 0.7487 GB, free: 58.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002744/0.7513, allocations: 0.7114 MB / 0.7494 GB, free: 57.58 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009775/0.7522, allocations: 0.8273 MB / 0.7502 GB, free: 56.74 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000187/0.7524, allocations: 8.062 kB / 0.7502 GB, free: 56.73 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.62e-05/0.7525, allocations: 395 kB / 0.7505 GB, free: 56.34 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001845/0.7544, allocations: 1.235 MB / 0.7518 GB, free: 55.11 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001922/0.7563, allocations: 1.531 MB / 0.7533 GB, free: 53.48 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00191/0.7582, allocations: 1.35 MB / 0.7546 GB, free: 52.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/0.7582, allocations: 4 kB / 0.7546 GB, free: 52.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=320) (initialization): time 0.03525/0.7935, allocations: 13.21 MB / 0.7675 GB, free: 38.87 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.7935, allocations: 4 kB / 0.7675 GB, free: 38.87 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.7936, allocations: 11.98 kB / 0.7675 GB, free: 38.86 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01598/0.8095, allocations: 5.283 MB / 0.7726 GB, free: 33.56 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00225/0.8118, allocations: 415.4 kB / 0.773 GB, free: 33.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03514/0.847, allocations: 16.83 MB / 0.7895 GB, free: 16.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004065/0.8511, allocations: 0.5211 MB / 0.79 GB, free: 15.57 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002639/0.8513, allocations: 87.97 kB / 0.7901 GB, free: 15.48 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 Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Syn2.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 (229): * Single equations (assignments): 223 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {66 25} Notification: Performance of prepare postOptimizeDAE: time 0.0005374/0.8519, allocations: 213.2 kB / 0.7903 GB, free: 15.26 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000432/0.8523, allocations: 300.2 kB / 0.7906 GB, free: 14.96 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03547/0.8878, allocations: 13.44 MB / 0.8037 GB, free: 1.469 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.038e-05/0.8878, allocations: 24 kB / 0.8037 GB, free: 1.445 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-05/0.8879, allocations: 20 kB / 0.8037 GB, free: 1.426 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.355e-05/0.8879, allocations: 19.84 kB / 0.8037 GB, free: 1.406 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04269/0.9306, allocations: 16.78 MB / 0.8201 GB, free: 0.5547 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.9306, allocations: 0 / 0.8201 GB, free: 0.5547 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001461/0.9321, allocations: 251.7 kB / 0.8204 GB, free: 316 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01526/0.9474, allocations: 5.144 MB / 0.8254 GB, free: 11.15 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002438/0.9476, allocations: 23.98 kB / 0.8254 GB, free: 11.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.037/0.9846, allocations: 17.52 MB / 0.8425 GB, free: 9.258 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.9847, allocations: 3.938 kB / 0.8425 GB, free: 9.254 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04073/1.025, allocations: 15.5 MB / 0.8577 GB, free: 9.676 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008522/1.026, allocations: 416.7 kB / 0.8581 GB, free: 9.246 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006103/1.027, allocations: 4 kB / 0.8581 GB, free: 9.242 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003164/1.03, allocations: 411.6 kB / 0.8585 GB, free: 8.84 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009036/1.031, allocations: 337.4 kB / 0.8588 GB, free: 8.508 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002412/1.031, allocations: 67.98 kB / 0.8588 GB, free: 8.441 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.001822/1.033, allocations: 1.3 MB / 0.8601 GB, free: 7.137 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002586/1.036, allocations: 1.006 MB / 0.8611 GB, free: 6.129 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e1d,Syn2.e2q,Syn2.e2d,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 (159): * Single equations (assignments): 154 * 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 {(63,8.1%) 25} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003945/1.036, allocations: 163.7 kB / 0.8613 GB, free: 5.965 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01405/1.05, allocations: 5.656 MB / 0.8668 GB, free: 240 kB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/1.05, allocations: 1.75 kB / 0.8668 GB, free: 240 kB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01087/1.061, allocations: 4.211 MB / 0.8709 GB, free: 11.97 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/1.062, allocations: 194.9 kB / 0.8711 GB, free: 11.79 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009637/1.072, allocations: 4.259 MB / 0.8752 GB, free: 7.465 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001771/1.074, allocations: 1.962 MB / 0.8771 GB, free: 5.469 MB / 0.5573 GB Notification: Performance of SimCode: time 3.31e-07/1.074, allocations: 0 / 0.8771 GB, free: 5.469 MB / 0.5573 GB Notification: Performance of Templates: time 0.1955/1.269, allocations: 51.61 MB / 0.9275 GB, free: 195.8 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1)