Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.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_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII") [: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.002498/0.002498, allocations: 175.7 kB / 7.46 MB, free: 2.484 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.176/1.176, allocations: 221.4 MB / 229.3 MB, free: 3.066 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.0009335/0.0009335, allocations: 95.91 kB / 280.1 MB, free: 1.227 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3985/0.3985, allocations: 78.92 MB / 409.8 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.792e-06/6.822e-06, allocations: 4 kB / 485.4 MB, free: 3.633 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2373/0.2373, allocations: 69.5 MB / 0.5419 GB, free: 20.83 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1072/0.3446, allocations: 99.09 MB / 0.6386 GB, free: 4.93 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002068/0.3448, allocations: 75.95 kB / 0.6387 GB, free: 4.855 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.3251/0.6699, allocations: 61.92 MB / 0.6992 GB, free: 98.23 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001019/0.6701, allocations: 53.5 kB / 0.6992 GB, free: 98.22 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: 489 * Number of variables: 489 Notification: Performance of Generate backend data structure: time 0.01067/0.6807, allocations: 3.947 MB / 0.7031 GB, free: 96.92 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.6808, allocations: 12.81 kB / 0.7031 GB, free: 96.92 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01055/0.6913, allocations: 1.641 MB / 0.7047 GB, free: 96.71 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002979/0.6943, allocations: 1.503 MB / 0.7062 GB, free: 96.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005496/0.6949, allocations: 0.6204 MB / 0.7068 GB, free: 95.58 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004039/0.6953, allocations: 120 kB / 0.7069 GB, free: 95.57 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0043/0.6996, allocations: 2.09 MB / 0.7089 GB, free: 94.73 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003914/0.7035, allocations: 2.16 MB / 0.711 GB, free: 93.88 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.015e-05/0.7036, allocations: 0.6094 kB / 0.711 GB, free: 93.88 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002298/0.7038, allocations: 2.594 kB / 0.711 GB, free: 93.88 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.327e-05/0.7039, allocations: 45.19 kB / 0.7111 GB, free: 93.88 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0164/0.7203, allocations: 9.586 MB / 0.7204 GB, free: 86.64 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003252/0.7236, allocations: 1.971 MB / 0.7224 GB, free: 84.66 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001782/0.7254, allocations: 1.386 MB / 0.7237 GB, free: 83.28 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002643/0.7256, allocations: 39.36 kB / 0.7237 GB, free: 83.25 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/0.7257, allocations: 64.56 kB / 0.7238 GB, free: 83.18 MB / 490.7 MB Notification: Performance of pre-optimization done (n=230): time 3.707e-06/0.7257, allocations: 0 / 0.7238 GB, free: 83.18 MB / 490.7 MB Notification: Performance of matching and sorting (n=230): time 0.03698/0.7627, allocations: 12.75 MB / 0.7363 GB, free: 70.44 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/0.7627, allocations: 124.8 kB / 0.7364 GB, free: 70.29 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002045/0.7648, allocations: 1.527 MB / 0.7379 GB, free: 68.75 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004747/0.7653, allocations: 29.64 kB / 0.7379 GB, free: 68.71 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002683/0.7655, allocations: 0.6636 MB / 0.7385 GB, free: 68.04 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009547/0.7665, allocations: 0.7657 MB / 0.7393 GB, free: 67.26 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000192/0.7667, allocations: 0 / 0.7393 GB, free: 67.26 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.879e-05/0.7668, allocations: 390.2 kB / 0.7397 GB, free: 66.87 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001994/0.7688, allocations: 1.137 MB / 0.7408 GB, free: 65.73 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001884/0.7707, allocations: 1.424 MB / 0.7422 GB, free: 64.21 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001858/0.7726, allocations: 1.248 MB / 0.7434 GB, free: 62.96 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/0.7726, allocations: 4 kB / 0.7434 GB, free: 62.95 MB / 490.7 MB Notification: Performance of matching and sorting (n=280) (initialization): time 0.03796/0.8105, allocations: 12.92 MB / 0.756 GB, free: 50.04 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003752/0.811, allocations: 2.729 MB / 0.7587 GB, free: 47.09 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.605e-05/0.811, allocations: 8 kB / 0.7587 GB, free: 47.09 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01727/0.8283, allocations: 5.281 MB / 0.7638 GB, free: 41.86 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001781/0.8301, allocations: 311.5 kB / 0.7641 GB, free: 41.55 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03796/0.868, allocations: 16.85 MB / 0.7806 GB, free: 24.46 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0036/0.8717, allocations: 481.8 kB / 0.781 GB, free: 23.99 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003151/0.872, allocations: 79.97 kB / 0.7811 GB, free: 23.91 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.136e-06/0.872, allocations: 4 kB / 0.7811 GB, free: 23.91 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03728/0.9093, allocations: 12.6 MB / 0.7934 GB, free: 11.32 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-05/0.9094, allocations: 9.328 kB / 0.7934 GB, free: 11.32 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01738/0.9268, allocations: 5.274 MB / 0.7986 GB, free: 6.039 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00171/0.9285, allocations: 307.4 kB / 0.7989 GB, free: 5.738 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04249/0.971, allocations: 16.84 MB / 0.8153 GB, free: 4.652 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003776/0.9748, allocations: 462 kB / 0.8158 GB, free: 4.199 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003232/0.9752, allocations: 75.98 kB / 0.8158 GB, free: 4.125 MB / 0.4948 GB Warning: Assuming fixed start value for the following 6 variables: Exc2.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Exc1.vref:VARIABLE(unit = "1" fixed = false protected = true ) 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 order3_2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.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 (189): * 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): 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 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.0006205/0.9758, allocations: 153.5 kB / 0.816 GB, free: 3.969 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005819/0.9764, allocations: 276.6 kB / 0.8163 GB, free: 3.695 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04082/1.017, allocations: 12.99 MB / 0.8289 GB, free: 6.711 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.25e-05/1.017, allocations: 24 kB / 0.829 GB, free: 6.688 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.326e-05/1.017, allocations: 19.94 kB / 0.829 GB, free: 6.668 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.639e-05/1.017, allocations: 19.86 kB / 0.829 GB, free: 6.648 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04595/1.063, allocations: 16.21 MB / 0.8448 GB, free: 6.406 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.391e-05/1.063, allocations: 0 / 0.8448 GB, free: 6.406 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001872/1.065, allocations: 255.8 kB / 0.8451 GB, free: 6.156 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01575/1.081, allocations: 4.987 MB / 0.8499 GB, free: 1.164 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004777/1.082, allocations: 12 kB / 0.85 GB, free: 1.152 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03427/1.116, allocations: 13.71 MB / 0.8633 GB, free: 3.309 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/1.116, allocations: 4 kB / 0.8634 GB, free: 3.305 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04241/1.158, allocations: 14.97 MB / 0.878 GB, free: 4.301 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008782/1.159, allocations: 377.1 kB / 0.8783 GB, free: 3.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006121/1.16, allocations: 8 kB / 0.8783 GB, free: 3.902 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002935/1.163, allocations: 363.7 kB / 0.8787 GB, free: 3.547 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008735/1.164, allocations: 321.3 kB / 0.879 GB, free: 3.234 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002399/1.164, allocations: 56 kB / 0.879 GB, free: 3.18 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.001629/1.166, allocations: 1.15 MB / 0.8802 GB, free: 2.02 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003726/1.169, allocations: 1.552 MB / 0.8817 GB, free: 476 kB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 17 (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.vm,Exc1.vr,Exc1.vf1,Exc2.vm,Exc2.vr,Exc2.vf1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 148 * 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: 1 {(64,8.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000414/1.17, allocations: 158.1 kB / 0.8818 GB, free: 312 kB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02692/1.197, allocations: 9.426 MB / 0.891 GB, free: 6.832 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.245e-06/1.197, allocations: 0 / 0.891 GB, free: 6.832 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01198/1.209, allocations: 3.836 MB / 0.8948 GB, free: 2.98 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001442/1.21, allocations: 156.2 kB / 0.8949 GB, free: 2.824 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1559/1.366, allocations: 4.28 MB / 0.8991 GB, free: 213.7 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001355/1.367, allocations: 1.839 MB / 0.9009 GB, free: 212.9 MB / 0.573 GB Notification: Performance of SimCode: time 6.51e-07/1.367, allocations: 3.531 kB / 0.9009 GB, free: 212.9 MB / 0.573 GB Notification: Performance of Templates: time 0.09899/1.466, allocations: 74.85 MB / 0.974 GB, free: 194.4 MB / 0.573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe 2>&1)