Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_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.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.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_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.001836/0.001836, allocations: 173.3 kB / 7.458 MB, free: 2.488 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.03/1.03, allocations: 221.4 MB / 229.3 MB, free: 3.094 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.0008143/0.0008143, allocations: 93.86 kB / 280.1 MB, free: 1.297 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3584/0.3584, allocations: 78.1 MB / 409 MB, free: 15.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.759e-06/4.779e-06, allocations: 0 / 484.4 MB, free: 4.523 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.2162, allocations: 69.33 MB / 0.5407 GB, free: 21.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09589/0.3121, allocations: 98.45 MB / 0.6369 GB, free: 6.273 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000204/0.3124, allocations: 79.89 kB / 0.637 GB, free: 6.195 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.08048/0.3929, allocations: 31.44 MB / 0.6677 GB, free: 6.539 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.335e-05/0.393, allocations: 24 kB / 0.6677 GB, free: 6.516 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.00392/0.3969, allocations: 1.785 MB / 0.6694 GB, free: 4.672 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.3969, allocations: 12.03 kB / 0.6694 GB, free: 4.66 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003233/0.4002, allocations: 0.5836 MB / 0.67 GB, free: 4.074 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001118/0.4013, allocations: 0.794 MB / 0.6708 GB, free: 3.227 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002432/0.4016, allocations: 236.2 kB / 0.671 GB, free: 2.957 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001298/0.4017, allocations: 55.91 kB / 0.6711 GB, free: 2.902 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001329/0.403, allocations: 0.8084 MB / 0.6719 GB, free: 2.094 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00136/0.4044, allocations: 0.8485 MB / 0.6727 GB, free: 1.234 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.4044, allocations: 0 / 0.6727 GB, free: 1.234 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.111e-05/0.4045, allocations: 0 / 0.6727 GB, free: 1.234 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.683e-05/0.4045, allocations: 16 kB / 0.6727 GB, free: 1.219 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1249/0.5295, allocations: 3.796 MB / 0.6764 GB, free: 141.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009689/0.5304, allocations: 0.6178 MB / 0.677 GB, free: 141.1 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006198/0.5311, allocations: 0.5243 MB / 0.6775 GB, free: 141.1 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.739e-05/0.5312, allocations: 19.7 kB / 0.6775 GB, free: 141.1 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007896/0.532, allocations: 0.6481 MB / 0.6782 GB, free: 141 MB / 490.7 MB Notification: Performance of pre-optimization done (n=97): time 2.374e-06/0.532, allocations: 1.969 kB / 0.6782 GB, free: 141 MB / 490.7 MB Notification: Performance of matching and sorting (n=97): time 0.01124/0.5432, allocations: 4.197 MB / 0.6823 GB, free: 140.9 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.448e-05/0.5433, allocations: 111.1 kB / 0.6824 GB, free: 140.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008027/0.5441, allocations: 0.8465 MB / 0.6832 GB, free: 140.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.802e-05/0.5442, allocations: 28.44 kB / 0.6832 GB, free: 140.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.5443, allocations: 329.8 kB / 0.6836 GB, free: 140.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002509/0.5445, allocations: 335.5 kB / 0.6839 GB, free: 140.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.59e-05/0.5446, allocations: 0 / 0.6839 GB, free: 140.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.219e-05/0.5447, allocations: 346.3 kB / 0.6842 GB, free: 139.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006301/0.5453, allocations: 452.8 kB / 0.6846 GB, free: 139.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006645/0.546, allocations: 0.5689 MB / 0.6852 GB, free: 139.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006723/0.5466, allocations: 0.4978 MB / 0.6857 GB, free: 139.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.5467, allocations: 0.7812 kB / 0.6857 GB, free: 139.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.01113/0.5578, allocations: 4.218 MB / 0.6898 GB, free: 139.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.5578, allocations: 5.875 kB / 0.6898 GB, free: 139.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.5579, allocations: 3.562 kB / 0.6898 GB, free: 139.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005162/0.563, allocations: 1.58 MB / 0.6913 GB, free: 139.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001212/0.5643, allocations: 197.6 kB / 0.6915 GB, free: 139.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01207/0.5763, allocations: 5.958 MB / 0.6974 GB, free: 137.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001612/0.578, allocations: 193.1 kB / 0.6975 GB, free: 137.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/0.5781, allocations: 40.36 kB / 0.6976 GB, free: 137.8 MB / 490.7 MB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.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 order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" ) "q-axis sub-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 (98): * Single equations (assignments): 95 * 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 {21 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002641/0.5784, allocations: 165.6 kB / 0.6977 GB, free: 137.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001774/0.5785, allocations: 123.5 kB / 0.6979 GB, free: 137.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01181/0.5904, allocations: 4.301 MB / 0.7021 GB, free: 137.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.398e-05/0.5904, allocations: 10.56 kB / 0.7021 GB, free: 137.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.185e-05/0.5904, allocations: 6.594 kB / 0.7021 GB, free: 137.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.68e-05/0.5904, allocations: 8.219 kB / 0.7021 GB, free: 137.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01314/0.6036, allocations: 5.716 MB / 0.7077 GB, free: 136.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.471e-06/0.6036, allocations: 0 / 0.7077 GB, free: 136.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006521/0.6043, allocations: 108.2 kB / 0.7078 GB, free: 136.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004397/0.6087, allocations: 1.535 MB / 0.7093 GB, free: 136.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000119/0.6088, allocations: 6.781 kB / 0.7093 GB, free: 136.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01147/0.6203, allocations: 7.146 MB / 0.7162 GB, free: 132.6 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.6203, allocations: 0 / 0.7162 GB, free: 132.6 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01222/0.6326, allocations: 5.076 MB / 0.7212 GB, free: 131.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004016/0.633, allocations: 226.6 kB / 0.7214 GB, free: 131 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002025/0.6332, allocations: 2.781 kB / 0.7214 GB, free: 131 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001219/0.6344, allocations: 140.6 kB / 0.7216 GB, free: 131 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002618/0.6347, allocations: 121.4 kB / 0.7217 GB, free: 131 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.6e-05/0.6348, allocations: 26.2 kB / 0.7217 GB, free: 131 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0007002/0.6355, allocations: 0.6392 MB / 0.7223 GB, free: 130.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001105/0.6366, allocations: 400.2 kB / 0.7227 GB, free: 130.6 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,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 (65): * Single equations (assignments): 62 * 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.000226/0.6368, allocations: 141 kB / 0.7228 GB, free: 130.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004336/0.6412, allocations: 1.981 MB / 0.7248 GB, free: 129.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.6412, allocations: 0 / 0.7248 GB, free: 129.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003374/0.6446, allocations: 1.496 MB / 0.7262 GB, free: 129.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005528/0.6452, allocations: 85.48 kB / 0.7263 GB, free: 129.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003653/0.6488, allocations: 1.829 MB / 0.7281 GB, free: 128.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007923/0.6496, allocations: 1.202 MB / 0.7293 GB, free: 127.6 MB / 490.7 MB Notification: Performance of SimCode: time 3.8e-07/0.6496, allocations: 0 / 0.7293 GB, free: 127.6 MB / 490.7 MB Notification: Performance of Templates: time 0.02439/0.674, allocations: 19.71 MB / 0.7485 GB, free: 118.5 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1)