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/ModelicaServices 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/Complex 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.IEESGO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 222.9 MB / 239.5 MB, free: 4.762 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 184.5 kB / 289.8 MB, free: 2.504 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4977/0.4977, allocations: 91.89 MB / 431.8 MB, free: 9.434 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001589/0.001589, allocations: 79.89 kB / 0.5019 GB, free: 8.156 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.351, allocations: 71.26 MB / 0.5714 GB, free: 36.46 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.IEESGO): time 0.006935/0.358, allocations: 9.141 MB / 0.5804 GB, free: 30.99 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004713/0.3627, allocations: 2.811 MB / 0.5831 GB, free: 29 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001093/0.3638, allocations: 18.81 kB / 0.5831 GB, free: 29 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009132/0.3648, allocations: 290.6 kB / 0.5834 GB, free: 28.87 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002471/0.3673, allocations: 0.9253 MB / 0.5843 GB, free: 28.28 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001757/0.3691, allocations: 0.8605 MB / 0.5852 GB, free: 27.79 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002347/0.3714, allocations: 2.371 MB / 0.5875 GB, free: 26.67 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006063/0.372, allocations: 468.8 kB / 0.5879 GB, free: 26.42 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001288/0.3733, allocations: 0.8887 MB / 0.5888 GB, free: 26.02 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001162/0.3745, allocations: 1.143 MB / 0.5899 GB, free: 25.5 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002599/0.3748, allocations: 119.3 kB / 0.59 GB, free: 25.49 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007456/0.3755, allocations: 331.3 kB / 0.5903 GB, free: 25.42 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003105/0.3758, allocations: 435.6 kB / 0.5907 GB, free: 25.18 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007272/0.3766, allocations: 0.9245 MB / 0.5917 GB, free: 24.57 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001479/0.3781, allocations: 1.991 MB / 0.5936 GB, free: 23.83 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.3781, allocations: 0 / 0.5936 GB, free: 23.83 MB / 430.1 MB Notification: Performance of FrontEnd: time 7.42e-07/0.3781, allocations: 1.219 kB / 0.5936 GB, free: 23.83 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.023e-05/0.3781, allocations: 4 kB / 0.5936 GB, free: 23.83 MB / 430.1 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.01378/0.3919, allocations: 3.906 MB / 0.5974 GB, free: 22.18 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.392, allocations: 9.156 kB / 0.5974 GB, free: 22.18 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004887/0.3969, allocations: 0.7682 MB / 0.5982 GB, free: 22 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002657/0.3996, allocations: 1.247 MB / 0.5994 GB, free: 21.22 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004918/0.4001, allocations: 0.5661 MB / 0.5999 GB, free: 20.66 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002839/0.4004, allocations: 128.4 kB / 0.6001 GB, free: 20.62 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003357/0.4037, allocations: 1.59 MB / 0.6016 GB, free: 19.99 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.547e-05/0.4038, allocations: 1.375 kB / 0.6016 GB, free: 19.99 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001317/0.4039, allocations: 46 kB / 0.6017 GB, free: 19.95 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.393e-05/0.4039, allocations: 30.25 kB / 0.6017 GB, free: 19.95 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003408/0.4074, allocations: 1.504 MB / 0.6032 GB, free: 19.43 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.01084/0.4182, allocations: 5.599 MB / 0.6086 GB, free: 16.28 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008499/0.4267, allocations: 3.131 MB / 0.6117 GB, free: 15.02 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002324/0.4291, allocations: 0.9836 MB / 0.6127 GB, free: 14.62 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001718/0.4293, allocations: 27.05 kB / 0.6127 GB, free: 14.62 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002522/0.4318, allocations: 1.163 MB / 0.6138 GB, free: 14.16 MB / 430.1 MB Notification: Performance of pre-optimization done (n=140): time 3.937e-06/0.4318, allocations: 0 / 0.6138 GB, free: 14.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=140): time 0.03747/0.4693, allocations: 9.619 MB / 0.6232 GB, free: 9.234 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.266e-05/0.4694, allocations: 175.5 kB / 0.6234 GB, free: 9.023 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002162/0.4716, allocations: 1.576 MB / 0.6249 GB, free: 7.441 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003678/0.4719, allocations: 57.7 kB / 0.625 GB, free: 7.379 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003511/0.4723, allocations: 0.6755 MB / 0.6256 GB, free: 6.691 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004498/0.4728, allocations: 0.4968 MB / 0.6261 GB, free: 6.188 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005635/0.4733, allocations: 367.4 kB / 0.6265 GB, free: 5.82 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.308e-05/0.4734, allocations: 313 kB / 0.6268 GB, free: 5.512 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001981/0.4754, allocations: 1.051 MB / 0.6278 GB, free: 4.449 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00207/0.4774, allocations: 1.265 MB / 0.629 GB, free: 3.125 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003899/0.4813, allocations: 2.261 MB / 0.6312 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.697e-06/0.4814, allocations: 4 kB / 0.6312 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01666/0.498, allocations: 5.611 MB / 0.6367 GB, free: 11.17 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.349e-05/0.4981, allocations: 37.69 kB / 0.6368 GB, free: 11.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.786e-05/0.4982, allocations: 4 kB / 0.6368 GB, free: 11.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009069/0.5072, allocations: 2.584 MB / 0.6393 GB, free: 8.531 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001697/0.509, allocations: 323.5 kB / 0.6396 GB, free: 8.215 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006668/0.5157, allocations: 2.924 MB / 0.6424 GB, free: 5.266 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002819/0.5185, allocations: 282.1 kB / 0.6427 GB, free: 4.988 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002384/0.5188, allocations: 67.98 kB / 0.6428 GB, free: 4.922 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002862/0.5216, allocations: 1.285 MB / 0.644 GB, free: 3.629 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002371/0.524, allocations: 1.25 MB / 0.6453 GB, free: 2.32 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004491/0.5285, allocations: 2.242 MB / 0.6474 GB, free: 24 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.167e-06/0.5286, allocations: 4 kB / 0.6474 GB, free: 20 kB / 446.1 MB Notification: Performance of matching and sorting (n=259) (initialization_lambda0): time 0.01673/0.5453, allocations: 5.596 MB / 0.6529 GB, free: 10.39 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.159e-05/0.5454, allocations: 29.7 kB / 0.6529 GB, free: 10.36 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.5454, allocations: 4 kB / 0.6529 GB, free: 10.36 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00878/0.5542, allocations: 2.588 MB / 0.6555 GB, free: 7.766 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001684/0.5559, allocations: 323.5 kB / 0.6558 GB, free: 7.449 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006759/0.5627, allocations: 2.912 MB / 0.6586 GB, free: 4.508 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00279/0.5655, allocations: 258.5 kB / 0.6589 GB, free: 4.254 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002066/0.5658, allocations: 71.92 kB / 0.6589 GB, free: 4.184 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (187): * Single equations (assignments): 185 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(29,44)} Notification: Performance of prepare postOptimizeDAE: time 0.0004953/0.5663, allocations: 271.9 kB / 0.6592 GB, free: 3.91 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004273/0.5667, allocations: 177.8 kB / 0.6594 GB, free: 3.734 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01557/0.5823, allocations: 4.977 MB / 0.6642 GB, free: 14.73 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-05/0.5824, allocations: 16 kB / 0.6642 GB, free: 14.72 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.868e-06/0.5824, allocations: 0 / 0.6642 GB, free: 14.72 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.064e-05/0.5824, allocations: 7.969 kB / 0.6642 GB, free: 14.71 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.01942/0.6018, allocations: 7.449 MB / 0.6715 GB, free: 7.129 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.697e-05/0.6019, allocations: 0 / 0.6715 GB, free: 7.129 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001217/0.6031, allocations: 183.8 kB / 0.6717 GB, free: 6.949 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00722/0.6104, allocations: 2.146 MB / 0.6738 GB, free: 4.797 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003822/0.6108, allocations: 32 kB / 0.6738 GB, free: 4.766 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02315/0.6339, allocations: 9.175 MB / 0.6828 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.634, allocations: 0 / 0.6828 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01884/0.6528, allocations: 6.2 MB / 0.6888 GB, free: 5.207 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008862/0.6538, allocations: 290.6 kB / 0.6891 GB, free: 4.902 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000355/0.6541, allocations: 28 kB / 0.6891 GB, free: 4.875 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001733/0.6559, allocations: 159.8 kB / 0.6893 GB, free: 4.719 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008697/0.6568, allocations: 277.2 kB / 0.6896 GB, free: 4.449 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000117/0.6569, allocations: 39.98 kB / 0.6896 GB, free: 4.41 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001773/0.6587, allocations: 1.068 MB / 0.6906 GB, free: 3.348 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.6587, allocations: 0 / 0.6906 GB, free: 3.348 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002387/0.6611, allocations: 0.9088 MB / 0.6915 GB, free: 2.438 MB / 494.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003623/0.6614, allocations: 159.1 kB / 0.6917 GB, free: 2.273 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01533/0.6768, allocations: 5.162 MB / 0.6967 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.616e-06/0.6768, allocations: 0.875 kB / 0.6967 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00627/0.6831, allocations: 1.967 MB / 0.6986 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001741/0.6849, allocations: 161.7 kB / 0.6988 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007163/0.6921, allocations: 4.137 MB / 0.7028 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008095/0.6929, allocations: 1.308 MB / 0.7041 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007533/0.6937, allocations: 115.3 kB / 0.7042 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of SimCode: time 9.62e-07/0.6937, allocations: 0 / 0.7042 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of Templates: time 0.03717/0.7309, allocations: 28.99 MB / 0.7325 GB, free: 8.316 MB / 0.5294 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.makefile (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 & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe 2>&1)