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-master/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-master/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: translateModel(OpenIPSL.Tests.Controls.PSSE.TG.IEESGO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.IEESGO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_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 3.2.3+maint.om/package.mo): time 0.003985/0.003985, 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 3.2.3+maint.om/package.mo): time 1.648/1.648, allocations: 205.2 MB / 213.1 MB, free: 13.83 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.001004/0.001004, allocations: 90.3 kB / 261.1 MB, free: 13.59 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08271/0.08271, allocations: 12.58 MB / 321.6 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2819/0.2819, allocations: 78.06 MB / 450.4 MB, free: 3.176 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.289e-06/5.32e-06, allocations: 0 / 0.5141 GB, free: 29.95 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.125, allocations: 69.32 MB / 0.5818 GB, free: 8.723 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3981/0.5232, allocations: 112.4 MB / 0.6916 GB, free: 11.82 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002009/0.5234, allocations: 84.83 kB / 0.6917 GB, free: 11.78 MB / 442.7 MB Notification: Performance of FrontEnd: time 0.1276/0.651, allocations: 45.7 MB / 0.7363 GB, free: 6.562 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001448/0.6512, allocations: 39.94 kB / 0.7364 GB, free: 6.523 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.006849/0.658, allocations: 2.31 MB / 0.7386 GB, free: 4.316 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.6581, allocations: 11.97 kB / 0.7386 GB, free: 4.305 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003589/0.6617, allocations: 0.5973 MB / 0.7392 GB, free: 3.746 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002872/0.6646, allocations: 1.089 MB / 0.7403 GB, free: 2.875 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007239/0.6653, allocations: 0.5362 MB / 0.7408 GB, free: 2.242 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005225/0.6659, allocations: 79.83 kB / 0.7409 GB, free: 2.164 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0031/0.669, allocations: 1.197 MB / 0.7421 GB, free: 1.445 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002576/0.6716, allocations: 1.2 MB / 0.7432 GB, free: 0.5977 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.548e-05/0.6716, allocations: 0 / 0.7432 GB, free: 0.5977 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001417/0.6718, allocations: 4 kB / 0.7432 GB, free: 0.5938 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.448e-05/0.6718, allocations: 27.98 kB / 0.7433 GB, free: 0.5664 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01177/0.6836, allocations: 5.441 MB / 0.7486 GB, free: 12.08 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001745/0.6854, allocations: 0.9237 MB / 0.7495 GB, free: 11.13 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001126/0.6865, allocations: 0.7329 MB / 0.7502 GB, free: 10.39 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000143/0.6867, allocations: 33.27 kB / 0.7502 GB, free: 10.36 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001457/0.6881, allocations: 0.8981 MB / 0.7511 GB, free: 9.434 MB / 490.7 MB Notification: Performance of pre-optimization done (n=139): time 3.036e-06/0.6882, allocations: 0 / 0.7511 GB, free: 9.434 MB / 490.7 MB Notification: Performance of matching and sorting (n=139): time 0.01654/0.7047, allocations: 5.245 MB / 0.7562 GB, free: 4.172 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.652e-05/0.7048, allocations: 175.5 kB / 0.7564 GB, free: 3.961 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002654/0.7075, allocations: 1.14 MB / 0.7575 GB, free: 2.816 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004309/0.7079, allocations: 29.7 kB / 0.7575 GB, free: 2.781 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004005/0.7084, allocations: 431.6 kB / 0.7579 GB, free: 2.352 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009965/0.7094, allocations: 476.8 kB / 0.7584 GB, free: 1.879 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.7095, allocations: 4 kB / 0.7584 GB, free: 1.875 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.7097, allocations: 361.9 kB / 0.7588 GB, free: 1.516 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001145/0.7108, allocations: 0.6327 MB / 0.7594 GB, free: 0.8789 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001207/0.712, allocations: 0.8167 MB / 0.7602 GB, free: 8 kB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001325/0.7134, allocations: 0.7009 MB / 0.7609 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.7134, allocations: 4 kB / 0.7609 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.004317/0.7177, allocations: 2.229 MB / 0.763 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005018/0.7182, allocations: 1.448 MB / 0.7644 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.7182, allocations: 4 kB / 0.7645 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008036/0.7263, allocations: 2.389 MB / 0.7668 GB, free: 9.102 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001201/0.7275, allocations: 211.7 kB / 0.767 GB, free: 8.895 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005448/0.733, allocations: 2.72 MB / 0.7696 GB, free: 6.148 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002332/0.7353, allocations: 274.7 kB / 0.7699 GB, free: 5.879 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001544/0.7355, allocations: 51.98 kB / 0.77 GB, free: 5.828 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/0.7355, allocations: 7.984 kB / 0.77 GB, free: 5.82 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003806/0.7393, allocations: 2.018 MB / 0.7719 GB, free: 3.797 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.7393, allocations: 4 kB / 0.7719 GB, free: 3.793 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007928/0.7473, allocations: 2.378 MB / 0.7743 GB, free: 1.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/0.7485, allocations: 211.7 kB / 0.7745 GB, free: 1.203 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005492/0.754, allocations: 2.724 MB / 0.7771 GB, free: 14.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00245/0.7565, allocations: 254.8 kB / 0.7774 GB, free: 14.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001836/0.7567, allocations: 59.91 kB / 0.7774 GB, free: 14.14 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.000358/0.757, allocations: 128.7 kB / 0.7775 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003495/0.7574, allocations: 177.8 kB / 0.7777 GB, free: 13.84 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01626/0.7736, allocations: 5.365 MB / 0.783 GB, free: 8.449 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.599e-05/0.7737, allocations: 16 kB / 0.783 GB, free: 8.434 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.7737, allocations: 0 / 0.783 GB, free: 8.434 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-05/0.7738, allocations: 11.97 kB / 0.783 GB, free: 8.422 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01989/0.7937, allocations: 7.617 MB / 0.7904 GB, free: 0.707 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-05/0.7937, allocations: 3.938 kB / 0.7904 GB, free: 0.7031 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001307/0.795, allocations: 187.8 kB / 0.7906 GB, free: 0.5195 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007132/0.8022, allocations: 2.064 MB / 0.7926 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003716/0.8026, allocations: 15.98 kB / 0.7926 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01835/0.8209, allocations: 7.168 MB / 0.7996 GB, free: 7.145 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/0.821, allocations: 8 kB / 0.7996 GB, free: 7.137 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02024/0.8412, allocations: 6.519 MB / 0.806 GB, free: 0.5586 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001191/0.8425, allocations: 290.5 kB / 0.8063 GB, free: 260 kB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004903/0.843, allocations: 8 kB / 0.8063 GB, free: 252 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002151/0.8451, allocations: 203.8 kB / 0.8065 GB, free: 48 kB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004763/0.8456, allocations: 165 kB / 0.8066 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001406/0.8458, allocations: 39.98 kB / 0.8067 GB, free: 15.85 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.00139/0.8472, allocations: 0.8637 MB / 0.8075 GB, free: 14.99 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002566/0.8497, allocations: 0.7523 MB / 0.8083 GB, free: 14.23 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.0005334/0.8503, allocations: 159 kB / 0.8084 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01416/0.8645, allocations: 4.435 MB / 0.8127 GB, free: 9.617 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.987e-06/0.8645, allocations: 0 / 0.8127 GB, free: 9.617 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.006223/0.8707, allocations: 1.895 MB / 0.8146 GB, free: 7.711 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001355/0.8721, allocations: 117.9 kB / 0.8147 GB, free: 7.598 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007869/0.88, allocations: 2.749 MB / 0.8174 GB, free: 4.785 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00147/0.8815, allocations: 1.446 MB / 0.8188 GB, free: 3.309 MB / 0.5417 GB Notification: Performance of SimCode: time 1.292e-06/0.8815, allocations: 0 / 0.8188 GB, free: 3.309 MB / 0.5417 GB Notification: Performance of Templates: time 0.2892/1.171, allocations: 37.35 MB / 0.8553 GB, free: 239.5 MB / 0.573 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.makefile (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 & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe 2>&1)