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.001313/0.001313, allocations: 174 kB / 15.77 MB, free: 6.328 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.531/1.531, allocations: 223.2 MB / 239.8 MB, free: 15.98 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.001049/0.001049, allocations: 97.03 kB / 290.9 MB, free: 4.473 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5487/0.5487, allocations: 78.62 MB / 420.7 MB, free: 36.38 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004239/0.0004241, allocations: 8 kB / 0.4888 GB, free: 7.227 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.163, allocations: 69.37 MB / 0.5565 GB, free: 1.789 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.IEESGO): time 0.00819/0.1713, allocations: 8.022 MB / 0.5644 GB, free: 9.73 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.005799/0.1771, allocations: 2.661 MB / 0.567 GB, free: 7.062 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001636/0.1788, allocations: 16 kB / 0.567 GB, free: 7.047 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001289/0.1801, allocations: 258.2 kB / 0.5672 GB, free: 6.793 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00364/0.1838, allocations: 1.045 MB / 0.5683 GB, free: 5.75 MB / 442.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.001764/0.1855, allocations: 0.6611 MB / 0.5689 GB, free: 5.098 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.003228/0.1888, allocations: 2.369 MB / 0.5712 GB, free: 2.723 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006819/0.1895, allocations: 407.2 kB / 0.5716 GB, free: 2.301 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001268/0.1907, allocations: 0.8441 MB / 0.5724 GB, free: 1.453 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001307/0.1921, allocations: 1.089 MB / 0.5735 GB, free: 368 kB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002316/0.1923, allocations: 92 kB / 0.5736 GB, free: 276 kB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2819/0.4742, allocations: 287.3 kB / 0.5739 GB, free: 33.64 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001137/0.4754, allocations: 399.5 kB / 0.5742 GB, free: 33.64 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007832/0.4762, allocations: 325.2 kB / 0.5745 GB, free: 33.61 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002498/0.4787, allocations: 1.947 MB / 0.5764 GB, free: 33.5 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.4788, allocations: 1.156 kB / 0.5764 GB, free: 33.5 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4788, allocations: 0 / 0.5764 GB, free: 33.5 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.007e-05/0.4788, allocations: 0 / 0.5764 GB, free: 33.5 MB / 442.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.01509/0.4939, allocations: 4.013 MB / 0.5804 GB, free: 32.41 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.494, allocations: 8.781 kB / 0.5804 GB, free: 32.41 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005159/0.4991, allocations: 0.7775 MB / 0.5811 GB, free: 32.3 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003006/0.5022, allocations: 1.186 MB / 0.5823 GB, free: 31.93 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005795/0.5028, allocations: 0.5807 MB / 0.5829 GB, free: 31.43 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002929/0.5031, allocations: 129.1 kB / 0.583 GB, free: 31.43 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00403/0.5071, allocations: 1.674 MB / 0.5846 GB, free: 31.3 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.506e-05/0.5071, allocations: 0 / 0.5846 GB, free: 31.3 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001483/0.5073, allocations: 44.75 kB / 0.5847 GB, free: 31.3 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-05/0.5073, allocations: 27.31 kB / 0.5847 GB, free: 31.3 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003956/0.5113, allocations: 1.583 MB / 0.5862 GB, free: 31.28 MB / 442.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.01493/0.5262, allocations: 5.7 MB / 0.5918 GB, free: 29.82 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01031/0.5366, allocations: 3.695 MB / 0.5954 GB, free: 29.07 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002558/0.5392, allocations: 1.063 MB / 0.5964 GB, free: 29.02 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001956/0.5394, allocations: 25.94 kB / 0.5965 GB, free: 29.02 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002688/0.5421, allocations: 1.237 MB / 0.5977 GB, free: 28.9 MB / 442.7 MB Notification: Performance of pre-optimization done (n=140): time 4.779e-06/0.5421, allocations: 0 / 0.5977 GB, free: 28.9 MB / 442.7 MB Notification: Performance of matching and sorting (n=140): time 0.04219/0.5843, allocations: 11.69 MB / 0.6091 GB, free: 28.14 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.974e-05/0.5844, allocations: 181.8 kB / 0.6093 GB, free: 27.95 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003488/0.5879, allocations: 1.562 MB / 0.6108 GB, free: 27.77 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005326/0.5885, allocations: 59.61 kB / 0.6108 GB, free: 27.73 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006102/0.5891, allocations: 0.6767 MB / 0.6115 GB, free: 27.52 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008599/0.59, allocations: 0.4941 MB / 0.612 GB, free: 27.2 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003287/0.5903, allocations: 41.97 kB / 0.612 GB, free: 27.2 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.5905, allocations: 380.7 kB / 0.6124 GB, free: 26.9 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002846/0.5934, allocations: 1.118 MB / 0.6135 GB, free: 26.88 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003167/0.5965, allocations: 1.347 MB / 0.6148 GB, free: 26.7 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003019/0.5996, allocations: 1.224 MB / 0.616 GB, free: 26.19 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.188e-05/0.5996, allocations: 1.531 kB / 0.616 GB, free: 26.19 MB / 442.7 MB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01266/0.6123, allocations: 4.575 MB / 0.6205 GB, free: 24.75 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001586/0.6125, allocations: 220.5 kB / 0.6207 GB, free: 24.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.216e-05/0.6125, allocations: 8.062 kB / 0.6207 GB, free: 24.49 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01163/0.6242, allocations: 2.952 MB / 0.6236 GB, free: 24 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002039/0.6262, allocations: 326.7 kB / 0.6239 GB, free: 23.99 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008509/0.6348, allocations: 3.221 MB / 0.627 GB, free: 22.58 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003362/0.6382, allocations: 338.4 kB / 0.6273 GB, free: 22.45 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004596/0.6387, allocations: 69.52 kB / 0.6274 GB, free: 22.44 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.6387, allocations: 4.688 kB / 0.6274 GB, free: 22.44 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01217/0.6509, allocations: 4.365 MB / 0.6317 GB, free: 21.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.023e-05/0.651, allocations: 2.875 kB / 0.6317 GB, free: 21.1 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009095/0.6601, allocations: 2.94 MB / 0.6345 GB, free: 19.66 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001751/0.6618, allocations: 318.7 kB / 0.6349 GB, free: 19.37 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006718/0.6686, allocations: 3.209 MB / 0.638 GB, free: 16.14 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002961/0.6716, allocations: 306.4 kB / 0.6383 GB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000396/0.672, allocations: 79.66 kB / 0.6384 GB, free: 15.77 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.001183/0.6732, allocations: 402.6 kB / 0.6387 GB, free: 15.38 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006442/0.6738, allocations: 181.7 kB / 0.6389 GB, free: 15.2 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01699/0.6908, allocations: 6.013 MB / 0.6448 GB, free: 9.215 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.663e-05/0.691, allocations: 16 kB / 0.6448 GB, free: 9.199 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-05/0.691, allocations: 2.062 kB / 0.6448 GB, free: 9.199 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.004e-05/0.6911, allocations: 7.969 kB / 0.6448 GB, free: 9.191 MB / 442.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.02207/0.7132, allocations: 8.498 MB / 0.6531 GB, free: 0.6367 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.433e-05/0.7132, allocations: 0 / 0.6531 GB, free: 0.6367 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001183/0.7144, allocations: 191.4 kB / 0.6533 GB, free: 476 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008186/0.7227, allocations: 2.51 MB / 0.6557 GB, free: 13.95 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003758/0.7231, allocations: 35.94 kB / 0.6558 GB, free: 13.92 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02762/0.7507, allocations: 10.31 MB / 0.6658 GB, free: 3.484 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.7507, allocations: 2.203 kB / 0.6658 GB, free: 3.484 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02291/0.7737, allocations: 7.325 MB / 0.673 GB, free: 12.16 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001017/0.7747, allocations: 298.6 kB / 0.6733 GB, free: 11.84 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008321/0.7756, allocations: 28 kB / 0.6733 GB, free: 11.82 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002632/0.7782, allocations: 208.9 kB / 0.6735 GB, free: 11.61 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001178/0.7794, allocations: 272.8 kB / 0.6738 GB, free: 11.35 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002445/0.7797, allocations: 39.98 kB / 0.6738 GB, free: 11.31 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002487/0.7822, allocations: 1.06 MB / 0.6748 GB, free: 10.26 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.7822, allocations: 0 / 0.6748 GB, free: 10.26 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004236/0.7865, allocations: 0.9088 MB / 0.6757 GB, free: 9.348 MB / 474.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.0006088/0.7871, allocations: 150.5 kB / 0.6759 GB, free: 9.199 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01918/0.8063, allocations: 5.802 MB / 0.6815 GB, free: 3.445 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.442e-05/0.8064, allocations: 0 / 0.6815 GB, free: 3.445 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007911/0.8143, allocations: 2.247 MB / 0.6837 GB, free: 1.211 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002531/0.8169, allocations: 162.4 kB / 0.6839 GB, free: 1.051 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009137/0.826, allocations: 4.088 MB / 0.6879 GB, free: 13.01 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001275/0.8273, allocations: 1.308 MB / 0.6892 GB, free: 11.67 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008528/0.8282, allocations: 112.6 kB / 0.6893 GB, free: 11.57 MB / 490.7 MB Notification: Performance of SimCode: time 1.272e-06/0.8282, allocations: 0 / 0.6893 GB, free: 11.57 MB / 490.7 MB Notification: Performance of Templates: time 0.05027/0.8785, allocations: 28.83 MB / 0.7174 GB, free: 14.83 MB / 0.5105 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)