Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_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.FifthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_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.001759/0.001759, allocations: 183 kB / 7.461 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: 3.016 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.0008279/0.0008279, allocations: 101.9 kB / 280.1 MB, free: 1.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3469/0.3469, allocations: 78.09 MB / 409 MB, free: 15.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.492e-06/6.573e-06, allocations: 4 kB / 484.4 MB, free: 4.562 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.211/0.211, allocations: 69.35 MB / 0.5408 GB, free: 21.44 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09435/0.3054, allocations: 98.27 MB / 0.6367 GB, free: 6.684 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001824/0.3056, allocations: 75.95 kB / 0.6368 GB, free: 6.609 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.2905/0.5962, allocations: 60.65 MB / 0.696 GB, free: 97.51 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001071/0.5963, allocations: 46.03 kB / 0.6961 GB, free: 97.51 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: 488 * Number of variables: 488 Notification: Performance of Generate backend data structure: time 0.009795/0.6061, allocations: 3.934 MB / 0.6999 GB, free: 96.21 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.852e-05/0.6061, allocations: 8.531 kB / 0.6999 GB, free: 96.21 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008929/0.6151, allocations: 1.64 MB / 0.7015 GB, free: 96 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002123/0.6172, allocations: 1.496 MB / 0.703 GB, free: 95.5 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004184/0.6176, allocations: 0.6161 MB / 0.7036 GB, free: 94.99 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003065/0.6179, allocations: 113.2 kB / 0.7037 GB, free: 94.99 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003952/0.6219, allocations: 2.096 MB / 0.7057 GB, free: 94.86 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003617/0.6255, allocations: 2.155 MB / 0.7078 GB, free: 94.01 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.469e-05/0.6256, allocations: 0 / 0.7078 GB, free: 94.01 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002178/0.6258, allocations: 0.9688 kB / 0.7078 GB, free: 94.01 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.206e-05/0.6258, allocations: 45.97 kB / 0.7079 GB, free: 94.01 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01472/0.6406, allocations: 9.532 MB / 0.7172 GB, free: 88.14 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003173/0.6437, allocations: 1.941 MB / 0.7191 GB, free: 87.25 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001764/0.6455, allocations: 1.372 MB / 0.7204 GB, free: 86.56 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002468/0.6458, allocations: 56.55 kB / 0.7205 GB, free: 86.54 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.6458, allocations: 60.59 kB / 0.7205 GB, free: 86.48 MB / 490.7 MB Notification: Performance of pre-optimization done (n=229): time 3.527e-06/0.6458, allocations: 4 kB / 0.7205 GB, free: 86.48 MB / 490.7 MB Notification: Performance of matching and sorting (n=229): time 0.03387/0.6797, allocations: 12.73 MB / 0.733 GB, free: 73.94 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/0.6797, allocations: 128.8 kB / 0.7331 GB, free: 73.79 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001467/0.6812, allocations: 1.511 MB / 0.7346 GB, free: 72.26 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001677/0.6814, allocations: 25.7 kB / 0.7346 GB, free: 72.23 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002284/0.6816, allocations: 0.6672 MB / 0.7353 GB, free: 71.55 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006988/0.6823, allocations: 0.758 MB / 0.736 GB, free: 70.78 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001704/0.6825, allocations: 4 kB / 0.736 GB, free: 70.77 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.999e-05/0.6826, allocations: 386.3 kB / 0.7364 GB, free: 70.39 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001594/0.6842, allocations: 1.125 MB / 0.7375 GB, free: 69.26 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001694/0.6859, allocations: 1.416 MB / 0.7388 GB, free: 67.75 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001685/0.6876, allocations: 1.242 MB / 0.7401 GB, free: 66.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.6876, allocations: 4 kB / 0.7401 GB, free: 66.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=278) (initialization): time 0.03416/0.7218, allocations: 12.84 MB / 0.7526 GB, free: 53.68 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003201/0.7221, allocations: 2.733 MB / 0.7553 GB, free: 50.72 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.7221, allocations: 4 kB / 0.7553 GB, free: 50.71 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01495/0.7371, allocations: 5.183 MB / 0.7603 GB, free: 45.59 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001577/0.7386, allocations: 339.5 kB / 0.7607 GB, free: 45.26 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0332/0.7719, allocations: 15.49 MB / 0.7758 GB, free: 29.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003153/0.775, allocations: 477.9 kB / 0.7762 GB, free: 29.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002314/0.7753, allocations: 83.89 kB / 0.7763 GB, free: 29.14 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.342e-06/0.7753, allocations: 4 kB / 0.7763 GB, free: 29.14 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03347/0.8087, allocations: 12.55 MB / 0.7886 GB, free: 16.62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/0.8088, allocations: 7.125 kB / 0.7886 GB, free: 16.61 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01497/0.8238, allocations: 5.191 MB / 0.7937 GB, free: 11.42 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001751/0.8255, allocations: 319.5 kB / 0.794 GB, free: 11.11 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03421/0.8598, allocations: 15.5 MB / 0.8091 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00324/0.863, allocations: 454 kB / 0.8095 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002469/0.8633, allocations: 75.98 kB / 0.8096 GB, free: 10.96 MB / 0.4948 GB Warning: Assuming fixed start value for the following 7 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.e2q:VARIABLE(start = Syn2.e2q0 unit = "1" ) "q-axis sub-transient voltage" type: Real Syn2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" 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 (188): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.0005477/0.8638, allocations: 155.6 kB / 0.8098 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004804/0.8643, allocations: 264.7 kB / 0.81 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03606/0.9004, allocations: 12.99 MB / 0.8227 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.827e-05/0.9004, allocations: 24 kB / 0.8227 GB, free: 13.53 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.64e-05/0.9004, allocations: 19.98 kB / 0.8227 GB, free: 13.51 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.153e-05/0.9005, allocations: 7.969 kB / 0.8227 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04049/0.941, allocations: 16.19 MB / 0.8385 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.941, allocations: 0 / 0.8385 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0014/0.9424, allocations: 246 kB / 0.8388 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01447/0.9569, allocations: 4.995 MB / 0.8437 GB, free: 8.043 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002091/0.9571, allocations: 12 kB / 0.8437 GB, free: 8.031 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0316/0.9887, allocations: 13.72 MB / 0.8571 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.9887, allocations: 0 / 0.8571 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03838/1.027, allocations: 14.94 MB / 0.8717 GB, free: 11.21 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005474/1.028, allocations: 385.1 kB / 0.872 GB, free: 10.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004498/1.028, allocations: 0 / 0.872 GB, free: 10.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002651/1.031, allocations: 368.5 kB / 0.8724 GB, free: 10.46 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000789/1.032, allocations: 313.3 kB / 0.8727 GB, free: 10.15 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002145/1.032, allocations: 56 kB / 0.8727 GB, free: 10.1 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.001348/1.033, allocations: 1.142 MB / 0.8738 GB, free: 8.945 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003201/1.036, allocations: 1.54 MB / 0.8754 GB, free: 7.402 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,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 (148): * Single equations (assignments): 147 * 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.0003352/1.037, allocations: 142.5 kB / 0.8755 GB, free: 7.258 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.1506/1.187, allocations: 9.154 MB / 0.8844 GB, free: 200.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/1.187, allocations: 3.156 kB / 0.8844 GB, free: 200.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.009912/1.197, allocations: 3.83 MB / 0.8882 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.001231/1.199, allocations: 156.6 kB / 0.8883 GB, free: 200.6 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008985/1.208, allocations: 4.19 MB / 0.8924 GB, free: 199.6 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001308/1.209, allocations: 1.833 MB / 0.8942 GB, free: 198.8 MB / 0.5573 GB Notification: Performance of SimCode: time 7.61e-07/1.209, allocations: 0.5938 kB / 0.8942 GB, free: 198.8 MB / 0.5573 GB Notification: Performance of Templates: time 0.08125/1.29, allocations: 74.04 MB / 0.9665 GB, free: 173.3 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe 2>&1)