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/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.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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009608/0.0009608, allocations: 100 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.259/1.259, allocations: 223.2 MB / 238.9 MB, free: 5.504 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.001113/0.001113, allocations: 189 kB / 290.2 MB, free: 2.191 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4137/0.4137, allocations: 78.53 MB / 419.8 MB, free: 4.266 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003404/0.0003405, allocations: 8 kB / 499.7 MB, free: 6.367 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1132, allocations: 69.35 MB / 0.5557 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.IEESGO): time 0.187/0.3003, allocations: 7.671 MB / 0.5632 GB, free: 37.02 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004539/0.3048, allocations: 2.72 MB / 0.5658 GB, free: 36.65 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001226/0.3061, allocations: 16.28 kB / 0.5658 GB, free: 36.65 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007883/0.3069, allocations: 246.5 kB / 0.5661 GB, free: 36.56 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002579/0.3095, allocations: 1.13 MB / 0.5672 GB, free: 36.3 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/NonElectrical/Logical/NegCurLogic.mo:14:3-14:60:writable] Warning: In relation sCRX.negCurLogic.RC_rfd == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001416/0.3109, allocations: 0.6574 MB / 0.5678 GB, free: 36.22 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0017/0.3126, allocations: 1.619 MB / 0.5694 GB, free: 35.38 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004595/0.3131, allocations: 413.1 kB / 0.5698 GB, free: 35.23 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007425/0.3138, allocations: 0.8447 MB / 0.5706 GB, free: 34.86 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001069/0.3149, allocations: 1.055 MB / 0.5717 GB, free: 34.4 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000245/0.3152, allocations: 94.75 kB / 0.5717 GB, free: 34.4 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005337/0.3157, allocations: 294.3 kB / 0.572 GB, free: 34.34 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002772/0.316, allocations: 394.9 kB / 0.5724 GB, free: 34.13 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002445/0.3163, allocations: 323.4 kB / 0.5727 GB, free: 33.93 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00125/0.3175, allocations: 1.899 MB / 0.5746 GB, free: 33.41 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.3175, allocations: 2.719 kB / 0.5746 GB, free: 33.41 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3175, allocations: 0 / 0.5746 GB, free: 33.41 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.819e-05/0.3176, allocations: 0 / 0.5746 GB, free: 33.41 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.01264/0.3302, allocations: 4.013 MB / 0.5785 GB, free: 31.98 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.3303, allocations: 11.91 kB / 0.5785 GB, free: 31.98 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004152/0.3344, allocations: 0.7844 MB / 0.5793 GB, free: 31.79 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001922/0.3364, allocations: 1.178 MB / 0.5804 GB, free: 31.08 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004732/0.3368, allocations: 0.5838 MB / 0.581 GB, free: 30.52 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002424/0.3371, allocations: 131.2 kB / 0.5811 GB, free: 30.48 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003161/0.3403, allocations: 1.652 MB / 0.5827 GB, free: 29.84 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/0.3403, allocations: 4.453 kB / 0.5827 GB, free: 29.84 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001522/0.3405, allocations: 50.5 kB / 0.5828 GB, free: 29.8 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.857e-05/0.3405, allocations: 25.81 kB / 0.5828 GB, free: 29.8 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002996/0.3435, allocations: 1.583 MB / 0.5843 GB, free: 29.28 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.008924/0.3524, allocations: 5.818 MB / 0.59 GB, free: 25.99 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009154/0.3616, allocations: 3.696 MB / 0.5936 GB, free: 24.68 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001462/0.3618, allocations: 32.19 kB / 0.5937 GB, free: 24.66 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002458/0.3642, allocations: 1.227 MB / 0.5949 GB, free: 24.22 MB / 430.1 MB Notification: Performance of pre-optimization done (n=140): time 3.566e-06/0.3643, allocations: 0 / 0.5949 GB, free: 24.22 MB / 430.1 MB Notification: Performance of matching and sorting (n=140): time 0.04106/0.4053, allocations: 11.69 MB / 0.6063 GB, free: 22.32 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.078e-05/0.4054, allocations: 171 kB / 0.6064 GB, free: 22.13 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002512/0.4079, allocations: 1.57 MB / 0.608 GB, free: 21.52 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002863/0.4082, allocations: 59.64 kB / 0.608 GB, free: 21.46 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004008/0.4086, allocations: 0.682 MB / 0.6087 GB, free: 20.88 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004214/0.4091, allocations: 0.5016 MB / 0.6092 GB, free: 20.43 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/0.4092, allocations: 40.25 kB / 0.6092 GB, free: 20.4 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.814e-05/0.4093, allocations: 386.3 kB / 0.6096 GB, free: 20.04 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002284/0.4116, allocations: 1.12 MB / 0.6107 GB, free: 19.5 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002377/0.414, allocations: 1.323 MB / 0.612 GB, free: 18.76 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002294/0.4163, allocations: 1.228 MB / 0.6132 GB, free: 18.14 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/0.4163, allocations: 1.375 kB / 0.6132 GB, free: 18.14 MB / 430.1 MB Notification: Performance of matching and sorting (n=259) (initialization): time 0.00969/0.426, allocations: 4.571 MB / 0.6176 GB, free: 14.31 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002205/0.4262, allocations: 1.371 MB / 0.619 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.4262, allocations: 4 kB / 0.619 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008311/0.4346, allocations: 2.959 MB / 0.6219 GB, free: 9.844 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001328/0.4359, allocations: 327.5 kB / 0.6222 GB, free: 9.523 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00597/0.4419, allocations: 3.228 MB / 0.6253 GB, free: 6.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002155/0.4441, allocations: 334.1 kB / 0.6257 GB, free: 5.941 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001507/0.4442, allocations: 76.47 kB / 0.6257 GB, free: 5.867 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.266e-06/0.4442, allocations: 4 kB / 0.6257 GB, free: 5.863 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009207/0.4534, allocations: 4.357 MB / 0.63 GB, free: 1.492 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.4535, allocations: 4 kB / 0.63 GB, free: 1.488 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008722/0.4622, allocations: 2.947 MB / 0.6329 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00148/0.4637, allocations: 320.2 kB / 0.6332 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00678/0.4705, allocations: 3.201 MB / 0.6363 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00219/0.4727, allocations: 310.3 kB / 0.6366 GB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001575/0.4729, allocations: 73 kB / 0.6367 GB, free: 10.63 MB / 446.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 ($whenCondition1,$whenCondition2) * 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 (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 44} Notification: Performance of prepare postOptimizeDAE: time 0.0008129/0.4737, allocations: 416.7 kB / 0.6371 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003268/0.474, allocations: 183.5 kB / 0.6372 GB, free: 10.03 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0173/0.4913, allocations: 6.001 MB / 0.6431 GB, free: 4.012 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.519e-05/0.4914, allocations: 16 kB / 0.6431 GB, free: 3.996 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.4914, allocations: 0 / 0.6431 GB, free: 3.996 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.735e-05/0.4914, allocations: 5.484 kB / 0.6431 GB, free: 3.992 MB / 446.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.02065/0.5121, allocations: 8.554 MB / 0.6515 GB, free: 11.28 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.5121, allocations: 0 / 0.6515 GB, free: 11.28 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/0.5131, allocations: 183.8 kB / 0.6517 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007856/0.521, allocations: 2.511 MB / 0.6541 GB, free: 8.59 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001692/0.5212, allocations: 39.98 kB / 0.6541 GB, free: 8.551 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02579/0.547, allocations: 10.87 MB / 0.6648 GB, free: 13.54 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.547, allocations: 4 kB / 0.6648 GB, free: 13.53 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0204/0.5674, allocations: 7.365 MB / 0.672 GB, free: 6.113 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007807/0.5682, allocations: 298.6 kB / 0.6722 GB, free: 5.801 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004086/0.5687, allocations: 28 kB / 0.6723 GB, free: 5.773 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001803/0.5705, allocations: 215.8 kB / 0.6725 GB, free: 5.562 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008051/0.5713, allocations: 267.4 kB / 0.6727 GB, free: 5.305 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001145/0.5714, allocations: 43.98 kB / 0.6728 GB, free: 5.262 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001852/0.5733, allocations: 1.06 MB / 0.6738 GB, free: 4.207 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.5733, allocations: 1.875 kB / 0.6738 GB, free: 4.207 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00269/0.576, allocations: 0.9049 MB / 0.6747 GB, free: 3.301 MB / 478.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 (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.0004399/0.5764, allocations: 163 kB / 0.6748 GB, free: 3.129 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01654/0.593, allocations: 5.788 MB / 0.6805 GB, free: 13.32 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/0.593, allocations: 4.25 kB / 0.6805 GB, free: 13.32 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006538/0.5996, allocations: 2.259 MB / 0.6827 GB, free: 11.05 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001086/0.6007, allocations: 140.4 kB / 0.6828 GB, free: 10.91 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006535/0.6072, allocations: 4.067 MB / 0.6868 GB, free: 6.887 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008202/0.6081, allocations: 1.354 MB / 0.6881 GB, free: 5.5 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008845/0.609, allocations: 197.4 kB / 0.6883 GB, free: 5.309 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003522/0.6093, allocations: 103.4 kB / 0.6884 GB, free: 5.207 MB / 494.1 MB Notification: Performance of SimCode: time 5.01e-07/0.6094, allocations: 4 kB / 0.6884 GB, free: 5.203 MB / 494.1 MB Notification: Performance of Templates: time 0.04931/0.6587, allocations: 33.21 MB / 0.7209 GB, free: 4.102 MB / 0.5137 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: