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.007813/0.007813, allocations: 166 kB / 15.13 MB, free: 6.02 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.422/1.422, allocations: 223.3 MB / 239.1 MB, free: 1.684 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.000775/0.000775, allocations: 98.3 kB / 290.3 MB, free: 13.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4418/0.4418, allocations: 78.61 MB / 420 MB, free: 44.05 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003573/0.0003573, allocations: 8 kB / 499.9 MB, free: 2.93 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4686/0.4689, allocations: 69.35 MB / 0.5559 GB, free: 38.81 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.IEESGO): time 0.008134/0.4771, allocations: 8.024 MB / 0.5637 GB, free: 36.09 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.00829/0.4855, allocations: 2.666 MB / 0.5663 GB, free: 34.2 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002533/0.4881, allocations: 21.44 kB / 0.5664 GB, free: 34.19 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001296/0.4894, allocations: 251.6 kB / 0.5666 GB, free: 34.08 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004525/0.4939, allocations: 1.055 MB / 0.5676 GB, free: 33.41 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.002323/0.4962, allocations: 0.6595 MB / 0.5683 GB, free: 33.09 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.004719/0.501, allocations: 2.368 MB / 0.5706 GB, free: 31.95 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008254/0.5018, allocations: 412.5 kB / 0.571 GB, free: 31.76 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001582/0.5034, allocations: 0.8469 MB / 0.5718 GB, free: 31.41 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001083/0.5045, allocations: 1.082 MB / 0.5729 GB, free: 30.94 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002098/0.5047, allocations: 95.59 kB / 0.573 GB, free: 30.94 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007973/0.5055, allocations: 291.1 kB / 0.5732 GB, free: 30.89 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003042/0.5058, allocations: 394.8 kB / 0.5736 GB, free: 30.68 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003363/0.5062, allocations: 326.6 kB / 0.5739 GB, free: 30.47 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001664/0.5079, allocations: 1.947 MB / 0.5758 GB, free: 29.93 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.5079, allocations: 0 / 0.5758 GB, free: 29.93 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.5079, allocations: 4 kB / 0.5758 GB, free: 29.93 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.397e-05/0.5079, allocations: 2.906 kB / 0.5758 GB, free: 29.93 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.01444/0.5224, allocations: 4.013 MB / 0.5798 GB, free: 28.46 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.5224, allocations: 11.2 kB / 0.5798 GB, free: 28.46 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0053/0.5277, allocations: 0.7793 MB / 0.5805 GB, free: 28.27 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003144/0.5309, allocations: 1.181 MB / 0.5817 GB, free: 27.56 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005181/0.5315, allocations: 0.5866 MB / 0.5822 GB, free: 27 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002838/0.5318, allocations: 129.4 kB / 0.5824 GB, free: 26.95 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003316/0.5351, allocations: 1.668 MB / 0.584 GB, free: 26.31 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.702e-05/0.5352, allocations: 0 / 0.584 GB, free: 26.31 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001466/0.5353, allocations: 44.72 kB / 0.584 GB, free: 26.27 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.674e-05/0.5353, allocations: 28.88 kB / 0.5841 GB, free: 26.27 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003718/0.5391, allocations: 1.584 MB / 0.5856 GB, free: 25.75 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.01041/0.5495, allocations: 5.688 MB / 0.5912 GB, free: 22.59 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009562/0.5591, allocations: 3.693 MB / 0.5948 GB, free: 21.27 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002591/0.5617, allocations: 1.065 MB / 0.5958 GB, free: 20.86 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001441/0.5619, allocations: 28.09 kB / 0.5958 GB, free: 20.85 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002602/0.5645, allocations: 1.237 MB / 0.5971 GB, free: 20.4 MB / 426.7 MB Notification: Performance of pre-optimization done (n=140): time 3.897e-06/0.5645, allocations: 7.875 kB / 0.5971 GB, free: 20.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=140): time 0.04403/0.6086, allocations: 11.68 MB / 0.6085 GB, free: 18.26 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.72e-05/0.6087, allocations: 174.5 kB / 0.6086 GB, free: 18.07 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002811/0.6115, allocations: 1.565 MB / 0.6102 GB, free: 17.21 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004586/0.612, allocations: 59.77 kB / 0.6102 GB, free: 17.16 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004124/0.6124, allocations: 0.6808 MB / 0.6109 GB, free: 16.55 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005013/0.6129, allocations: 0.4967 MB / 0.6114 GB, free: 16.11 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/0.613, allocations: 45.62 kB / 0.6114 GB, free: 16.07 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.702e-05/0.6131, allocations: 378.4 kB / 0.6118 GB, free: 15.71 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002382/0.6155, allocations: 1.122 MB / 0.6129 GB, free: 15.17 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002478/0.618, allocations: 1.339 MB / 0.6142 GB, free: 14.07 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002316/0.6203, allocations: 1.23 MB / 0.6154 GB, free: 12.83 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.298e-06/0.6204, allocations: 4 kB / 0.6154 GB, free: 12.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01037/0.6307, allocations: 4.571 MB / 0.6199 GB, free: 8.23 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000145/0.6309, allocations: 221 kB / 0.6201 GB, free: 7.961 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.587e-05/0.631, allocations: 8 kB / 0.6201 GB, free: 7.953 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009187/0.6402, allocations: 2.947 MB / 0.6229 GB, free: 5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001736/0.642, allocations: 323.5 kB / 0.6233 GB, free: 4.684 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00644/0.6484, allocations: 3.221 MB / 0.6264 GB, free: 1.438 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002785/0.6512, allocations: 342 kB / 0.6267 GB, free: 1.102 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001881/0.6515, allocations: 67.98 kB / 0.6268 GB, free: 1.035 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.6515, allocations: 5.406 kB / 0.6268 GB, free: 1.031 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01067/0.6622, allocations: 4.361 MB / 0.6311 GB, free: 12.65 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.327e-05/0.6622, allocations: 4 kB / 0.6311 GB, free: 12.65 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009554/0.6718, allocations: 2.939 MB / 0.6339 GB, free: 9.711 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001722/0.6736, allocations: 319.5 kB / 0.6342 GB, free: 9.398 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007207/0.6808, allocations: 3.204 MB / 0.6374 GB, free: 6.172 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002752/0.6836, allocations: 318.2 kB / 0.6377 GB, free: 5.859 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002119/0.6838, allocations: 67.98 kB / 0.6377 GB, free: 5.793 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.0008863/0.6847, allocations: 409.5 kB / 0.6381 GB, free: 5.383 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003955/0.6851, allocations: 177.8 kB / 0.6383 GB, free: 5.207 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0186/0.7037, allocations: 6.016 MB / 0.6442 GB, free: 15.18 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-05/0.7038, allocations: 12 kB / 0.6442 GB, free: 15.16 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.537e-05/0.7038, allocations: 8 kB / 0.6442 GB, free: 15.16 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.706e-05/0.7038, allocations: 11.91 kB / 0.6442 GB, free: 15.14 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.023/0.7269, allocations: 8.488 MB / 0.6525 GB, free: 6.516 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.835e-05/0.7269, allocations: 4 kB / 0.6525 GB, free: 6.512 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001335/0.7283, allocations: 179.7 kB / 0.6527 GB, free: 6.336 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008131/0.7364, allocations: 2.521 MB / 0.6551 GB, free: 3.812 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003572/0.7368, allocations: 35.94 kB / 0.6552 GB, free: 3.777 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02501/0.7618, allocations: 10.31 MB / 0.6652 GB, free: 9.32 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.7619, allocations: 0 / 0.6652 GB, free: 9.32 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02106/0.7829, allocations: 7.322 MB / 0.6724 GB, free: 1.961 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007661/0.7837, allocations: 298.6 kB / 0.6727 GB, free: 1.648 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003355/0.7841, allocations: 28 kB / 0.6727 GB, free: 1.621 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001802/0.7859, allocations: 211.8 kB / 0.6729 GB, free: 1.414 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007903/0.7867, allocations: 273.3 kB / 0.6731 GB, free: 1.148 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001076/0.7868, allocations: 35.98 kB / 0.6732 GB, free: 1.113 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001809/0.7886, allocations: 1.057 MB / 0.6742 GB, free: 64 kB / 474.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.7886, allocations: 0 / 0.6742 GB, free: 64 kB / 474.7 MB Notification: Performance of remove unused functions: time 0.002709/0.7913, allocations: 0.9089 MB / 0.6751 GB, free: 15.15 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.0003683/0.7917, allocations: 162.7 kB / 0.6753 GB, free: 14.98 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01736/0.8091, allocations: 5.797 MB / 0.6809 GB, free: 9.164 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/0.8092, allocations: 4.062 kB / 0.6809 GB, free: 9.16 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008215/0.8174, allocations: 2.256 MB / 0.6831 GB, free: 6.891 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002099/0.8195, allocations: 160.4 kB / 0.6833 GB, free: 6.734 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008028/0.8276, allocations: 4.037 MB / 0.6872 GB, free: 2.672 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008772/0.8285, allocations: 1.308 MB / 0.6885 GB, free: 1.336 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001071/0.8296, allocations: 199.1 kB / 0.6887 GB, free: 1.137 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003813/0.8299, allocations: 107.4 kB / 0.6888 GB, free: 1.031 MB / 490.7 MB Notification: Performance of SimCode: time 8.42e-07/0.83, allocations: 0 / 0.6888 GB, free: 1.031 MB / 490.7 MB Notification: Performance of Templates: time 0.05676/0.8867, allocations: 33.27 MB / 0.7213 GB, free: 15.77 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)