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: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.IEESGO,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Controls_PSSE_TG_IEESGO",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.IEESGO,fileNamePrefix="OpenIPSL_release_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.001747/0.001747, allocations: 184.5 kB / 7.462 MB, free: 2.5 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.073/1.073, allocations: 221.4 MB / 229.3 MB, free: 3.336 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.0008273/0.0008272, allocations: 96.5 kB / 280.1 MB, free: 1.195 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3729/0.3729, allocations: 78.1 MB / 409 MB, free: 15.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1191/0.492, allocations: 75.49 MB / 484.5 MB, free: 4.359 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.7441, allocations: 69.34 MB / 0.5408 GB, free: 21.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1148/0.859, allocations: 110.8 MB / 0.6491 GB, free: 9.77 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002001/0.8592, allocations: 87.94 kB / 0.6492 GB, free: 9.684 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.3133/1.172, allocations: 49.12 MB / 0.6972 GB, free: 104 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/1.173, allocations: 7.562 kB / 0.6972 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003141/1.176, allocations: 0.6078 MB / 0.6978 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001927/1.178, allocations: 1.086 MB / 0.6988 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005792/1.178, allocations: 0.5377 MB / 0.6993 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003759/1.179, allocations: 74.41 kB / 0.6994 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003019/1.182, allocations: 1.201 MB / 0.7006 GB, free: 102.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002657/1.184, allocations: 1.197 MB / 0.7018 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.964e-05/1.184, allocations: 0 / 0.7018 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001408/1.185, allocations: 5.141 kB / 0.7018 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.031e-05/1.185, allocations: 30.69 kB / 0.7018 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01112/1.196, allocations: 5.43 MB / 0.7071 GB, free: 98.29 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00163/1.197, allocations: 0.9295 MB / 0.708 GB, free: 97.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009922/1.198, allocations: 0.7334 MB / 0.7087 GB, free: 97.43 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001421/1.199, allocations: 24.22 kB / 0.7087 GB, free: 97.43 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001241/1.2, allocations: 0.9082 MB / 0.7096 GB, free: 96.85 MB / 490.7 MB Notification: Performance of pre-optimization done (n=139): time 3.296e-06/1.2, allocations: 0 / 0.7096 GB, free: 96.85 MB / 490.7 MB Notification: Performance of matching and sorting (n=139): time 0.01538/1.215, allocations: 5.253 MB / 0.7148 GB, free: 94.18 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/1.215, allocations: 175.5 kB / 0.7149 GB, free: 93.97 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001674/1.217, allocations: 1.143 MB / 0.716 GB, free: 92.82 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001639/1.217, allocations: 29.69 kB / 0.7161 GB, free: 92.79 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002015/1.217, allocations: 423.7 kB / 0.7165 GB, free: 92.36 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005362/1.218, allocations: 484.8 kB / 0.7169 GB, free: 91.88 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001217/1.218, allocations: 0 / 0.7169 GB, free: 91.88 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.431e-05/1.218, allocations: 361.8 kB / 0.7173 GB, free: 91.52 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009833/1.219, allocations: 0.6367 MB / 0.7179 GB, free: 90.89 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001032/1.22, allocations: 0.8051 MB / 0.7187 GB, free: 90.03 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/1.221, allocations: 0.7087 MB / 0.7194 GB, free: 89.32 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/1.221, allocations: 0 / 0.7194 GB, free: 89.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.003624/1.225, allocations: 2.225 MB / 0.7216 GB, free: 87.09 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002127/1.225, allocations: 1.448 MB / 0.723 GB, free: 85.51 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/1.225, allocations: 4 kB / 0.723 GB, free: 85.51 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007251/1.232, allocations: 2.393 MB / 0.7253 GB, free: 83.12 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001062/1.233, allocations: 215.7 kB / 0.7255 GB, free: 82.91 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00486/1.238, allocations: 2.724 MB / 0.7282 GB, free: 80.16 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002405/1.241, allocations: 266.7 kB / 0.7284 GB, free: 79.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000232/1.241, allocations: 59.91 kB / 0.7285 GB, free: 79.84 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/1.241, allocations: 11.84 kB / 0.7285 GB, free: 79.82 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003519/1.245, allocations: 2.006 MB / 0.7305 GB, free: 77.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/1.245, allocations: 4 kB / 0.7305 GB, free: 77.81 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007203/1.252, allocations: 2.385 MB / 0.7328 GB, free: 75.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/1.253, allocations: 211.7 kB / 0.733 GB, free: 75.22 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00481/1.258, allocations: 2.72 MB / 0.7356 GB, free: 72.48 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002374/1.26, allocations: 254.8 kB / 0.7359 GB, free: 72.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002297/1.26, allocations: 59.97 kB / 0.7359 GB, free: 72.17 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.0003752/1.261, allocations: 120.7 kB / 0.7361 GB, free: 72.05 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005546/1.261, allocations: 177.8 kB / 0.7362 GB, free: 71.87 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01443/1.276, allocations: 5.365 MB / 0.7415 GB, free: 66.51 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/1.276, allocations: 16 kB / 0.7415 GB, free: 66.49 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/1.276, allocations: 4 kB / 0.7415 GB, free: 66.49 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.815e-05/1.276, allocations: 11.97 kB / 0.7415 GB, free: 66.48 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01727/1.293, allocations: 7.605 MB / 0.7489 GB, free: 58.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/1.293, allocations: 4.062 kB / 0.7489 GB, free: 58.81 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00106/1.294, allocations: 187.8 kB / 0.7491 GB, free: 58.63 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006059/1.3, allocations: 2.071 MB / 0.7511 GB, free: 56.55 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001447/1.3, allocations: 15.98 kB / 0.7511 GB, free: 56.54 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01626/1.317, allocations: 7.166 MB / 0.7581 GB, free: 49.27 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/1.317, allocations: 7.938 kB / 0.7582 GB, free: 49.27 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01642/1.333, allocations: 6.526 MB / 0.7645 GB, free: 42.7 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01765/1.351, allocations: 7.93 MB / 0.7723 GB, free: 34.74 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006605/1.351, allocations: 286.6 kB / 0.7725 GB, free: 34.44 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005147/1.352, allocations: 4 kB / 0.7725 GB, free: 34.43 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002065/1.354, allocations: 203.8 kB / 0.7727 GB, free: 34.23 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00044/1.355, allocations: 157 kB / 0.7729 GB, free: 34.08 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001406/1.355, allocations: 43.98 kB / 0.7729 GB, free: 34.04 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.00127/1.356, allocations: 0.8634 MB / 0.7738 GB, free: 33.18 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003393/1.359, allocations: 0.7718 MB / 0.7745 GB, free: 32.41 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.0003497/1.36, allocations: 162.7 kB / 0.7747 GB, free: 32.24 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01202/1.372, allocations: 4.443 MB / 0.779 GB, free: 27.79 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/1.372, allocations: 0.9375 kB / 0.779 GB, free: 27.79 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005353/1.377, allocations: 1.887 MB / 0.7809 GB, free: 25.89 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/1.378, allocations: 125.3 kB / 0.781 GB, free: 25.77 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006075/1.384, allocations: 2.758 MB / 0.7837 GB, free: 22.97 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001019/1.385, allocations: 1.477 MB / 0.7851 GB, free: 21.45 MB / 490.7 MB Notification: Performance of SimCode: time 4.91e-07/1.385, allocations: 0 / 0.7851 GB, free: 21.45 MB / 490.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Controls_PSSE_TG_IEESGO_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Controls_PSSE_TG_IEESGO.fmu > OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe 2>&1)