Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_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.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.TwoArea.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_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.001763/0.001763, allocations: 181.6 kB / 7.46 MB, free: 2.5 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.031/1.031, allocations: 221.4 MB / 229.3 MB, free: 2.992 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.0007931/0.0007931, allocations: 93.58 kB / 280.1 MB, free: 1.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3557/0.3557, allocations: 78.1 MB / 409 MB, free: 15.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.2e-06/5.31e-06, allocations: 0 / 484.4 MB, free: 4.484 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2272/0.2272, allocations: 69.34 MB / 0.5407 GB, free: 21.33 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09805/0.3253, allocations: 101.6 MB / 0.64 GB, free: 3.18 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001796/0.3255, allocations: 87.88 kB / 0.6401 GB, free: 3.094 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.3801/0.7056, allocations: 98.65 MB / 0.7364 GB, free: 71.45 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003079/0.7059, allocations: 91.94 kB / 0.7365 GB, free: 71.36 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: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.01668/0.7226, allocations: 6.012 MB / 0.7424 GB, free: 65.27 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.7227, allocations: 12.03 kB / 0.7424 GB, free: 65.26 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01707/0.7397, allocations: 2.924 MB / 0.7452 GB, free: 62.32 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005269/0.745, allocations: 2.298 MB / 0.7475 GB, free: 59.95 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007668/0.7458, allocations: 0.858 MB / 0.7483 GB, free: 58.96 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001205/0.747, allocations: 203.9 kB / 0.7485 GB, free: 58.76 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006496/0.7536, allocations: 3.451 MB / 0.7519 GB, free: 55.31 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005457/0.759, allocations: 3.61 MB / 0.7554 GB, free: 51.67 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.5e-05/0.7591, allocations: 0 / 0.7554 GB, free: 51.67 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003314/0.7595, allocations: 0 / 0.7554 GB, free: 51.67 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.63e-05/0.7595, allocations: 84 kB / 0.7555 GB, free: 51.59 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02734/0.7869, allocations: 18.7 MB / 0.7737 GB, free: 31.84 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002819/0.7897, allocations: 2.267 MB / 0.776 GB, free: 29.55 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002489/0.7922, allocations: 2.124 MB / 0.778 GB, free: 27.42 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003602/0.7926, allocations: 78.91 kB / 0.7781 GB, free: 27.34 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.7926, allocations: 69.56 kB / 0.7782 GB, free: 27.26 MB / 490.7 MB Notification: Performance of pre-optimization done (n=382): time 4.829e-06/0.7926, allocations: 4 kB / 0.7782 GB, free: 27.26 MB / 490.7 MB Notification: Performance of matching and sorting (n=382): time 0.04739/0.84, allocations: 18.27 MB / 0.796 GB, free: 8.93 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.276e-05/0.8401, allocations: 175.5 kB / 0.7962 GB, free: 8.727 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002914/0.843, allocations: 2.472 MB / 0.7986 GB, free: 6.242 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003736/0.8434, allocations: 25.7 kB / 0.7986 GB, free: 6.211 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004381/0.8438, allocations: 1.182 MB / 0.7998 GB, free: 5.012 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00163/0.8455, allocations: 1.258 MB / 0.801 GB, free: 3.734 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002677/0.8457, allocations: 0 / 0.801 GB, free: 3.734 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.8459, allocations: 437.7 kB / 0.8014 GB, free: 3.301 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0025/0.8484, allocations: 1.777 MB / 0.8032 GB, free: 1.523 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002969/0.8513, allocations: 2.342 MB / 0.8054 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003177/0.8545, allocations: 1.965 MB / 0.8074 GB, free: 13 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.999e-06/0.8545, allocations: 4 kB / 0.8074 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of matching and sorting (n=463) (initialization): time 0.05297/0.9075, allocations: 18.44 MB / 0.8254 GB, free: 10.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.002109/0.9097, allocations: 6.616 MB / 0.8318 GB, free: 3.383 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.685e-05/0.9097, allocations: 16 kB / 0.8319 GB, free: 3.367 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02403/0.9337, allocations: 7.216 MB / 0.8389 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002738/0.9365, allocations: 0.5344 MB / 0.8394 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05399/0.9905, allocations: 23.44 MB / 0.8623 GB, free: 3.906 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005334/0.9958, allocations: 0.6645 MB / 0.863 GB, free: 3.238 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003869/0.9962, allocations: 136 kB / 0.8631 GB, free: 3.105 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 8.265e-06/0.9963, allocations: 4 kB / 0.8631 GB, free: 3.102 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05206/1.048, allocations: 17.95 MB / 0.8806 GB, free: 1.117 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.532e-05/1.048, allocations: 16 kB / 0.8806 GB, free: 1.102 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02382/1.072, allocations: 7.22 MB / 0.8877 GB, free: 9.867 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002769/1.075, allocations: 0.5304 MB / 0.8882 GB, free: 9.336 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1939/1.269, allocations: 23.42 MB / 0.9111 GB, free: 175.6 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005175/1.274, allocations: 0.6353 MB / 0.9117 GB, free: 175.5 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000467/1.275, allocations: 131.9 kB / 0.9118 GB, free: 175.5 MB / 0.573 GB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order6.delta:VARIABLE(start = order6.delta0 unit = "rad" ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (326): * Single equations (assignments): 322 * 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: 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 {92 45} Notification: Performance of prepare postOptimizeDAE: time 0.0008334/1.275, allocations: 198.2 kB / 0.912 GB, free: 175.4 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007878/1.276, allocations: 454.8 kB / 0.9124 GB, free: 175.2 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04793/1.324, allocations: 18.71 MB / 0.9307 GB, free: 174.9 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.499e-05/1.324, allocations: 39.78 kB / 0.9308 GB, free: 174.9 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.258e-05/1.324, allocations: 28.09 kB / 0.9308 GB, free: 174.9 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-05/1.324, allocations: 24.83 kB / 0.9308 GB, free: 174.9 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05556/1.38, allocations: 23.63 MB / 0.9539 GB, free: 173.8 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.601e-05/1.38, allocations: 5.906 kB / 0.9539 GB, free: 173.8 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002471/1.382, allocations: 411.6 kB / 0.9543 GB, free: 173.8 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02127/1.404, allocations: 7.196 MB / 0.9613 GB, free: 173.2 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005515/1.404, allocations: 19.02 kB / 0.9613 GB, free: 173.2 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04482/1.449, allocations: 20.08 MB / 0.9809 GB, free: 166.5 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/1.449, allocations: 0 / 0.9809 GB, free: 166.5 MB / 0.573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05246/1.502, allocations: 21.65 MB / 1.002 GB, free: 150.3 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001168/1.503, allocations: 0.5607 MB / 1.003 GB, free: 149.8 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007463/1.504, allocations: 4 kB / 1.003 GB, free: 149.8 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003967/1.508, allocations: 484.9 kB / 1.003 GB, free: 149.4 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001062/1.509, allocations: 446.8 kB / 1.004 GB, free: 149.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003209/1.509, allocations: 95.5 kB / 1.004 GB, free: 149.1 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.002054/1.511, allocations: 1.842 MB / 1.005 GB, free: 147.4 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.005045/1.516, allocations: 2.593 MB / 1.008 GB, free: 144.9 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (order3.delta,order3.w,order3.e1q,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,aVRTypeI.firstOrder.y,aVRTypeI.firstOrder2.y,aVRTypeI.transferFunction.x_scaled[1],aVRTypeI.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (252): * Single equations (assignments): 250 * Array equations: 0 * Algorithm blocks: 1 * 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 {(100,5.4%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004416/1.516, allocations: 158.2 kB / 1.008 GB, free: 144.8 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.03338/1.55, allocations: 14.18 MB / 1.022 GB, free: 132 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/1.55, allocations: 0 / 1.022 GB, free: 132 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01507/1.565, allocations: 5.826 MB / 1.028 GB, free: 126.9 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001935/1.567, allocations: 257.2 kB / 1.028 GB, free: 126.7 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01337/1.58, allocations: 6.418 MB / 1.034 GB, free: 120.9 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002384/1.583, allocations: 2.673 MB / 1.037 GB, free: 118.8 MB / 0.573 GB Notification: Performance of SimCode: time 1.092e-06/1.583, allocations: 0 / 1.037 GB, free: 118.8 MB / 0.573 GB Notification: Performance of Templates: time 0.1235/1.706, allocations: 114.7 MB / 1.149 GB, free: 17.86 MB / 0.573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe 2>&1)