Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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.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 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_release_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.IEESGO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_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.006561/0.006561, allocations: 169 kB / 15.12 MB, free: 5.559 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.298/1.298, allocations: 223.2 MB / 239 MB, free: 1.781 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008814/0.0008814, allocations: 90.89 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4898/0.4898, allocations: 78.58 MB / 419.9 MB, free: 44.21 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003642/0.0003644, allocations: 16 kB / 499.8 MB, free: 2.926 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4337/0.4341, allocations: 69.34 MB / 0.5558 GB, free: 38.89 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.IEESGO): time 0.007699/0.4419, allocations: 7.671 MB / 0.5633 GB, free: 36.41 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.006336/0.4482, allocations: 2.731 MB / 0.5659 GB, free: 34.47 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00205/0.4503, allocations: 20.34 kB / 0.566 GB, free: 34.47 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001006/0.4514, allocations: 244.3 kB / 0.5662 GB, free: 34.36 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003581/0.4549, allocations: 1.131 MB / 0.5673 GB, free: 33.64 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.00198/0.4569, allocations: 0.6524 MB / 0.5679 GB, free: 33.32 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.003268/0.4602, allocations: 1.621 MB / 0.5695 GB, free: 32.48 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006846/0.4609, allocations: 408.3 kB / 0.5699 GB, free: 32.29 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001229/0.4621, allocations: 0.8481 MB / 0.5707 GB, free: 31.91 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001009/0.4632, allocations: 1.061 MB / 0.5718 GB, free: 31.46 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001876/0.4634, allocations: 93.94 kB / 0.5719 GB, free: 31.46 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007152/0.4641, allocations: 291.5 kB / 0.5721 GB, free: 31.39 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003037/0.4644, allocations: 388.4 kB / 0.5725 GB, free: 31.19 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002989/0.4647, allocations: 328.8 kB / 0.5728 GB, free: 30.98 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001537/0.4663, allocations: 1.9 MB / 0.5747 GB, free: 30.46 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.4663, allocations: 0 / 0.5747 GB, free: 30.46 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.624e-06/0.4663, allocations: 0 / 0.5747 GB, free: 30.46 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.841e-05/0.4663, allocations: 0 / 0.5747 GB, free: 30.46 MB / 426.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.01364/0.48, allocations: 4.018 MB / 0.5786 GB, free: 28.99 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.803e-05/0.48, allocations: 8.781 kB / 0.5786 GB, free: 28.99 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004558/0.4846, allocations: 0.7827 MB / 0.5794 GB, free: 28.81 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002309/0.4869, allocations: 1.185 MB / 0.5805 GB, free: 28.09 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004702/0.4874, allocations: 0.5807 MB / 0.5811 GB, free: 27.53 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002092/0.4876, allocations: 129.8 kB / 0.5812 GB, free: 27.49 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002951/0.4906, allocations: 1.655 MB / 0.5828 GB, free: 26.85 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.563e-05/0.4906, allocations: 3.938 kB / 0.5828 GB, free: 26.84 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001286/0.4908, allocations: 46.19 kB / 0.5829 GB, free: 26.81 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.039e-05/0.4908, allocations: 26.66 kB / 0.5829 GB, free: 26.81 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003006/0.4938, allocations: 1.585 MB / 0.5845 GB, free: 26.29 MB / 426.7 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.008957/0.5028, allocations: 5.822 MB / 0.5901 GB, free: 22.99 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008681/0.5115, allocations: 3.688 MB / 0.5937 GB, free: 21.67 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002002/0.5117, allocations: 22.64 kB / 0.5938 GB, free: 21.67 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002501/0.5142, allocations: 1.229 MB / 0.595 GB, free: 21.22 MB / 426.7 MB Notification: Performance of pre-optimization done (n=140): time 3.878e-06/0.5142, allocations: 0 / 0.595 GB, free: 21.22 MB / 426.7 MB Notification: Performance of matching and sorting (n=140): time 0.04256/0.5568, allocations: 11.69 MB / 0.6064 GB, free: 19.28 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.679e-05/0.5569, allocations: 174.9 kB / 0.6065 GB, free: 19.09 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002711/0.5596, allocations: 1.568 MB / 0.6081 GB, free: 18.23 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003483/0.56, allocations: 56.48 kB / 0.6081 GB, free: 18.18 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004146/0.5604, allocations: 0.6802 MB / 0.6088 GB, free: 17.57 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004946/0.5609, allocations: 0.5059 MB / 0.6093 GB, free: 17.12 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001237/0.561, allocations: 40.25 kB / 0.6093 GB, free: 17.09 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.5612, allocations: 382.6 kB / 0.6097 GB, free: 16.72 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002387/0.5635, allocations: 1.115 MB / 0.6108 GB, free: 16.19 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002658/0.5662, allocations: 1.332 MB / 0.6121 GB, free: 15.44 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002578/0.5688, allocations: 1.228 MB / 0.6133 GB, free: 14.82 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/0.5688, allocations: 0.9375 kB / 0.6133 GB, free: 14.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=259) (initialization): time 0.009644/0.5785, allocations: 4.573 MB / 0.6177 GB, free: 10.25 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003844/0.5789, allocations: 1.379 MB / 0.6191 GB, free: 8.742 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/0.5789, allocations: 4 kB / 0.6191 GB, free: 8.738 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008569/0.5875, allocations: 2.951 MB / 0.622 GB, free: 5.781 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001472/0.589, allocations: 327.5 kB / 0.6223 GB, free: 5.461 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006056/0.595, allocations: 3.221 MB / 0.6254 GB, free: 2.215 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002576/0.5976, allocations: 338 kB / 0.6258 GB, free: 1.883 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002358/0.5979, allocations: 71.97 kB / 0.6258 GB, free: 1.812 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.5979, allocations: 7.938 kB / 0.6258 GB, free: 1.805 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01056/0.6085, allocations: 4.369 MB / 0.6301 GB, free: 13.42 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.574e-05/0.6085, allocations: 4 kB / 0.6301 GB, free: 13.41 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009346/0.6179, allocations: 2.935 MB / 0.633 GB, free: 10.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001676/0.6196, allocations: 323.5 kB / 0.6333 GB, free: 10.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007135/0.6267, allocations: 3.2 MB / 0.6364 GB, free: 6.941 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002746/0.6295, allocations: 318.3 kB / 0.6367 GB, free: 6.629 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000323/0.6298, allocations: 67.98 kB / 0.6368 GB, free: 6.562 MB / 442.7 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.001013/0.6309, allocations: 408.8 kB / 0.6372 GB, free: 6.152 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000555/0.6314, allocations: 177.8 kB / 0.6373 GB, free: 5.977 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01801/0.6494, allocations: 6.016 MB / 0.6432 GB, free: 15.95 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.338e-05/0.6495, allocations: 12 kB / 0.6432 GB, free: 15.93 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.407e-05/0.6495, allocations: 4 kB / 0.6432 GB, free: 15.93 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.056e-05/0.6496, allocations: 11.95 kB / 0.6432 GB, free: 15.92 MB / 458.7 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.02303/0.6726, allocations: 8.543 MB / 0.6516 GB, free: 7.219 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.712e-05/0.6727, allocations: 11.92 kB / 0.6516 GB, free: 7.207 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001186/0.6739, allocations: 179.8 kB / 0.6518 GB, free: 7.031 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007864/0.6818, allocations: 2.513 MB / 0.6542 GB, free: 4.516 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002966/0.6821, allocations: 28 kB / 0.6542 GB, free: 4.488 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02668/0.7088, allocations: 10.87 MB / 0.6649 GB, free: 9.473 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.7088, allocations: 0 / 0.6649 GB, free: 9.473 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02064/0.7295, allocations: 7.378 MB / 0.6721 GB, free: 2.035 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006952/0.7302, allocations: 298.6 kB / 0.6724 GB, free: 1.723 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004915/0.7307, allocations: 32 kB / 0.6724 GB, free: 1.691 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002037/0.7327, allocations: 199.8 kB / 0.6726 GB, free: 1.496 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007799/0.7335, allocations: 277.3 kB / 0.6728 GB, free: 1.227 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001465/0.7337, allocations: 39.98 kB / 0.6729 GB, free: 1.188 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001928/0.7356, allocations: 1.053 MB / 0.6739 GB, free: 144 kB / 474.7 MB Notification: Performance of sort global known variables: time 2e-07/0.7356, allocations: 0 / 0.6739 GB, free: 144 kB / 474.7 MB Notification: Performance of remove unused functions: time 0.002776/0.7384, allocations: 0.9128 MB / 0.6748 GB, free: 15.22 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 () * 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.0003728/0.7388, allocations: 170.6 kB / 0.675 GB, free: 15.05 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01633/0.7551, allocations: 5.794 MB / 0.6806 GB, free: 9.234 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/0.7552, allocations: 0 / 0.6806 GB, free: 9.234 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007069/0.7623, allocations: 2.265 MB / 0.6828 GB, free: 6.957 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001466/0.7638, allocations: 139.1 kB / 0.683 GB, free: 6.82 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007284/0.7711, allocations: 4.062 MB / 0.6869 GB, free: 2.73 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009278/0.772, allocations: 1.346 MB / 0.6882 GB, free: 1.352 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001139/0.7732, allocations: 207.1 kB / 0.6884 GB, free: 1.145 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004486/0.7736, allocations: 99.41 kB / 0.6885 GB, free: 1.051 MB / 490.7 MB Notification: Performance of SimCode: time 9.22e-07/0.7737, allocations: 0 / 0.6885 GB, free: 1.051 MB / 490.7 MB Notification: Performance of Templates: time 0.05556/0.8292, allocations: 33.23 MB / 0.721 GB, free: 15.83 MB / 0.5261 GB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.sim & ./OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe 2>&1)