Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.IEESGO,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_IEESGO",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.IEESGO,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.003297/0.003297, allocations: 179.8 kB / 7.456 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.236/1.236, allocations: 205.2 MB / 213.1 MB, free: 13.92 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009008/0.0009008, allocations: 88.44 kB / 261.1 MB, free: 13.63 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08288/0.08288, allocations: 12.19 MB / 321.2 MB, free: 1.371 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.295/0.295, allocations: 78.05 MB / 449.9 MB, free: 3.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3307/0.6258, allocations: 76.09 MB / 0.5137 GB, free: 30.34 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.7878, allocations: 69.23 MB / 0.5813 GB, free: 9.199 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4542/1.242, allocations: 112.4 MB / 0.691 GB, free: 12.75 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002725/1.242, allocations: 85.94 kB / 0.6911 GB, free: 12.71 MB / 442.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.1349/1.377, allocations: 48.06 MB / 0.738 GB, free: 5.258 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.009e-05/1.377, allocations: 19.88 kB / 0.738 GB, free: 5.238 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00395/1.381, allocations: 0.5935 MB / 0.7386 GB, free: 4.684 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002664/1.384, allocations: 1.09 MB / 0.7397 GB, free: 3.812 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006231/1.385, allocations: 0.5363 MB / 0.7402 GB, free: 3.18 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002636/1.385, allocations: 79.66 kB / 0.7403 GB, free: 3.105 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002474/1.387, allocations: 1.195 MB / 0.7414 GB, free: 2.387 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002461/1.39, allocations: 1.2 MB / 0.7426 GB, free: 1.539 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.61e-05/1.39, allocations: 0 / 0.7426 GB, free: 1.539 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001348/1.39, allocations: 0 / 0.7426 GB, free: 1.539 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.239e-05/1.39, allocations: 28 kB / 0.7426 GB, free: 1.512 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01268/1.403, allocations: 5.451 MB / 0.748 GB, free: 13.05 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001786/1.405, allocations: 0.9238 MB / 0.7489 GB, free: 12.1 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001159/1.406, allocations: 0.7329 MB / 0.7496 GB, free: 11.36 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001529/1.406, allocations: 25.28 kB / 0.7496 GB, free: 11.33 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001487/1.408, allocations: 0.9059 MB / 0.7505 GB, free: 10.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=139): time 3.427e-06/1.408, allocations: 0 / 0.7505 GB, free: 10.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=139): time 0.01695/1.425, allocations: 5.245 MB / 0.7556 GB, free: 5.137 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.573e-05/1.425, allocations: 175.6 kB / 0.7558 GB, free: 4.926 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002274/1.427, allocations: 1.14 MB / 0.7569 GB, free: 3.781 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004507/1.427, allocations: 29.69 kB / 0.7569 GB, free: 3.746 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000284/1.428, allocations: 431.6 kB / 0.7573 GB, free: 3.316 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007341/1.428, allocations: 480.8 kB / 0.7578 GB, free: 2.84 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.872e-05/1.429, allocations: 0 / 0.7578 GB, free: 2.84 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001584/1.429, allocations: 357.9 kB / 0.7581 GB, free: 2.484 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001188/1.43, allocations: 0.6366 MB / 0.7588 GB, free: 1.848 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001363/1.431, allocations: 0.8129 MB / 0.7596 GB, free: 0.9805 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001479/1.433, allocations: 0.7048 MB / 0.7602 GB, free: 288 kB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.235e-05/1.433, allocations: 4 kB / 0.7602 GB, free: 284 kB / 490.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.005078/1.438, allocations: 2.229 MB / 0.7624 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008026/1.439, allocations: 1.444 MB / 0.7638 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.934e-05/1.439, allocations: 4 kB / 0.7638 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008719/1.447, allocations: 2.389 MB / 0.7662 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001408/1.449, allocations: 215.7 kB / 0.7664 GB, free: 9.859 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006657/1.456, allocations: 2.72 MB / 0.769 GB, free: 7.113 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002988/1.459, allocations: 270.6 kB / 0.7693 GB, free: 6.848 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004293/1.459, allocations: 55.97 kB / 0.7693 GB, free: 6.793 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/1.459, allocations: 7.125 kB / 0.7694 GB, free: 6.789 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004834/1.464, allocations: 2.018 MB / 0.7713 GB, free: 4.766 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.018e-05/1.464, allocations: 4 kB / 0.7713 GB, free: 4.762 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008364/1.472, allocations: 2.386 MB / 0.7737 GB, free: 2.371 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001106/1.474, allocations: 215.7 kB / 0.7739 GB, free: 2.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005939/1.479, allocations: 2.716 MB / 0.7765 GB, free: 15.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002781/1.482, allocations: 262.7 kB / 0.7768 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002773/1.483, allocations: 55.97 kB / 0.7768 GB, free: 15.11 MB / 0.5105 GB 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.0005168/1.483, allocations: 121.5 kB / 0.7769 GB, free: 14.98 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007173/1.484, allocations: 177.8 kB / 0.7771 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01725/1.501, allocations: 5.362 MB / 0.7823 GB, free: 9.422 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-05/1.501, allocations: 16 kB / 0.7824 GB, free: 9.406 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.569e-05/1.501, allocations: 3.906 kB / 0.7824 GB, free: 9.402 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.027e-05/1.501, allocations: 7.969 kB / 0.7824 GB, free: 9.395 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0231/1.524, allocations: 7.621 MB / 0.7898 GB, free: 1.676 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.362e-05/1.525, allocations: 3.938 kB / 0.7898 GB, free: 1.672 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001733/1.526, allocations: 187.8 kB / 0.79 GB, free: 1.488 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007758/1.534, allocations: 2.072 MB / 0.792 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005262/1.535, allocations: 15.98 kB / 0.792 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02521/1.56, allocations: 7.16 MB / 0.799 GB, free: 8.113 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.652e-06/1.56, allocations: 4 kB / 0.799 GB, free: 8.109 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03189/1.592, allocations: 6.527 MB / 0.8054 GB, free: 1.523 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02768/1.62, allocations: 7.927 MB / 0.8131 GB, free: 9.539 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001107/1.621, allocations: 290.5 kB / 0.8134 GB, free: 9.234 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009525/1.622, allocations: 8 kB / 0.8134 GB, free: 9.227 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002891/1.625, allocations: 203.8 kB / 0.8136 GB, free: 9.027 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007388/1.625, allocations: 161 kB / 0.8138 GB, free: 8.871 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002651/1.626, allocations: 39.94 kB / 0.8138 GB, free: 8.832 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.002059/1.628, allocations: 0.8676 MB / 0.8147 GB, free: 7.969 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00523/1.633, allocations: 0.7639 MB / 0.8154 GB, free: 7.203 MB / 0.5417 GB 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.0005891/1.634, allocations: 166.9 kB / 0.8156 GB, free: 7.031 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01515/1.649, allocations: 4.439 MB / 0.8199 GB, free: 2.574 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.358e-05/1.649, allocations: 4 kB / 0.8199 GB, free: 2.57 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.006815/1.656, allocations: 1.887 MB / 0.8217 GB, free: 0.6719 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002376/1.658, allocations: 121.5 kB / 0.8219 GB, free: 0.5508 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01054/1.669, allocations: 2.753 MB / 0.8245 GB, free: 13.73 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002059/1.671, allocations: 1.474 MB / 0.826 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of SimCode: time 2.184e-06/1.671, allocations: 0 / 0.826 GB, free: 12.23 MB / 0.5573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_IEESGO_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_IEESGO.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe 2>&1)