Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.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.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI") [: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.002107/0.002107, allocations: 190.5 kB / 7.459 MB, free: 2.238 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.216/1.216, allocations: 221.4 MB / 229.3 MB, free: 3.062 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.0009523/0.0009523, allocations: 98.5 kB / 280.1 MB, free: 1.219 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3966/0.3966, allocations: 78.06 MB / 408.9 MB, free: 15.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.981e-06/6.011e-06, allocations: 0 / 484.3 MB, free: 4.488 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2323, allocations: 69.35 MB / 0.5407 GB, free: 21.47 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1082/0.3405, allocations: 99.51 MB / 0.6379 GB, free: 5.324 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002076/0.3407, allocations: 83.95 kB / 0.638 GB, free: 5.242 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.3932/0.7339, allocations: 66.29 MB / 0.7027 GB, free: 97.92 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001892/0.7341, allocations: 54.38 kB / 0.7028 GB, free: 97.91 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: 518 * Number of variables: 518 Notification: Performance of Generate backend data structure: time 0.01367/0.7478, allocations: 4.191 MB / 0.7068 GB, free: 96 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.7478, allocations: 13.03 kB / 0.7069 GB, free: 96 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01171/0.7595, allocations: 1.663 MB / 0.7085 GB, free: 95.21 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003992/0.7635, allocations: 1.668 MB / 0.7101 GB, free: 94.03 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006559/0.7642, allocations: 0.6203 MB / 0.7107 GB, free: 93.48 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007014/0.7649, allocations: 136.7 kB / 0.7109 GB, free: 93.47 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004578/0.7695, allocations: 2.232 MB / 0.713 GB, free: 92.46 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004706/0.7742, allocations: 2.282 MB / 0.7153 GB, free: 91.16 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.387e-05/0.7743, allocations: 4.906 kB / 0.7153 GB, free: 91.16 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002866/0.7746, allocations: 0 / 0.7153 GB, free: 91.16 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.546e-05/0.7746, allocations: 49.88 kB / 0.7153 GB, free: 91.16 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01803/0.7927, allocations: 9.982 MB / 0.7251 GB, free: 82.11 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002527/0.7952, allocations: 1.571 MB / 0.7266 GB, free: 80.51 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002021/0.7973, allocations: 1.474 MB / 0.728 GB, free: 79.03 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002937/0.7976, allocations: 49.62 kB / 0.7281 GB, free: 78.98 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.7976, allocations: 56.56 kB / 0.7281 GB, free: 78.92 MB / 490.7 MB Notification: Performance of pre-optimization done (n=243): time 4.369e-06/0.7976, allocations: 0 / 0.7281 GB, free: 78.92 MB / 490.7 MB Notification: Performance of matching and sorting (n=243): time 0.04031/0.8379, allocations: 12.89 MB / 0.7407 GB, free: 66.04 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.277e-05/0.838, allocations: 239.6 kB / 0.741 GB, free: 65.76 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002386/0.8404, allocations: 1.717 MB / 0.7426 GB, free: 64.04 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004435/0.8409, allocations: 25.7 kB / 0.7427 GB, free: 64 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002972/0.8412, allocations: 0.7114 MB / 0.7433 GB, free: 63.28 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001087/0.8423, allocations: 0.8081 MB / 0.7441 GB, free: 62.46 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002089/0.8425, allocations: 0 / 0.7441 GB, free: 62.46 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.815e-05/0.8426, allocations: 390.7 kB / 0.7445 GB, free: 62.07 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00198/0.8446, allocations: 1.204 MB / 0.7457 GB, free: 60.87 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00205/0.8466, allocations: 1.5 MB / 0.7471 GB, free: 59.27 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002083/0.8487, allocations: 1.33 MB / 0.7484 GB, free: 57.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.8487, allocations: 0 / 0.7484 GB, free: 57.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=300) (initialization): time 0.03619/0.8849, allocations: 12.09 MB / 0.7603 GB, free: 45.79 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003547/0.8853, allocations: 2.761 MB / 0.7629 GB, free: 42.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.8854, allocations: 8 kB / 0.763 GB, free: 42.81 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01589/0.9012, allocations: 4.823 MB / 0.7677 GB, free: 37.99 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003986/0.9053, allocations: 0.7218 MB / 0.7684 GB, free: 37.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03495/0.9402, allocations: 14.3 MB / 0.7823 GB, free: 22.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00414/0.9444, allocations: 0.5134 MB / 0.7828 GB, free: 22.32 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00029/0.9447, allocations: 87.97 kB / 0.7829 GB, free: 22.24 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.292e-06/0.9447, allocations: 4 kB / 0.7829 GB, free: 22.23 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03581/0.9805, allocations: 11.75 MB / 0.7944 GB, free: 10.46 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/0.9806, allocations: 8 kB / 0.7944 GB, free: 10.45 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01529/0.9959, allocations: 4.823 MB / 0.7991 GB, free: 5.625 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003822/0.9997, allocations: 0.7062 MB / 0.7998 GB, free: 4.918 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04738/1.047, allocations: 14.3 MB / 0.8138 GB, free: 6.492 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004367/1.052, allocations: 498 kB / 0.8143 GB, free: 6.004 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003734/1.052, allocations: 83.97 kB / 0.8143 GB, free: 5.922 MB / 0.4948 GB Warning: Assuming fixed start value for the following 7 variables: Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Syn2.e2q:VARIABLE(start = Syn2.e2q0 unit = "1" ) "q-axis sub-transient voltage" type: Real Syn2.e1q:VARIABLE(start = Syn2.e1q0 unit = "1" ) "q-axis transient voltage" type: Real Syn2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Syn2.delta:VARIABLE(start = Syn2.delta0 unit = "rad" ) "Rotor angle" 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (221): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {59 20} Notification: Performance of prepare postOptimizeDAE: time 0.0007369/1.053, allocations: 209.3 kB / 0.8145 GB, free: 5.695 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007677/1.053, allocations: 300.3 kB / 0.8148 GB, free: 5.398 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04388/1.097, allocations: 13.15 MB / 0.8277 GB, free: 8.246 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.896e-05/1.097, allocations: 24 kB / 0.8277 GB, free: 8.223 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.355e-05/1.097, allocations: 20 kB / 0.8277 GB, free: 8.203 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.176e-05/1.097, allocations: 11.95 kB / 0.8277 GB, free: 8.191 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04959/1.147, allocations: 16.68 MB / 0.844 GB, free: 7.488 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.549e-05/1.147, allocations: 0 / 0.844 GB, free: 7.488 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002036/1.149, allocations: 283.7 kB / 0.8443 GB, free: 7.211 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01754/1.167, allocations: 5.007 MB / 0.8492 GB, free: 2.203 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005509/1.167, allocations: 19.98 kB / 0.8492 GB, free: 2.184 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0378/1.205, allocations: 13.68 MB / 0.8625 GB, free: 4.383 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.84e-06/1.205, allocations: 7.875 kB / 0.8625 GB, free: 4.375 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04747/1.253, allocations: 15.17 MB / 0.8774 GB, free: 5.188 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009953/1.254, allocations: 404.8 kB / 0.8777 GB, free: 4.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006471/1.254, allocations: 11.91 kB / 0.8778 GB, free: 4.758 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003512/1.258, allocations: 387.7 kB / 0.8781 GB, free: 4.379 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009452/1.259, allocations: 321.4 kB / 0.8784 GB, free: 4.066 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002723/1.259, allocations: 59.98 kB / 0.8785 GB, free: 4.008 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.002066/1.261, allocations: 1.292 MB / 0.8797 GB, free: 2.711 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004119/1.265, allocations: 1.575 MB / 0.8813 GB, free: 1.133 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e2q,Syn2.e2d,Exc1.firstOrder.y,Exc1.firstOrder2.y,Exc1.transferFunction.x_scaled[1],Exc1.transferFunction.x_scaled[2],Exc2.firstOrder.y,Exc2.firstOrder2.y,Exc2.transferFunction.x_scaled[1],Exc2.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (164): * Single equations (assignments): 161 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(65,7.8%) 23} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004374/1.266, allocations: 170.5 kB / 0.8814 GB, free: 0.957 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.1735/1.439, allocations: 9.578 MB / 0.8908 GB, free: 200 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/1.439, allocations: 0 / 0.8908 GB, free: 200 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01188/1.451, allocations: 3.966 MB / 0.8947 GB, free: 199.7 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00167/1.453, allocations: 199 kB / 0.8949 GB, free: 199.7 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01081/1.464, allocations: 4.34 MB / 0.8991 GB, free: 198.5 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001688/1.465, allocations: 1.955 MB / 0.901 GB, free: 197.7 MB / 0.5573 GB Notification: Performance of SimCode: time 1.062e-06/1.465, allocations: 1.641 kB / 0.901 GB, free: 197.7 MB / 0.5573 GB Notification: Performance of Templates: time 0.09958/1.565, allocations: 75.18 MB / 0.9744 GB, free: 166.3 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe 2>&1)