Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.SixthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.003545/0.003545, allocations: 183.1 kB / 7.455 MB, free: 2.512 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.043 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.001048/0.001048, allocations: 104 kB / 280.1 MB, free: 1.234 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4027/0.4027, allocations: 78.06 MB / 408.9 MB, free: 15.52 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.025e-06/8.175e-06, allocations: 4 kB / 484.3 MB, free: 4.414 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2435/0.2436, allocations: 69.35 MB / 0.5407 GB, free: 21.56 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1088/0.3523, allocations: 98.5 MB / 0.6369 GB, free: 6.281 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001967/0.3526, allocations: 79.95 kB / 0.637 GB, free: 6.203 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.3464/0.699, allocations: 61.07 MB / 0.6966 GB, free: 97.81 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001782/0.6992, allocations: 54 kB / 0.6967 GB, free: 97.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: 489 * Number of variables: 489 Notification: Performance of Generate backend data structure: time 0.01241/0.7116, allocations: 3.949 MB / 0.7005 GB, free: 96.51 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.7117, allocations: 9.156 kB / 0.7005 GB, free: 96.51 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01082/0.7225, allocations: 1.649 MB / 0.7021 GB, free: 96.29 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00358/0.7261, allocations: 1.502 MB / 0.7036 GB, free: 95.78 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000772/0.7269, allocations: 0.6181 MB / 0.7042 GB, free: 95.27 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008738/0.7278, allocations: 120.2 kB / 0.7043 GB, free: 95.26 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00523/0.733, allocations: 2.095 MB / 0.7064 GB, free: 94.96 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005506/0.7386, allocations: 2.16 MB / 0.7085 GB, free: 94.11 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.001e-05/0.7386, allocations: 0.8125 kB / 0.7085 GB, free: 94.11 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000341/0.739, allocations: 0 / 0.7085 GB, free: 94.11 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-05/0.739, allocations: 46.06 kB / 0.7085 GB, free: 94.11 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02123/0.7603, allocations: 9.587 MB / 0.7179 GB, free: 87.87 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004216/0.7645, allocations: 1.972 MB / 0.7198 GB, free: 86.96 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002158/0.7667, allocations: 1.383 MB / 0.7212 GB, free: 85.78 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003277/0.7671, allocations: 37.72 kB / 0.7212 GB, free: 85.75 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.7671, allocations: 56.56 kB / 0.7213 GB, free: 85.68 MB / 490.7 MB Notification: Performance of pre-optimization done (n=230): time 4.328e-06/0.7671, allocations: 0 / 0.7213 GB, free: 85.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=230): time 0.03942/0.8066, allocations: 12.75 MB / 0.7337 GB, free: 72.94 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/0.8066, allocations: 128.8 kB / 0.7338 GB, free: 72.79 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002539/0.8092, allocations: 1.527 MB / 0.7353 GB, free: 71.25 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005061/0.8097, allocations: 29.7 kB / 0.7354 GB, free: 71.21 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003585/0.8101, allocations: 0.6596 MB / 0.736 GB, free: 70.54 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001326/0.8114, allocations: 0.7657 MB / 0.7367 GB, free: 69.76 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002855/0.8117, allocations: 0 / 0.7367 GB, free: 69.76 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.8118, allocations: 394.2 kB / 0.7371 GB, free: 69.37 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001939/0.8138, allocations: 1.137 MB / 0.7382 GB, free: 68.23 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002044/0.8158, allocations: 1.42 MB / 0.7396 GB, free: 66.71 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002038/0.8179, allocations: 1.248 MB / 0.7408 GB, free: 65.46 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/0.8179, allocations: 0 / 0.7408 GB, free: 65.46 MB / 490.7 MB Notification: Performance of matching and sorting (n=280) (initialization): time 0.03984/0.8577, allocations: 12.92 MB / 0.7535 GB, free: 52.55 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004242/0.8582, allocations: 2.719 MB / 0.7561 GB, free: 49.61 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.807e-05/0.8582, allocations: 12 kB / 0.7561 GB, free: 49.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01824/0.8765, allocations: 5.285 MB / 0.7613 GB, free: 44.37 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001837/0.8783, allocations: 323.4 kB / 0.7616 GB, free: 44.05 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03994/0.9183, allocations: 16.84 MB / 0.778 GB, free: 27.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003744/0.9221, allocations: 489.7 kB / 0.7785 GB, free: 26.54 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002761/0.9223, allocations: 75.98 kB / 0.7786 GB, free: 26.46 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.793e-06/0.9224, allocations: 8 kB / 0.7786 GB, free: 26.46 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03947/0.9618, allocations: 12.6 MB / 0.7909 GB, free: 13.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.334e-05/0.9619, allocations: 9.25 kB / 0.7909 GB, free: 13.87 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01771/0.9796, allocations: 5.277 MB / 0.7961 GB, free: 8.586 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00169/0.9813, allocations: 311.4 kB / 0.7963 GB, free: 8.281 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04149/1.023, allocations: 16.84 MB / 0.8128 GB, free: 7.199 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003814/1.027, allocations: 454 kB / 0.8132 GB, free: 6.754 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003248/1.027, allocations: 79.97 kB / 0.8133 GB, free: 6.676 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.0006322/1.028, allocations: 149.8 kB / 0.8134 GB, free: 6.523 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006004/1.028, allocations: 272.6 kB / 0.8137 GB, free: 6.254 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04239/1.071, allocations: 13 MB / 0.8264 GB, free: 9.266 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.074e-05/1.071, allocations: 20 kB / 0.8264 GB, free: 9.246 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.073e-05/1.071, allocations: 20 kB / 0.8264 GB, free: 9.227 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.335e-05/1.071, allocations: 15.86 kB / 0.8265 GB, free: 9.211 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04848/1.119, allocations: 16.22 MB / 0.8423 GB, free: 8.961 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.905e-05/1.119, allocations: 0 / 0.8423 GB, free: 8.961 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001907/1.121, allocations: 255.7 kB / 0.8425 GB, free: 8.711 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01703/1.138, allocations: 4.991 MB / 0.8474 GB, free: 3.715 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004041/1.139, allocations: 11.98 kB / 0.8474 GB, free: 3.703 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03735/1.176, allocations: 13.7 MB / 0.8608 GB, free: 5.867 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/1.176, allocations: 0 / 0.8608 GB, free: 5.867 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04609/1.222, allocations: 14.97 MB / 0.8754 GB, free: 6.867 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009082/1.223, allocations: 385.1 kB / 0.8758 GB, free: 6.469 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006023/1.224, allocations: 8 kB / 0.8758 GB, free: 6.461 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003303/1.227, allocations: 359.7 kB / 0.8761 GB, free: 6.109 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009436/1.228, allocations: 317.3 kB / 0.8764 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002581/1.228, allocations: 59.98 kB / 0.8765 GB, free: 5.742 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.001813/1.23, allocations: 1.154 MB / 0.8776 GB, free: 4.578 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004159/1.234, allocations: 1.556 MB / 0.8791 GB, free: 3.02 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.0004298/1.235, allocations: 150.1 kB / 0.8793 GB, free: 2.863 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.1685/1.403, allocations: 9.425 MB / 0.8885 GB, free: 200.9 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/1.403, allocations: 3.469 kB / 0.8885 GB, free: 200.9 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01135/1.415, allocations: 3.836 MB / 0.8922 GB, free: 200.6 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001427/1.416, allocations: 161.5 kB / 0.8924 GB, free: 200.6 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01069/1.427, allocations: 4.275 MB / 0.8966 GB, free: 199.4 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001477/1.428, allocations: 1.838 MB / 0.8984 GB, free: 198.7 MB / 0.5573 GB Notification: Performance of SimCode: time 7.82e-07/1.428, allocations: 4 kB / 0.8984 GB, free: 198.7 MB / 0.5573 GB Notification: Performance of Templates: time 0.09552/1.524, allocations: 74.85 MB / 0.9715 GB, free: 168.4 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe 2>&1)