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: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.IEESGO,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_IEESGO",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.IEESGO,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_IEESGO",fmuType="me",version="2.0",platforms={"static"}) [: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.002998/0.002999, allocations: 184.1 kB / 7.458 MB, free: 2.516 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.249/1.249, allocations: 221.4 MB / 229.3 MB, free: 3.074 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.0009397/0.0009399, allocations: 104 kB / 280.1 MB, free: 1.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4475/0.4475, allocations: 78.93 MB / 409.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1811/0.6286, allocations: 75.65 MB / 485.5 MB, free: 3.559 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3799/1.008, allocations: 69.49 MB / 0.5419 GB, free: 20.73 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1593/1.168, allocations: 111.5 MB / 0.6509 GB, free: 8.27 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/1.168, allocations: 83.94 kB / 0.6509 GB, free: 8.188 MB / 474.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.4195/1.588, allocations: 46.7 MB / 0.6965 GB, free: 103.9 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/1.588, allocations: 11.72 kB / 0.6966 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003973/1.592, allocations: 0.5966 MB / 0.6971 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002984/1.595, allocations: 1.083 MB / 0.6982 GB, free: 103 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006139/1.595, allocations: 0.5368 MB / 0.6987 GB, free: 102.5 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005307/1.596, allocations: 73.88 kB / 0.6988 GB, free: 102.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003835/1.6, allocations: 1.198 MB / 0.7 GB, free: 102 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003448/1.603, allocations: 1.196 MB / 0.7011 GB, free: 101.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.581e-05/1.603, allocations: 7.5 kB / 0.7011 GB, free: 101.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001607/1.604, allocations: 8.844 kB / 0.7011 GB, free: 101.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.828e-05/1.604, allocations: 29.53 kB / 0.7012 GB, free: 101.5 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01525/1.619, allocations: 5.434 MB / 0.7065 GB, free: 98.44 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0023/1.621, allocations: 0.9252 MB / 0.7074 GB, free: 97.95 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00137/1.623, allocations: 0.7405 MB / 0.7081 GB, free: 97.57 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001804/1.623, allocations: 33.27 kB / 0.7081 GB, free: 97.56 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001733/1.625, allocations: 0.8934 MB / 0.709 GB, free: 97 MB / 490.7 MB Notification: Performance of pre-optimization done (n=139): time 8.416e-06/1.625, allocations: 3.438 kB / 0.709 GB, free: 97 MB / 490.7 MB Notification: Performance of matching and sorting (n=139): time 0.01828/1.643, allocations: 5.253 MB / 0.7141 GB, free: 94.44 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.725e-05/1.643, allocations: 171.5 kB / 0.7143 GB, free: 94.23 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002624/1.646, allocations: 1.143 MB / 0.7154 GB, free: 93.09 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004853/1.646, allocations: 25.7 kB / 0.7154 GB, free: 93.05 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003443/1.646, allocations: 427.7 kB / 0.7159 GB, free: 92.63 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009835/1.647, allocations: 484.7 kB / 0.7163 GB, free: 92.15 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002188/1.648, allocations: 4.062 kB / 0.7163 GB, free: 92.15 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001294/1.648, allocations: 365.8 kB / 0.7167 GB, free: 91.79 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001221/1.649, allocations: 0.6366 MB / 0.7173 GB, free: 91.15 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001294/1.65, allocations: 0.8114 MB / 0.7181 GB, free: 90.29 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001407/1.652, allocations: 0.701 MB / 0.7188 GB, free: 89.59 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.305e-06/1.652, allocations: 0 / 0.7188 GB, free: 89.59 MB / 490.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.004522/1.656, allocations: 2.228 MB / 0.7209 GB, free: 87.35 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003661/1.657, allocations: 1.452 MB / 0.7224 GB, free: 85.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.8e-05/1.657, allocations: 7.938 kB / 0.7224 GB, free: 85.76 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007837/1.665, allocations: 2.396 MB / 0.7247 GB, free: 83.38 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/1.666, allocations: 211.7 kB / 0.7249 GB, free: 83.17 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00533/1.671, allocations: 2.724 MB / 0.7276 GB, free: 80.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002769/1.674, allocations: 270.7 kB / 0.7278 GB, free: 80.14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003371/1.674, allocations: 55.97 kB / 0.7279 GB, free: 80.09 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/1.674, allocations: 7.906 kB / 0.7279 GB, free: 80.08 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004008/1.678, allocations: 2.018 MB / 0.7299 GB, free: 78.06 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/1.678, allocations: 8 kB / 0.7299 GB, free: 78.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007473/1.686, allocations: 2.381 MB / 0.7322 GB, free: 75.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/1.687, allocations: 211.7 kB / 0.7324 GB, free: 75.47 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005011/1.692, allocations: 2.72 MB / 0.7351 GB, free: 72.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002557/1.695, allocations: 254.8 kB / 0.7353 GB, free: 72.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002164/1.695, allocations: 59.97 kB / 0.7354 GB, free: 72.42 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.0004079/1.695, allocations: 128.7 kB / 0.7355 GB, free: 72.29 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006474/1.696, allocations: 177.8 kB / 0.7356 GB, free: 72.11 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01513/1.711, allocations: 5.361 MB / 0.7409 GB, free: 66.75 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.589e-05/1.711, allocations: 16 kB / 0.7409 GB, free: 66.73 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/1.711, allocations: 0 / 0.7409 GB, free: 66.73 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.634e-05/1.711, allocations: 11.97 kB / 0.7409 GB, free: 66.72 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0205/1.732, allocations: 7.618 MB / 0.7483 GB, free: 59.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.54e-05/1.732, allocations: 0 / 0.7483 GB, free: 59.05 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001431/1.733, allocations: 183.8 kB / 0.7485 GB, free: 58.87 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006464/1.74, allocations: 2.071 MB / 0.7505 GB, free: 56.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004206/1.74, allocations: 15.98 kB / 0.7506 GB, free: 56.79 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0176/1.758, allocations: 7.173 MB / 0.7576 GB, free: 49.52 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.835e-06/1.758, allocations: 4 kB / 0.7576 GB, free: 49.51 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01809/1.776, allocations: 6.522 MB / 0.7639 GB, free: 42.95 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01946/1.795, allocations: 7.93 MB / 0.7717 GB, free: 34.98 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000865/1.796, allocations: 290.5 kB / 0.772 GB, free: 34.68 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007314/1.797, allocations: 4 kB / 0.772 GB, free: 34.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002451/1.8, allocations: 199.8 kB / 0.7722 GB, free: 34.48 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005432/1.8, allocations: 169 kB / 0.7723 GB, free: 34.32 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001832/1.8, allocations: 43.98 kB / 0.7724 GB, free: 34.27 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.00157/1.802, allocations: 0.8674 MB / 0.7732 GB, free: 33.41 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004607/1.806, allocations: 0.764 MB / 0.7739 GB, free: 32.64 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.0005341/1.807, allocations: 162.8 kB / 0.7741 GB, free: 32.47 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01327/1.82, allocations: 4.443 MB / 0.7784 GB, free: 28.02 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.116e-05/1.82, allocations: 8.125 kB / 0.7785 GB, free: 28.02 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006095/1.826, allocations: 1.89 MB / 0.7803 GB, free: 26.11 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001717/1.828, allocations: 109.5 kB / 0.7804 GB, free: 26 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008329/1.837, allocations: 2.768 MB / 0.7831 GB, free: 23.19 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001883/1.838, allocations: 1.477 MB / 0.7845 GB, free: 21.68 MB / 490.7 MB Notification: Performance of SimCode: time 1.613e-06/1.839, allocations: 0 / 0.7845 GB, free: 21.68 MB / 490.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_IEESGO_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_IEESGO.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe 2>&1)