Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.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.Tests.Controls.PSSE.TG.IEESGO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.IEESGO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO") [: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.002033/0.002033, allocations: 179.2 kB / 7.463 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.04/1.04, allocations: 221.4 MB / 229.3 MB, free: 2.992 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.0008125/0.0008122, allocations: 101 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.3639/0.3639, allocations: 78.09 MB / 409 MB, free: 15.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.454e-06/7.484e-06, allocations: 4 kB / 484.4 MB, free: 4.543 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.2277, allocations: 69.34 MB / 0.5408 GB, free: 21.42 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1094/0.3372, allocations: 110.9 MB / 0.649 GB, free: 9.953 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002158/0.3374, allocations: 83.94 kB / 0.6491 GB, free: 9.871 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.2738/0.6112, allocations: 46.77 MB / 0.6948 GB, free: 105.2 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.299e-05/0.6113, allocations: 31 kB / 0.6948 GB, free: 105.2 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: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.00482/0.6162, allocations: 2.307 MB / 0.6971 GB, free: 104.1 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.6162, allocations: 7.781 kB / 0.6971 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002876/0.6191, allocations: 0.6081 MB / 0.6977 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001501/0.6206, allocations: 1.083 MB / 0.6987 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004046/0.621, allocations: 0.5323 MB / 0.6992 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001766/0.6212, allocations: 76.45 kB / 0.6993 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002396/0.6236, allocations: 1.197 MB / 0.7005 GB, free: 102.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002031/0.6256, allocations: 1.202 MB / 0.7017 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.392e-05/0.6257, allocations: 0 / 0.7017 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001189/0.6258, allocations: 4.594 kB / 0.7017 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.822e-05/0.6258, allocations: 27.34 kB / 0.7017 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00945/0.6353, allocations: 5.437 MB / 0.707 GB, free: 98.43 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001572/0.6369, allocations: 0.9282 MB / 0.7079 GB, free: 97.94 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009138/0.6378, allocations: 0.73 MB / 0.7086 GB, free: 97.57 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001318/0.638, allocations: 32.11 kB / 0.7086 GB, free: 97.56 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00116/0.6391, allocations: 0.9041 MB / 0.7095 GB, free: 96.99 MB / 490.7 MB Notification: Performance of pre-optimization done (n=139): time 2.565e-06/0.6391, allocations: 0 / 0.7095 GB, free: 96.99 MB / 490.7 MB Notification: Performance of matching and sorting (n=139): time 0.01469/0.6538, allocations: 5.25 MB / 0.7147 GB, free: 94.52 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.6539, allocations: 175.6 kB / 0.7148 GB, free: 94.31 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001409/0.6553, allocations: 1.14 MB / 0.7159 GB, free: 93.17 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000196/0.6555, allocations: 33.62 kB / 0.716 GB, free: 93.13 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001631/0.6557, allocations: 431.6 kB / 0.7164 GB, free: 92.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004579/0.6561, allocations: 480.8 kB / 0.7168 GB, free: 92.23 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.545e-05/0.6562, allocations: 3.938 kB / 0.7168 GB, free: 92.22 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.536e-05/0.6563, allocations: 361.8 kB / 0.7172 GB, free: 91.86 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009278/0.6573, allocations: 0.6328 MB / 0.7178 GB, free: 91.23 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000963/0.6582, allocations: 0.8091 MB / 0.7186 GB, free: 90.37 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001051/0.6593, allocations: 0.7048 MB / 0.7193 GB, free: 89.67 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.6593, allocations: 0 / 0.7193 GB, free: 89.67 MB / 490.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.003425/0.6627, allocations: 2.229 MB / 0.7215 GB, free: 87.43 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000176/0.6629, allocations: 1.452 MB / 0.7229 GB, free: 85.85 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.6629, allocations: 4 kB / 0.7229 GB, free: 85.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006959/0.6699, allocations: 2.389 MB / 0.7252 GB, free: 83.46 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001057/0.671, allocations: 211.7 kB / 0.7254 GB, free: 83.26 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004575/0.6756, allocations: 2.724 MB / 0.7281 GB, free: 80.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002286/0.6779, allocations: 266.7 kB / 0.7283 GB, free: 80.24 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001428/0.678, allocations: 55.97 kB / 0.7284 GB, free: 80.18 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.243e-06/0.678, allocations: 7.906 kB / 0.7284 GB, free: 80.18 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003169/0.6812, allocations: 2.014 MB / 0.7304 GB, free: 78.16 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.6812, allocations: 4 kB / 0.7304 GB, free: 78.16 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0068/0.688, allocations: 2.385 MB / 0.7327 GB, free: 75.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008764/0.6889, allocations: 215.6 kB / 0.7329 GB, free: 75.56 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004311/0.6932, allocations: 2.712 MB / 0.7355 GB, free: 72.83 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002005/0.6953, allocations: 266.7 kB / 0.7358 GB, free: 72.57 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001346/0.6954, allocations: 51.98 kB / 0.7358 GB, free: 72.52 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (sCRX.booleanConstant.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 114 * 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: 0 * Non-linear torn systems: 1 {29 43} Notification: Performance of prepare postOptimizeDAE: time 0.0002703/0.6957, allocations: 124.7 kB / 0.736 GB, free: 72.39 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002711/0.696, allocations: 177.8 kB / 0.7361 GB, free: 72.21 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01384/0.7098, allocations: 5.361 MB / 0.7414 GB, free: 66.85 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.89e-05/0.7099, allocations: 16 kB / 0.7414 GB, free: 66.83 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.7099, allocations: 4 kB / 0.7414 GB, free: 66.83 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.76e-05/0.7099, allocations: 7.969 kB / 0.7414 GB, free: 66.82 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01694/0.7269, allocations: 7.614 MB / 0.7488 GB, free: 59.16 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.7269, allocations: 4.062 kB / 0.7488 GB, free: 59.15 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001033/0.7279, allocations: 183.8 kB / 0.749 GB, free: 58.97 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005813/0.7338, allocations: 2.067 MB / 0.751 GB, free: 56.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001574/0.7339, allocations: 19.98 kB / 0.7511 GB, free: 56.88 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01551/0.7494, allocations: 7.166 MB / 0.758 GB, free: 49.62 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.7495, allocations: 0 / 0.758 GB, free: 49.62 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01554/0.765, allocations: 6.531 MB / 0.7644 GB, free: 43.05 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006407/0.7657, allocations: 290.5 kB / 0.7647 GB, free: 42.74 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004386/0.7661, allocations: 11.94 kB / 0.7647 GB, free: 42.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001881/0.768, allocations: 203.8 kB / 0.7649 GB, free: 42.53 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000402/0.7684, allocations: 161 kB / 0.7651 GB, free: 42.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001423/0.7686, allocations: 39.98 kB / 0.7651 GB, free: 42.34 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001307/0.7699, allocations: 0.8596 MB / 0.7659 GB, free: 41.48 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002003/0.7719, allocations: 0.7484 MB / 0.7667 GB, free: 40.73 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 15 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENSAL.w,gENSAL.delta,gENSAL.Epq,gENSAL.PSIkd,gENSAL.PSIppq,sCRX.imLeadLag.TF.x_scaled[1],sCRX.simpleLagLim.state,iEESGO.imSimpleLag.state,iEESGO.imLeadLag.TF.x_scaled[1],iEESGO.imSimpleLag1.state,iEESGO.imSimpleLag2.state,iEESGO.imSimpleLag3.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 95 * 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 {26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.000361/0.7723, allocations: 170.8 kB / 0.7668 GB, free: 40.56 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01169/0.784, allocations: 4.435 MB / 0.7712 GB, free: 36.12 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.784, allocations: 0 / 0.7712 GB, free: 36.12 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005105/0.7891, allocations: 1.892 MB / 0.773 GB, free: 34.21 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008306/0.7899, allocations: 123.8 kB / 0.7731 GB, free: 34.09 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005747/0.7957, allocations: 2.74 MB / 0.7758 GB, free: 31.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009315/0.7967, allocations: 1.438 MB / 0.7772 GB, free: 29.83 MB / 490.7 MB Notification: Performance of SimCode: time 2.4e-07/0.7967, allocations: 0 / 0.7772 GB, free: 29.83 MB / 490.7 MB Notification: Performance of Templates: time 0.04807/0.8447, allocations: 37.34 MB / 0.8137 GB, free: 8.555 MB / 0.4948 GB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.sim & ./OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe 2>&1)