Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.IEESGO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.003693/0.003693, allocations: 180.2 kB / 7.459 MB, free: 2.234 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.324/1.324, 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.001029/0.001029, allocations: 92.53 kB / 280.1 MB, free: 1.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4683/0.4683, allocations: 78.91 MB / 409.8 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.078e-05/1.113e-05, allocations: 0 / 485.4 MB, free: 3.633 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3938/0.3938, allocations: 69.51 MB / 0.5419 GB, free: 20.84 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1954/0.5893, allocations: 111.5 MB / 0.6508 GB, free: 8.379 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003194/0.5897, allocations: 87.94 kB / 0.6509 GB, free: 8.293 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.4535/1.043, allocations: 44.33 MB / 0.6941 GB, free: 105.6 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.421e-05/1.043, allocations: 35.22 kB / 0.6942 GB, free: 105.6 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.005174/1.048, allocations: 2.308 MB / 0.6964 GB, free: 104.4 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/1.048, allocations: 11.5 kB / 0.6964 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003127/1.052, allocations: 0.6012 MB / 0.697 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001731/1.053, allocations: 1.087 MB / 0.6981 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004454/1.054, allocations: 0.5389 MB / 0.6986 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002201/1.054, allocations: 67.81 kB / 0.6987 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002652/1.057, allocations: 1.204 MB / 0.6999 GB, free: 102.6 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002192/1.059, allocations: 1.201 MB / 0.701 GB, free: 102.1 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.844e-05/1.059, allocations: 0 / 0.701 GB, free: 102.1 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001274/1.059, allocations: 4.969 kB / 0.701 GB, free: 102.1 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.914e-05/1.059, allocations: 26.56 kB / 0.7011 GB, free: 102.1 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0113/1.07, allocations: 5.442 MB / 0.7064 GB, free: 98.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001906/1.072, allocations: 0.9328 MB / 0.7073 GB, free: 98.41 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00102/1.073, allocations: 0.7361 MB / 0.708 GB, free: 98.03 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001465/1.074, allocations: 27.77 kB / 0.708 GB, free: 98.03 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001381/1.075, allocations: 0.9028 MB / 0.7089 GB, free: 97.46 MB / 490.7 MB Notification: Performance of pre-optimization done (n=139): time 4.699e-06/1.075, allocations: 1.719 kB / 0.7089 GB, free: 97.46 MB / 490.7 MB Notification: Performance of matching and sorting (n=139): time 0.01622/1.091, allocations: 5.255 MB / 0.714 GB, free: 94.73 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.866e-05/1.091, allocations: 171.5 kB / 0.7142 GB, free: 94.53 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001881/1.093, allocations: 1.143 MB / 0.7153 GB, free: 93.38 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004184/1.094, allocations: 29.77 kB / 0.7154 GB, free: 93.34 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002281/1.094, allocations: 427.7 kB / 0.7158 GB, free: 92.92 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006487/1.095, allocations: 484.7 kB / 0.7162 GB, free: 92.44 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001832/1.095, allocations: 0 / 0.7162 GB, free: 92.44 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001041/1.095, allocations: 365.8 kB / 0.7166 GB, free: 92.07 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00174/1.097, allocations: 0.6289 MB / 0.7172 GB, free: 91.45 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001758/1.098, allocations: 0.8129 MB / 0.718 GB, free: 90.58 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002141/1.101, allocations: 0.7049 MB / 0.7187 GB, free: 89.88 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.835e-06/1.101, allocations: 3.938 kB / 0.7187 GB, free: 89.88 MB / 490.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.007213/1.108, allocations: 2.224 MB / 0.7208 GB, free: 87.64 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003019/1.108, allocations: 1.458 MB / 0.7223 GB, free: 86.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.604e-05/1.108, allocations: 4 kB / 0.7223 GB, free: 86.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01448/1.123, allocations: 2.389 MB / 0.7246 GB, free: 83.67 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002232/1.125, allocations: 219.7 kB / 0.7248 GB, free: 83.46 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01024/1.135, allocations: 2.724 MB / 0.7275 GB, free: 80.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004916/1.14, allocations: 274.7 kB / 0.7277 GB, free: 80.43 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004986/1.141, allocations: 51.98 kB / 0.7278 GB, free: 80.38 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/1.141, allocations: 7.906 kB / 0.7278 GB, free: 80.37 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007705/1.148, allocations: 2.022 MB / 0.7298 GB, free: 78.35 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.417e-05/1.149, allocations: 4 kB / 0.7298 GB, free: 78.34 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01245/1.161, allocations: 2.384 MB / 0.7321 GB, free: 75.96 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001222/1.162, allocations: 211.7 kB / 0.7323 GB, free: 75.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005481/1.168, allocations: 2.724 MB / 0.735 GB, free: 73.01 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002717/1.171, allocations: 250.8 kB / 0.7352 GB, free: 72.76 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003499/1.171, allocations: 55.97 kB / 0.7353 GB, free: 72.71 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.0005447/1.171, allocations: 128.7 kB / 0.7354 GB, free: 72.57 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007369/1.172, allocations: 173.8 kB / 0.7355 GB, free: 72.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01544/1.188, allocations: 5.357 MB / 0.7408 GB, free: 67.05 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.409e-05/1.188, allocations: 16 kB / 0.7408 GB, free: 67.03 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/1.188, allocations: 0 / 0.7408 GB, free: 67.03 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.609e-05/1.188, allocations: 11.97 kB / 0.7408 GB, free: 67.02 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01963/1.207, allocations: 7.613 MB / 0.7482 GB, free: 59.35 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/1.207, allocations: 0 / 0.7482 GB, free: 59.35 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001274/1.209, allocations: 187.7 kB / 0.7484 GB, free: 59.16 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006311/1.215, allocations: 2.08 MB / 0.7505 GB, free: 57.08 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003111/1.215, allocations: 12 kB / 0.7505 GB, free: 57.07 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01663/1.232, allocations: 7.166 MB / 0.7575 GB, free: 49.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/1.232, allocations: 7.938 kB / 0.7575 GB, free: 49.8 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01734/1.249, allocations: 6.523 MB / 0.7638 GB, free: 43.23 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000728/1.25, allocations: 298.5 kB / 0.7641 GB, free: 42.92 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008057/1.251, allocations: 7.984 kB / 0.7641 GB, free: 42.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002421/1.253, allocations: 191.8 kB / 0.7643 GB, free: 42.73 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006312/1.254, allocations: 169 kB / 0.7645 GB, free: 42.56 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002253/1.254, allocations: 39.98 kB / 0.7645 GB, free: 42.52 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001573/1.256, allocations: 0.8635 MB / 0.7654 GB, free: 41.66 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002723/1.259, allocations: 0.7484 MB / 0.7661 GB, free: 40.91 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.0003864/1.259, allocations: 166.6 kB / 0.7662 GB, free: 40.75 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01294/1.272, allocations: 4.447 MB / 0.7706 GB, free: 36.29 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.764e-06/1.272, allocations: 0 / 0.7706 GB, free: 36.29 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005717/1.278, allocations: 1.891 MB / 0.7724 GB, free: 34.39 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001287/1.279, allocations: 116.7 kB / 0.7725 GB, free: 34.27 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006918/1.286, allocations: 2.754 MB / 0.7752 GB, free: 31.48 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001171/1.287, allocations: 1.442 MB / 0.7766 GB, free: 30 MB / 490.7 MB Notification: Performance of SimCode: time 5.91e-07/1.287, allocations: 0 / 0.7766 GB, free: 30 MB / 490.7 MB Notification: Performance of Templates: time 0.05771/1.345, allocations: 37.4 MB / 0.8132 GB, free: 8.672 MB / 0.4948 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe 2>&1)