Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.IEESGO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009969/0.0009974, allocations: 172 kB / 12.73 MB, free: 2.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 221.4 MB / 234.6 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008491/0.0008492, allocations: 97.36 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4515/0.4515, allocations: 78.03 MB / 414.5 MB, free: 10.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.079e-05/3.081e-05, allocations: 0 / 491.8 MB, free: 13.92 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.3402, allocations: 69.36 MB / 0.548 GB, free: 20.08 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1317/0.472, allocations: 111.6 MB / 0.657 GB, free: 4.805 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00025/0.4723, allocations: 91.94 kB / 0.657 GB, free: 4.715 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4353/0.9077, allocations: 47.68 MB / 0.7036 GB, free: 104.7 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.9077, allocations: 4 kB / 0.7036 GB, free: 104.7 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.817e-05/0.9078, allocations: 34.59 kB / 0.7036 GB, free: 104.7 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.005203/0.913, allocations: 2.235 MB / 0.7058 GB, free: 103.2 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.9131, allocations: 18.75 kB / 0.7058 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002929/0.916, allocations: 0.5711 MB / 0.7064 GB, free: 103 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001722/0.9177, allocations: 1.078 MB / 0.7075 GB, free: 102.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004352/0.9182, allocations: 0.576 MB / 0.708 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001988/0.9184, allocations: 124.3 kB / 0.7081 GB, free: 101.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002103/0.9205, allocations: 1.368 MB / 0.7095 GB, free: 100.3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.361e-05/0.9205, allocations: 0 / 0.7095 GB, free: 100.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001269/0.9207, allocations: 51.94 kB / 0.7095 GB, free: 100.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.678e-05/0.9207, allocations: 28 kB / 0.7095 GB, free: 100.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002003/0.9227, allocations: 1.254 MB / 0.7108 GB, free: 98.98 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009697/0.9324, allocations: 5.576 MB / 0.7162 GB, free: 93.22 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007458/0.9399, allocations: 3.309 MB / 0.7194 GB, free: 89.77 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001314/0.9413, allocations: 0.7803 MB / 0.7202 GB, free: 88.98 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001581/0.9414, allocations: 29.67 kB / 0.7202 GB, free: 88.96 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001469/0.9429, allocations: 0.9514 MB / 0.7212 GB, free: 87.98 MB / 490.7 MB Notification: Performance of pre-optimization done (n=139): time 3.747e-06/0.9429, allocations: 0 / 0.7212 GB, free: 87.98 MB / 490.7 MB Notification: Performance of matching and sorting (n=139): time 0.01433/0.9573, allocations: 5.046 MB / 0.7261 GB, free: 82.93 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.031e-05/0.9574, allocations: 175.5 kB / 0.7263 GB, free: 82.72 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00191/0.9593, allocations: 1.267 MB / 0.7275 GB, free: 81.45 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003981/0.9597, allocations: 57.69 kB / 0.7276 GB, free: 81.39 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003711/0.9601, allocations: 0.7099 MB / 0.7282 GB, free: 80.67 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004399/0.9605, allocations: 0.4886 MB / 0.7287 GB, free: 80.19 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.26e-05/0.9606, allocations: 32 kB / 0.7288 GB, free: 80.16 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.795e-05/0.9607, allocations: 365.9 kB / 0.7291 GB, free: 79.79 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001019/0.9617, allocations: 0.6563 MB / 0.7297 GB, free: 79.14 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001081/0.9628, allocations: 0.8403 MB / 0.7306 GB, free: 78.24 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/0.9639, allocations: 0.7495 MB / 0.7313 GB, free: 77.49 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-06/0.9639, allocations: 0 / 0.7313 GB, free: 77.49 MB / 490.7 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004033/0.968, allocations: 2.363 MB / 0.7336 GB, free: 75.11 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003778/0.9684, allocations: 1.482 MB / 0.7351 GB, free: 73.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/0.9684, allocations: 4 kB / 0.7351 GB, free: 73.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007285/0.9757, allocations: 2.444 MB / 0.7374 GB, free: 71.05 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/0.9768, allocations: 215.7 kB / 0.7376 GB, free: 70.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004443/0.9813, allocations: 2.456 MB / 0.74 GB, free: 68.36 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002903/0.9843, allocations: 290.5 kB / 0.7403 GB, free: 68.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002488/0.9845, allocations: 59.98 kB / 0.7404 GB, free: 68.02 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.9846, allocations: 4 kB / 0.7404 GB, free: 68.01 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003479/0.988, allocations: 2.176 MB / 0.7425 GB, free: 65.83 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.9881, allocations: 4 kB / 0.7425 GB, free: 65.82 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00697/0.995, allocations: 2.435 MB / 0.7449 GB, free: 63.38 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/0.9961, allocations: 207.7 kB / 0.7451 GB, free: 63.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004307/1, allocations: 2.453 MB / 0.7475 GB, free: 60.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002393/1.003, allocations: 278.7 kB / 0.7478 GB, free: 60.43 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002235/1.003, allocations: 55.98 kB / 0.7478 GB, free: 60.38 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 (118): * Single equations (assignments): 116 * 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.0004131/1.004, allocations: 172.7 kB / 0.748 GB, free: 60.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005508/1.004, allocations: 185.8 kB / 0.7481 GB, free: 60.02 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01425/1.018, allocations: 5.201 MB / 0.7532 GB, free: 54.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.807e-05/1.018, allocations: 16 kB / 0.7532 GB, free: 54.78 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/1.018, allocations: 0 / 0.7532 GB, free: 54.78 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001001/1.019, allocations: 7.969 kB / 0.7532 GB, free: 54.77 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01949/1.038, allocations: 7.692 MB / 0.7608 GB, free: 46.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-05/1.038, allocations: 0 / 0.7608 GB, free: 46.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001191/1.039, allocations: 179.8 kB / 0.7609 GB, free: 46.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006166/1.046, allocations: 2.017 MB / 0.7629 GB, free: 44.78 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003663/1.046, allocations: 31.98 kB / 0.7629 GB, free: 44.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01675/1.063, allocations: 7.858 MB / 0.7706 GB, free: 36.75 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.063, allocations: 0 / 0.7706 GB, free: 36.75 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01648/1.079, allocations: 6.281 MB / 0.7767 GB, free: 30.43 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006974/1.08, allocations: 302.6 kB / 0.777 GB, free: 30.11 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006032/1.081, allocations: 27.94 kB / 0.7771 GB, free: 30.08 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002179/1.083, allocations: 207.8 kB / 0.7773 GB, free: 29.88 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000876/1.084, allocations: 273.3 kB / 0.7775 GB, free: 29.61 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001811/1.084, allocations: 39.98 kB / 0.7776 GB, free: 29.57 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001451/1.085, allocations: 0.9781 MB / 0.7785 GB, free: 28.6 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.51e-07/1.085, allocations: 0 / 0.7785 GB, free: 28.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002493/1.088, allocations: 0.8267 MB / 0.7793 GB, free: 27.77 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.0003932/1.088, allocations: 194.7 kB / 0.7795 GB, free: 27.57 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01217/1.1, allocations: 4.4 MB / 0.7838 GB, free: 23.16 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.609e-06/1.1, allocations: 4.188 kB / 0.7838 GB, free: 23.15 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005868/1.106, allocations: 1.963 MB / 0.7857 GB, free: 21.17 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001758/1.108, allocations: 147.7 kB / 0.7859 GB, free: 21.02 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006428/1.115, allocations: 2.746 MB / 0.7885 GB, free: 18.24 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001024/1.116, allocations: 1.341 MB / 0.7898 GB, free: 16.86 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001777/1.118, allocations: 290.9 kB / 0.7901 GB, free: 16.57 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003353/1.118, allocations: 75.42 kB / 0.7902 GB, free: 16.5 MB / 490.7 MB Notification: Performance of SimCode: time 1.853e-06/1.118, allocations: 0 / 0.7902 GB, free: 16.5 MB / 490.7 MB Notification: Performance of Templates: time 0.05439/1.172, allocations: 34.78 MB / 0.8242 GB, free: 13.74 MB / 0.5105 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe 2>&1)