Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.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.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") [: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.003333/0.003333, allocations: 178.3 kB / 7.454 MB, free: 2.504 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.237/1.237, 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.0009639/0.0009639, allocations: 86.72 kB / 280.1 MB, free: 1.316 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4981/0.4981, allocations: 78.05 MB / 408.9 MB, free: 15.5 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.813e-06/6.853e-06, allocations: 4 kB / 484.3 MB, free: 4.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.2429, allocations: 69.34 MB / 0.5407 GB, free: 21.45 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.109/0.3519, allocations: 98.07 MB / 0.6365 GB, free: 6.75 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002001/0.3522, allocations: 71.97 kB / 0.6365 GB, free: 6.68 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.1046/0.4568, allocations: 35.68 MB / 0.6714 GB, free: 2.75 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.369e-05/0.4569, allocations: 24 kB / 0.6714 GB, free: 2.727 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.004474/0.4614, allocations: 1.754 MB / 0.6731 GB, free: 0.9141 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.4614, allocations: 8.031 kB / 0.6731 GB, free: 0.9062 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003835/0.4653, allocations: 0.5836 MB / 0.6737 GB, free: 328 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1424/0.6077, allocations: 0.7806 MB / 0.6745 GB, free: 142.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002409/0.6079, allocations: 240.3 kB / 0.6747 GB, free: 142 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001368/0.6081, allocations: 49.66 kB / 0.6747 GB, free: 142 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001425/0.6095, allocations: 0.8012 MB / 0.6755 GB, free: 142 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001337/0.6109, allocations: 0.8351 MB / 0.6763 GB, free: 141.9 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.6109, allocations: 0 / 0.6763 GB, free: 141.9 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.105e-05/0.611, allocations: 3.969 kB / 0.6763 GB, free: 141.9 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.524e-05/0.611, allocations: 19.41 kB / 0.6764 GB, free: 141.9 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006094/0.6171, allocations: 3.741 MB / 0.68 GB, free: 140.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001097/0.6182, allocations: 0.6084 MB / 0.6806 GB, free: 140.9 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006951/0.6189, allocations: 0.5077 MB / 0.6811 GB, free: 140.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001093/0.6191, allocations: 21.91 kB / 0.6811 GB, free: 140.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008849/0.6199, allocations: 0.6341 MB / 0.6817 GB, free: 140.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=96): time 2.875e-06/0.62, allocations: 0 / 0.6817 GB, free: 140.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=96): time 0.01312/0.6331, allocations: 4.174 MB / 0.6858 GB, free: 140.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.501e-05/0.6332, allocations: 117.7 kB / 0.6859 GB, free: 140.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/0.6343, allocations: 0.8033 MB / 0.6867 GB, free: 140.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001292/0.6344, allocations: 25.7 kB / 0.6867 GB, free: 140.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.6346, allocations: 329.7 kB / 0.6871 GB, free: 140.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003205/0.6349, allocations: 334.8 kB / 0.6874 GB, free: 140 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.529e-05/0.635, allocations: 0 / 0.6874 GB, free: 140 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.855e-05/0.635, allocations: 340.8 kB / 0.6877 GB, free: 139.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007437/0.6358, allocations: 447.7 kB / 0.6881 GB, free: 139.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007616/0.6366, allocations: 0.561 MB / 0.6887 GB, free: 139.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007848/0.6373, allocations: 498.1 kB / 0.6891 GB, free: 139.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.6374, allocations: 0 / 0.6891 GB, free: 139.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01275/0.6501, allocations: 4.194 MB / 0.6932 GB, free: 139.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.6502, allocations: 7.812 kB / 0.6933 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.6502, allocations: 3.906 kB / 0.6933 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005776/0.656, allocations: 1.565 MB / 0.6948 GB, free: 139 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001032/0.657, allocations: 184.8 kB / 0.695 GB, free: 139 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01394/0.671, allocations: 6.006 MB / 0.7008 GB, free: 137.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001809/0.6728, allocations: 193.3 kB / 0.701 GB, free: 137.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001206/0.6729, allocations: 39.92 kB / 0.701 GB, free: 137.5 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: order4.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start ) "Connector of Real output signal" type: Real order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 93 * 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 {19 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002926/0.6732, allocations: 164.9 kB / 0.7012 GB, free: 137.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002216/0.6735, allocations: 122.2 kB / 0.7013 GB, free: 137.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0136/0.6871, allocations: 4.265 MB / 0.7055 GB, free: 136.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.682e-05/0.6871, allocations: 9.781 kB / 0.7055 GB, free: 136.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.29e-05/0.6871, allocations: 7.219 kB / 0.7055 GB, free: 136.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.008e-05/0.6871, allocations: 11.27 kB / 0.7055 GB, free: 136.9 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0146/0.7018, allocations: 5.656 MB / 0.711 GB, free: 136.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.7018, allocations: 7.75 kB / 0.711 GB, free: 136.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006822/0.7025, allocations: 102.9 kB / 0.7111 GB, free: 136.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005003/0.7075, allocations: 1.528 MB / 0.7126 GB, free: 135.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000127/0.7077, allocations: 8.797 kB / 0.7126 GB, free: 135.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0131/0.7208, allocations: 7.138 MB / 0.7196 GB, free: 131.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.7208, allocations: 0 / 0.7196 GB, free: 131.5 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01415/0.735, allocations: 5.026 MB / 0.7245 GB, free: 130 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004298/0.7354, allocations: 225.2 kB / 0.7247 GB, free: 129.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002381/0.7357, allocations: 6.625 kB / 0.7247 GB, free: 129.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001324/0.737, allocations: 139.8 kB / 0.7249 GB, free: 129.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003289/0.7373, allocations: 116.4 kB / 0.725 GB, free: 129.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.602e-05/0.7374, allocations: 25.17 kB / 0.725 GB, free: 129.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.000771/0.7382, allocations: 0.6171 MB / 0.7256 GB, free: 129.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001219/0.7394, allocations: 383.1 kB / 0.726 GB, free: 129.4 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 61 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(18,25.9%) 14} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002587/0.7397, allocations: 151 kB / 0.7261 GB, free: 129.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004846/0.7446, allocations: 1.94 MB / 0.728 GB, free: 128.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.7446, allocations: 0 / 0.728 GB, free: 128.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003929/0.7485, allocations: 1.476 MB / 0.7295 GB, free: 128 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006954/0.7492, allocations: 86.83 kB / 0.7295 GB, free: 128 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004287/0.7535, allocations: 1.723 MB / 0.7312 GB, free: 127.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001172/0.7547, allocations: 1.194 MB / 0.7324 GB, free: 126.4 MB / 490.7 MB Notification: Performance of SimCode: time 9.72e-07/0.7547, allocations: 0 / 0.7324 GB, free: 126.4 MB / 490.7 MB Notification: Performance of Templates: time 0.0278/0.7826, allocations: 19.34 MB / 0.7513 GB, free: 115.8 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1)