Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_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.001687/0.001687, allocations: 184.4 kB / 7.463 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.026/1.026, 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.0008185/0.0008185, allocations: 98.11 kB / 280.1 MB, free: 1.324 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3603/0.3603, allocations: 78.11 MB / 409 MB, free: 15.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.871e-06/5.891e-06, allocations: 4 kB / 484.4 MB, free: 4.562 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2257/0.2257, allocations: 69.34 MB / 0.5408 GB, free: 21.4 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09837/0.3241, allocations: 98.49 MB / 0.6369 GB, free: 6.418 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002059/0.3244, allocations: 79.97 kB / 0.637 GB, free: 6.34 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.3155/0.6399, allocations: 61.08 MB / 0.6967 GB, free: 97.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001667/0.6401, allocations: 53.36 kB / 0.6967 GB, free: 97.5 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.01059/0.6507, allocations: 3.948 MB / 0.7006 GB, free: 96.2 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.028e-05/0.6508, allocations: 11.05 kB / 0.7006 GB, free: 96.2 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009267/0.66, allocations: 1.649 MB / 0.7022 GB, free: 95.99 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002804/0.6629, allocations: 1.496 MB / 0.7036 GB, free: 95.48 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006708/0.6636, allocations: 0.6191 MB / 0.7042 GB, free: 94.96 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006647/0.6642, allocations: 120.2 kB / 0.7044 GB, free: 94.96 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004617/0.6689, allocations: 2.094 MB / 0.7064 GB, free: 94.67 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004712/0.6736, allocations: 2.162 MB / 0.7085 GB, free: 93.82 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.027e-05/0.6736, allocations: 0.6562 kB / 0.7085 GB, free: 93.82 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002759/0.6739, allocations: 0 / 0.7085 GB, free: 93.82 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.944e-05/0.674, allocations: 49.34 kB / 0.7086 GB, free: 93.82 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01743/0.6914, allocations: 9.582 MB / 0.7179 GB, free: 87.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00355/0.695, allocations: 1.965 MB / 0.7198 GB, free: 86.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001896/0.6969, allocations: 1.382 MB / 0.7212 GB, free: 86 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002637/0.6972, allocations: 46.27 kB / 0.7212 GB, free: 85.96 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.6972, allocations: 64.48 kB / 0.7213 GB, free: 85.89 MB / 490.7 MB Notification: Performance of pre-optimization done (n=230): time 3.487e-06/0.6972, allocations: 0 / 0.7213 GB, free: 85.89 MB / 490.7 MB Notification: Performance of matching and sorting (n=230): time 0.03443/0.7317, allocations: 12.75 MB / 0.7337 GB, free: 73.15 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/0.7317, allocations: 124.8 kB / 0.7339 GB, free: 73 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002413/0.7342, allocations: 1.527 MB / 0.7354 GB, free: 71.46 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005122/0.7347, allocations: 25.7 kB / 0.7354 GB, free: 71.43 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003161/0.735, allocations: 0.6635 MB / 0.736 GB, free: 70.75 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00119/0.7362, allocations: 0.7657 MB / 0.7368 GB, free: 69.98 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002924/0.7365, allocations: 0 / 0.7368 GB, free: 69.98 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.7366, allocations: 398.2 kB / 0.7372 GB, free: 69.58 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001808/0.7385, allocations: 1.129 MB / 0.7383 GB, free: 68.45 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001919/0.7404, allocations: 1.424 MB / 0.7396 GB, free: 66.93 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001921/0.7423, allocations: 1.244 MB / 0.7409 GB, free: 65.68 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.316e-06/0.7423, allocations: 4 kB / 0.7409 GB, free: 65.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=280) (initialization): time 0.03532/0.7777, allocations: 12.92 MB / 0.7535 GB, free: 52.77 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003699/0.778, allocations: 2.729 MB / 0.7562 GB, free: 49.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/0.7781, allocations: 15.98 kB / 0.7562 GB, free: 49.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0157/0.7938, allocations: 5.272 MB / 0.7613 GB, free: 44.59 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00144/0.7952, allocations: 323.1 kB / 0.7616 GB, free: 44.28 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03579/0.831, allocations: 16.84 MB / 0.7781 GB, free: 27.23 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003302/0.8343, allocations: 481.8 kB / 0.7785 GB, free: 26.76 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003593/0.8347, allocations: 79.98 kB / 0.7786 GB, free: 26.68 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.8347, allocations: 8 kB / 0.7786 GB, free: 26.68 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03483/0.8696, allocations: 12.61 MB / 0.7909 GB, free: 14.09 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.387e-05/0.8696, allocations: 13.78 kB / 0.7909 GB, free: 14.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01546/0.8851, allocations: 5.274 MB / 0.7961 GB, free: 8.793 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001407/0.8865, allocations: 307.4 kB / 0.7964 GB, free: 8.492 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03707/0.9236, allocations: 16.83 MB / 0.8128 GB, free: 7.406 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003389/0.927, allocations: 462 kB / 0.8133 GB, free: 6.953 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003956/0.9274, allocations: 83.97 kB / 0.8133 GB, free: 6.871 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.0006686/0.9281, allocations: 137.8 kB / 0.8135 GB, free: 6.73 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007495/0.9288, allocations: 272.6 kB / 0.8137 GB, free: 6.461 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03656/0.9654, allocations: 13 MB / 0.8264 GB, free: 9.473 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.528e-05/0.9655, allocations: 24 kB / 0.8265 GB, free: 9.449 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.55e-05/0.9655, allocations: 16 kB / 0.8265 GB, free: 9.434 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.248e-05/0.9655, allocations: 15.86 kB / 0.8265 GB, free: 9.418 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04228/1.008, allocations: 16.21 MB / 0.8423 GB, free: 9.168 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.957e-05/1.008, allocations: 3.984 kB / 0.8423 GB, free: 9.164 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00177/1.01, allocations: 247.7 kB / 0.8426 GB, free: 8.922 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01518/1.025, allocations: 4.994 MB / 0.8474 GB, free: 3.926 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005955/1.025, allocations: 15.98 kB / 0.8475 GB, free: 3.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03329/1.059, allocations: 13.71 MB / 0.8608 GB, free: 6.082 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/1.059, allocations: 0 / 0.8608 GB, free: 6.082 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04085/1.1, allocations: 14.98 MB / 0.8755 GB, free: 7.07 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008795/1.101, allocations: 377.1 kB / 0.8758 GB, free: 6.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007879/1.101, allocations: 4 kB / 0.8758 GB, free: 6.676 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003187/1.105, allocations: 363.7 kB / 0.8762 GB, free: 6.32 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009496/1.106, allocations: 321.3 kB / 0.8765 GB, free: 6.008 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003634/1.106, allocations: 67.97 kB / 0.8765 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.002484/1.108, allocations: 1.154 MB / 0.8777 GB, free: 4.777 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004954/1.113, allocations: 1.548 MB / 0.8792 GB, free: 3.227 MB / 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.0004432/1.114, allocations: 150.7 kB / 0.8793 GB, free: 3.066 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.167/1.281, allocations: 9.424 MB / 0.8885 GB, free: 200.7 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/1.281, allocations: 0 / 0.8885 GB, free: 200.7 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01002/1.291, allocations: 3.842 MB / 0.8923 GB, free: 200.5 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001247/1.292, allocations: 150.4 kB / 0.8924 GB, free: 200.4 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009142/1.301, allocations: 4.27 MB / 0.8966 GB, free: 199.3 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0013/1.303, allocations: 1.844 MB / 0.8984 GB, free: 198.5 MB / 0.5573 GB Notification: Performance of SimCode: time 5.51e-07/1.303, allocations: 2.969 kB / 0.8984 GB, free: 198.5 MB / 0.5573 GB Notification: Performance of Templates: time 0.08291/1.386, allocations: 74.85 MB / 0.9715 GB, free: 168.6 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe 2>&1)