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.0008422/0.0008424, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.355/1.355, allocations: 223.3 MB / 239.4 MB, free: 5.355 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.00156/0.00156, allocations: 180.5 kB / 290.6 MB, free: 2.027 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4705/0.4705, allocations: 78.55 MB / 420.3 MB, free: 4.215 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003973/0.0003973, allocations: 8 kB / 0.4887 GB, free: 5.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1562, allocations: 69.36 MB / 0.5564 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.IEESGO): time 0.2714/0.4276, allocations: 8.575 MB / 0.5648 GB, free: 34.43 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006319/0.434, allocations: 2.781 MB / 0.5675 GB, free: 33.41 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002067/0.4361, allocations: 18.06 kB / 0.5675 GB, free: 33.41 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001122/0.4373, allocations: 278.5 kB / 0.5678 GB, free: 33.3 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003416/0.4407, allocations: 1.138 MB / 0.5689 GB, free: 32.85 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.0018/0.4425, allocations: 0.7673 MB / 0.5696 GB, free: 32.77 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003075/0.4456, allocations: 2.524 MB / 0.5721 GB, free: 32.3 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007532/0.4464, allocations: 471.2 kB / 0.5725 GB, free: 32.2 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001383/0.4477, allocations: 0.8554 MB / 0.5734 GB, free: 31.95 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001215/0.449, allocations: 1.107 MB / 0.5745 GB, free: 31.64 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002274/0.4492, allocations: 95.72 kB / 0.5746 GB, free: 31.64 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006813/0.4499, allocations: 317.8 kB / 0.5749 GB, free: 31.62 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003092/0.4502, allocations: 404.7 kB / 0.5752 GB, free: 31.51 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008116/0.451, allocations: 0.9115 MB / 0.5761 GB, free: 31.12 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002113/0.4532, allocations: 2.453 MB / 0.5785 GB, free: 30.59 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.4532, allocations: 0 / 0.5785 GB, free: 30.59 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4532, allocations: 0 / 0.5785 GB, free: 30.59 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.583e-05/0.4532, allocations: 1.594 kB / 0.5785 GB, free: 30.59 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.01396/0.4672, allocations: 3.996 MB / 0.5824 GB, free: 29.39 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.433e-05/0.4673, allocations: 11.66 kB / 0.5824 GB, free: 29.39 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004917/0.4722, allocations: 0.7775 MB / 0.5832 GB, free: 29.25 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002951/0.4752, allocations: 1.248 MB / 0.5844 GB, free: 28.62 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005125/0.4757, allocations: 0.5768 MB / 0.585 GB, free: 28.07 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002846/0.476, allocations: 137.7 kB / 0.5851 GB, free: 28.02 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003523/0.4795, allocations: 1.676 MB / 0.5868 GB, free: 27.38 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.462e-05/0.4796, allocations: 0 / 0.5868 GB, free: 27.38 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001441/0.4797, allocations: 45.84 kB / 0.5868 GB, free: 27.34 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.83e-05/0.4798, allocations: 27.09 kB / 0.5868 GB, free: 27.34 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003746/0.4835, allocations: 1.596 MB / 0.5884 GB, free: 26.82 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.0113/0.4948, allocations: 5.691 MB / 0.5939 GB, free: 23.66 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009947/0.5048, allocations: 3.696 MB / 0.5975 GB, free: 22.35 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002761/0.5076, allocations: 1.077 MB / 0.5986 GB, free: 21.94 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001507/0.5078, allocations: 26.73 kB / 0.5986 GB, free: 21.93 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003035/0.5108, allocations: 1.235 MB / 0.5998 GB, free: 21.48 MB / 430.1 MB Notification: Performance of pre-optimization done (n=140): time 3.867e-06/0.5109, allocations: 0 / 0.5998 GB, free: 21.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=140): time 0.04442/0.5553, allocations: 11.76 MB / 0.6113 GB, free: 19.32 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.534e-05/0.5554, allocations: 178.2 kB / 0.6115 GB, free: 19.12 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002755/0.5582, allocations: 1.574 MB / 0.613 GB, free: 18.27 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004937/0.5587, allocations: 56.42 kB / 0.6131 GB, free: 18.21 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004627/0.5591, allocations: 0.6838 MB / 0.6137 GB, free: 17.6 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005514/0.5597, allocations: 0.498 MB / 0.6142 GB, free: 17.16 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002591/0.56, allocations: 189.4 kB / 0.6144 GB, free: 17.04 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.064e-05/0.56, allocations: 306.1 kB / 0.6147 GB, free: 16.74 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002464/0.5625, allocations: 1.127 MB / 0.6158 GB, free: 16.2 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002439/0.5649, allocations: 1.355 MB / 0.6171 GB, free: 15.2 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004303/0.5692, allocations: 2.429 MB / 0.6195 GB, free: 12.71 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.193e-06/0.5693, allocations: 4 kB / 0.6195 GB, free: 12.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01772/0.587, allocations: 6.658 MB / 0.626 GB, free: 6.023 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000124/0.5872, allocations: 233.9 kB / 0.6262 GB, free: 5.742 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.5872, allocations: 4 kB / 0.6262 GB, free: 5.738 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009086/0.5963, allocations: 2.958 MB / 0.6291 GB, free: 2.785 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001629/0.598, allocations: 327.5 kB / 0.6294 GB, free: 2.465 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00663/0.6046, allocations: 3.228 MB / 0.6326 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002882/0.6075, allocations: 348.6 kB / 0.6329 GB, free: 14.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003067/0.6079, allocations: 67.98 kB / 0.633 GB, free: 14.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.6079, allocations: 4 kB / 0.633 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01937/0.6273, allocations: 6.452 MB / 0.6393 GB, free: 8.336 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.558e-05/0.6274, allocations: 4.625 kB / 0.6393 GB, free: 8.332 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00983/0.6372, allocations: 2.951 MB / 0.6422 GB, free: 5.375 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001697/0.6389, allocations: 315.6 kB / 0.6425 GB, free: 5.066 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007394/0.6463, allocations: 3.217 MB / 0.6456 GB, free: 1.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002819/0.6492, allocations: 314.3 kB / 0.6459 GB, free: 1.512 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002172/0.6495, allocations: 71.98 kB / 0.646 GB, free: 1.441 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 ($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.0009532/0.6504, allocations: 408.7 kB / 0.6464 GB, free: 1.031 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003909/0.6508, allocations: 177.8 kB / 0.6465 GB, free: 0.8555 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01824/0.6691, allocations: 6.03 MB / 0.6524 GB, free: 10.81 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.7e-05/0.6691, allocations: 12 kB / 0.6524 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.6691, allocations: 8 kB / 0.6524 GB, free: 10.79 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.397e-05/0.6692, allocations: 7.969 kB / 0.6525 GB, free: 10.79 MB / 462.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.02273/0.6919, allocations: 8.493 MB / 0.6607 GB, free: 2.152 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.757e-05/0.692, allocations: 4 kB / 0.6608 GB, free: 2.148 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001245/0.6933, allocations: 187.8 kB / 0.6609 GB, free: 1.965 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00832/0.7016, allocations: 2.515 MB / 0.6634 GB, free: 15.45 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003875/0.702, allocations: 38.14 kB / 0.6634 GB, free: 15.41 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02653/0.7286, allocations: 10.32 MB / 0.6735 GB, free: 4.953 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.7286, allocations: 0 / 0.6735 GB, free: 4.953 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0219/0.7505, allocations: 7.329 MB / 0.6807 GB, free: 13.59 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008124/0.7514, allocations: 300.3 kB / 0.6809 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005199/0.7519, allocations: 31.98 kB / 0.681 GB, free: 13.24 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002039/0.754, allocations: 212.6 kB / 0.6812 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009316/0.7549, allocations: 261.3 kB / 0.6814 GB, free: 12.78 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001286/0.7551, allocations: 43.98 kB / 0.6815 GB, free: 12.74 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001943/0.757, allocations: 1.072 MB / 0.6825 GB, free: 11.67 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.757, allocations: 0 / 0.6825 GB, free: 11.67 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002918/0.76, allocations: 0.9049 MB / 0.6834 GB, free: 10.77 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.0004373/0.7604, allocations: 163 kB / 0.6836 GB, free: 10.6 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01779/0.7782, allocations: 5.811 MB / 0.6892 GB, free: 4.77 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.076e-05/0.7783, allocations: 0 / 0.6892 GB, free: 4.77 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007146/0.7854, allocations: 2.268 MB / 0.6914 GB, free: 2.488 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001963/0.7875, allocations: 162.8 kB / 0.6916 GB, free: 2.328 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0072/0.7947, allocations: 4.222 MB / 0.6957 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008854/0.7956, allocations: 1.308 MB / 0.697 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001068/0.7967, allocations: 197.4 kB / 0.6972 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003898/0.7971, allocations: 111.4 kB / 0.6973 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of SimCode: time 8.41e-07/0.7971, allocations: 0.5625 kB / 0.6973 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of Templates: time 0.05441/0.8515, allocations: 34.34 MB / 0.7308 GB, free: 10.29 MB / 0.5294 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: