Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_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.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.TwoArea.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_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.002012/0.002012, allocations: 186.3 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.188/1.188, allocations: 221.4 MB / 229.3 MB, free: 3.227 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.0009954/0.0009952, allocations: 84.89 kB / 280.1 MB, free: 1.328 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4011/0.4011, allocations: 78.05 MB / 408.9 MB, free: 15.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.571e-06/5.691e-06, allocations: 0 / 484.3 MB, free: 4.418 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2324/0.2325, allocations: 69.35 MB / 0.5407 GB, free: 21.41 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1103/0.3428, allocations: 100.3 MB / 0.6386 GB, free: 4.465 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002343/0.3431, allocations: 75.95 kB / 0.6387 GB, free: 4.391 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.4264/0.7695, allocations: 97.13 MB / 0.7335 GB, free: 74.01 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002721/0.7698, allocations: 91.94 kB / 0.7336 GB, free: 73.92 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: 889 * Number of variables: 889 Notification: Performance of Generate backend data structure: time 0.0229/0.7927, allocations: 5.945 MB / 0.7394 GB, free: 67.9 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.7928, allocations: 12.03 kB / 0.7394 GB, free: 67.89 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03633/0.8291, allocations: 2.92 MB / 0.7423 GB, free: 64.96 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007953/0.8371, allocations: 2.275 MB / 0.7445 GB, free: 62.61 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001161/0.8383, allocations: 0.8541 MB / 0.7454 GB, free: 61.62 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001342/0.8397, allocations: 207.8 kB / 0.7456 GB, free: 61.42 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0129/0.8526, allocations: 3.431 MB / 0.7489 GB, free: 57.98 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01194/0.8646, allocations: 3.583 MB / 0.7524 GB, free: 54.37 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000117/0.8648, allocations: 0 / 0.7524 GB, free: 54.37 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006501/0.8654, allocations: 0 / 0.7524 GB, free: 54.37 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.398e-05/0.8655, allocations: 84 kB / 0.7525 GB, free: 54.29 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05125/0.9168, allocations: 18.58 MB / 0.7706 GB, free: 34.68 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004727/0.9216, allocations: 2.239 MB / 0.7728 GB, free: 32.43 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003619/0.9252, allocations: 2.109 MB / 0.7749 GB, free: 30.31 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006405/0.9259, allocations: 66.89 kB / 0.7749 GB, free: 30.24 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.515e-05/0.9259, allocations: 81.45 kB / 0.775 GB, free: 30.15 MB / 490.7 MB Notification: Performance of pre-optimization done (n=379): time 6.853e-06/0.926, allocations: 4 kB / 0.775 GB, free: 30.15 MB / 490.7 MB Notification: Performance of matching and sorting (n=379): time 0.05809/0.9841, allocations: 18.23 MB / 0.7928 GB, free: 11.87 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.841e-05/0.9842, allocations: 171.5 kB / 0.793 GB, free: 11.67 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004234/0.9884, allocations: 2.436 MB / 0.7954 GB, free: 9.215 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00085/0.9893, allocations: 29.64 kB / 0.7954 GB, free: 9.18 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006045/0.9899, allocations: 1.178 MB / 0.7965 GB, free: 7.984 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002529/0.9924, allocations: 1.247 MB / 0.7978 GB, free: 6.719 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005805/0.993, allocations: 0 / 0.7978 GB, free: 6.719 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001944/0.9932, allocations: 437.6 kB / 0.7982 GB, free: 6.285 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003111/0.9963, allocations: 1.749 MB / 0.7999 GB, free: 4.535 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003413/0.9998, allocations: 2.314 MB / 0.8021 GB, free: 2.02 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00335/1.003, allocations: 1.956 MB / 0.804 GB, free: 52 kB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.389e-05/1.003, allocations: 7.938 kB / 0.8041 GB, free: 44 kB / 490.7 MB Notification: Performance of matching and sorting (n=457) (initialization): time 0.06193/1.065, allocations: 18.32 MB / 0.822 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.00228/1.067, allocations: 6.602 MB / 0.8284 GB, free: 6.547 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.603e-05/1.067, allocations: 20 kB / 0.8284 GB, free: 6.527 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02699/1.094, allocations: 7.133 MB / 0.8354 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003322/1.098, allocations: 0.5383 MB / 0.8359 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06305/1.161, allocations: 22.09 MB / 0.8575 GB, free: 8.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006098/1.167, allocations: 0.6645 MB / 0.8581 GB, free: 7.922 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006109/1.168, allocations: 136 kB / 0.8583 GB, free: 7.789 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 9.137e-06/1.168, allocations: 4 kB / 0.8583 GB, free: 7.785 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05931/1.227, allocations: 17.85 MB / 0.8757 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.467e-05/1.227, allocations: 12 kB / 0.8757 GB, free: 5.891 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02726/1.254, allocations: 7.133 MB / 0.8827 GB, free: 14.75 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003111/1.257, allocations: 0.5343 MB / 0.8832 GB, free: 14.21 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2262/1.484, allocations: 22.08 MB / 0.9048 GB, free: 175.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005879/1.49, allocations: 0.6279 MB / 0.9054 GB, free: 175.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000688/1.49, allocations: 130.7 kB / 0.9055 GB, free: 175.2 MB / 0.573 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3_1.delta:VARIABLE(start = order3_1.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 (321): * Single equations (assignments): 318 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {92 45} Notification: Performance of prepare postOptimizeDAE: time 0.0009389/1.491, allocations: 203 kB / 0.9057 GB, free: 175 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0011/1.492, allocations: 458.5 kB / 0.9061 GB, free: 174.9 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05573/1.548, allocations: 18.65 MB / 0.9243 GB, free: 174.6 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.221e-05/1.548, allocations: 37.88 kB / 0.9244 GB, free: 174.6 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.194e-05/1.548, allocations: 30.41 kB / 0.9244 GB, free: 174.6 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.24e-05/1.548, allocations: 26.05 kB / 0.9244 GB, free: 174.6 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06303/1.611, allocations: 23.55 MB / 0.9474 GB, free: 173.8 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-05/1.611, allocations: 1.469 kB / 0.9474 GB, free: 173.8 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00289/1.614, allocations: 407.8 kB / 0.9478 GB, free: 173.8 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02568/1.64, allocations: 7.169 MB / 0.9548 GB, free: 173.5 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008302/1.641, allocations: 18.56 kB / 0.9548 GB, free: 173.5 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05266/1.694, allocations: 20.16 MB / 0.9745 GB, free: 168.2 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/1.694, allocations: 0 / 0.9745 GB, free: 168.2 MB / 0.573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.06161/1.755, allocations: 21.57 MB / 0.9956 GB, free: 155.4 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001364/1.757, allocations: 0.5545 MB / 0.9961 GB, free: 154.9 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001392/1.758, allocations: 8 kB / 0.9961 GB, free: 154.9 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005073/1.763, allocations: 475.6 kB / 0.9966 GB, free: 154.5 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001436/1.765, allocations: 450.2 kB / 0.997 GB, free: 154.3 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003795/1.765, allocations: 95.66 kB / 0.9971 GB, free: 154.2 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.002419/1.767, allocations: 1.803 MB / 0.9989 GB, free: 152.6 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.006786/1.774, allocations: 2.566 MB / 1.001 GB, free: 150.1 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order3.delta,order3.w,order3.e1q,order3_1.delta,order3_1.w,order3_1.e1q,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 (249): * Single equations (assignments): 247 * 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 {(98,5.5%) 38} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006154/1.775, allocations: 163.7 kB / 1.002 GB, free: 150 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.03936/1.814, allocations: 13.84 MB / 1.015 GB, free: 137.6 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/1.814, allocations: 1.562 kB / 1.015 GB, free: 137.6 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0182/1.833, allocations: 5.784 MB / 1.021 GB, free: 132.5 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002931/1.835, allocations: 250.2 kB / 1.021 GB, free: 132.2 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01992/1.855, allocations: 6.138 MB / 1.027 GB, free: 126.6 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003262/1.859, allocations: 2.654 MB / 1.03 GB, free: 124.6 MB / 0.573 GB Notification: Performance of SimCode: time 7.51e-07/1.859, allocations: 0 / 1.03 GB, free: 124.6 MB / 0.573 GB Notification: Performance of Templates: time 0.1523/2.011, allocations: 113.2 MB / 1.14 GB, free: 26.38 MB / 0.573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe 2>&1)