Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.Tests.Controls.PSSE.TG.IEESGO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.IEESGO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.002379/0.002379, allocations: 179.3 kB / 7.453 MB, free: 2.508 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.228/1.228, 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.0009454/0.0009454, allocations: 97.77 kB / 280.1 MB, free: 1.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4278/0.4278, allocations: 78.06 MB / 408.9 MB, free: 15.56 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.184e-06/7.264e-06, allocations: 0 / 484.3 MB, free: 4.438 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2802, allocations: 69.35 MB / 0.5407 GB, free: 21.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1283/0.4085, allocations: 110.9 MB / 0.649 GB, free: 9.781 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002202/0.4088, allocations: 99.92 kB / 0.6491 GB, free: 9.684 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.3419/0.7507, allocations: 46.78 MB / 0.6948 GB, free: 105.3 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001165/0.7508, allocations: 31.28 kB / 0.6948 GB, free: 105.3 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.005811/0.7567, allocations: 2.307 MB / 0.697 GB, free: 104.1 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.7567, allocations: 7.812 kB / 0.697 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003506/0.7602, allocations: 0.6032 MB / 0.6976 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001949/0.7622, allocations: 1.085 MB / 0.6987 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005966/0.7628, allocations: 0.5373 MB / 0.6992 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002823/0.7631, allocations: 71.66 kB / 0.6993 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002838/0.7659, allocations: 1.195 MB / 0.7005 GB, free: 102.3 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002363/0.7683, allocations: 1.2 MB / 0.7016 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.733e-05/0.7684, allocations: 0.7188 kB / 0.7016 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001365/0.7685, allocations: 6.266 kB / 0.7016 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.273e-05/0.7685, allocations: 30.72 kB / 0.7017 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01186/0.7804, allocations: 5.425 MB / 0.707 GB, free: 98.41 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001827/0.7823, allocations: 0.9284 MB / 0.7079 GB, free: 97.91 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001134/0.7834, allocations: 0.7415 MB / 0.7086 GB, free: 97.54 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000154/0.7836, allocations: 31.12 kB / 0.7086 GB, free: 97.53 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001471/0.7851, allocations: 0.8996 MB / 0.7095 GB, free: 96.96 MB / 490.7 MB Notification: Performance of pre-optimization done (n=139): time 4.679e-06/0.7851, allocations: 0 / 0.7095 GB, free: 96.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=139): time 0.01767/0.8028, allocations: 5.25 MB / 0.7146 GB, free: 94.28 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.981e-05/0.8029, allocations: 175.5 kB / 0.7148 GB, free: 94.07 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002004/0.8049, allocations: 1.139 MB / 0.7159 GB, free: 92.93 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004082/0.8053, allocations: 25.7 kB / 0.7159 GB, free: 92.89 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002378/0.8056, allocations: 427.7 kB / 0.7163 GB, free: 92.47 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007925/0.8064, allocations: 480.8 kB / 0.7168 GB, free: 91.99 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/0.8065, allocations: 0 / 0.7168 GB, free: 91.99 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.8066, allocations: 369.9 kB / 0.7171 GB, free: 91.62 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001238/0.8079, allocations: 0.6328 MB / 0.7178 GB, free: 90.99 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001083/0.809, allocations: 0.8129 MB / 0.7186 GB, free: 90.13 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001228/0.8102, allocations: 0.7009 MB / 0.7192 GB, free: 89.43 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.8102, allocations: 0 / 0.7192 GB, free: 89.43 MB / 490.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.004134/0.8144, allocations: 2.232 MB / 0.7214 GB, free: 87.19 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002539/0.8146, allocations: 1.444 MB / 0.7228 GB, free: 85.62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.8147, allocations: 7.984 kB / 0.7228 GB, free: 85.61 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007947/0.8226, allocations: 2.385 MB / 0.7252 GB, free: 83.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001241/0.8239, allocations: 215.7 kB / 0.7254 GB, free: 83.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00522/0.8291, allocations: 2.716 MB / 0.728 GB, free: 80.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002626/0.8318, allocations: 274.7 kB / 0.7283 GB, free: 80 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001991/0.832, allocations: 51.98 kB / 0.7283 GB, free: 79.95 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.508e-06/0.832, allocations: 15.78 kB / 0.7284 GB, free: 79.93 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003717/0.8357, allocations: 2.014 MB / 0.7303 GB, free: 77.92 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.8358, allocations: 4 kB / 0.7303 GB, free: 77.91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00798/0.8438, allocations: 2.385 MB / 0.7327 GB, free: 75.53 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/0.845, allocations: 207.7 kB / 0.7329 GB, free: 75.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005272/0.8503, allocations: 2.72 MB / 0.7355 GB, free: 72.58 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002633/0.853, allocations: 262.8 kB / 0.7358 GB, free: 72.32 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002241/0.8532, allocations: 51.98 kB / 0.7358 GB, free: 72.27 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.0003757/0.8536, allocations: 120.7 kB / 0.7359 GB, free: 72.15 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004498/0.854, allocations: 181.8 kB / 0.7361 GB, free: 71.97 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0159/0.87, allocations: 5.372 MB / 0.7413 GB, free: 66.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.108e-05/0.87, allocations: 16 kB / 0.7414 GB, free: 66.58 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.268e-06/0.8701, allocations: 0 / 0.7414 GB, free: 66.58 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.655e-05/0.8701, allocations: 7.969 kB / 0.7414 GB, free: 66.57 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01995/0.8901, allocations: 7.61 MB / 0.7488 GB, free: 58.91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.419e-05/0.8901, allocations: 0 / 0.7488 GB, free: 58.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001451/0.8916, allocations: 187.8 kB / 0.749 GB, free: 58.72 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00691/0.8985, allocations: 2.064 MB / 0.751 GB, free: 56.65 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004735/0.899, allocations: 23.73 kB / 0.751 GB, free: 56.63 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01792/0.9169, allocations: 7.168 MB / 0.758 GB, free: 49.37 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.917, allocations: 0 / 0.758 GB, free: 49.37 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01805/0.935, allocations: 6.53 MB / 0.7644 GB, free: 42.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006617/0.9357, allocations: 286.5 kB / 0.7647 GB, free: 42.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004176/0.9362, allocations: 11.98 kB / 0.7647 GB, free: 42.49 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002094/0.9383, allocations: 195.8 kB / 0.7649 GB, free: 42.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004066/0.9387, allocations: 173.8 kB / 0.765 GB, free: 42.13 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001314/0.9388, allocations: 39.98 kB / 0.7651 GB, free: 42.09 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001114/0.9399, allocations: 0.8596 MB / 0.7659 GB, free: 41.23 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001955/0.9419, allocations: 0.7523 MB / 0.7666 GB, free: 40.48 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.0004519/0.9424, allocations: 151.8 kB / 0.7668 GB, free: 40.32 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01399/0.9564, allocations: 4.443 MB / 0.7711 GB, free: 35.88 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/0.9564, allocations: 0.9375 kB / 0.7711 GB, free: 35.88 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006108/0.9625, allocations: 1.899 MB / 0.773 GB, free: 33.96 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001229/0.9638, allocations: 119.5 kB / 0.7731 GB, free: 33.84 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006606/0.9704, allocations: 2.74 MB / 0.7758 GB, free: 31.06 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001066/0.9715, allocations: 1.442 MB / 0.7772 GB, free: 29.59 MB / 490.7 MB Notification: Performance of SimCode: time 6.21e-07/0.9715, allocations: 0 / 0.7772 GB, free: 29.59 MB / 490.7 MB Notification: Performance of Templates: time 0.05651/1.028, allocations: 37.34 MB / 0.8136 GB, free: 8.344 MB / 0.4948 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe 2>&1)