Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.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.ES.SCRX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 106.2 kB / 16.41 MB, free: 6.457 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.408/1.408, allocations: 222.9 MB / 240.1 MB, free: 4.348 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.001569/0.001569, allocations: 188.5 kB / 290.4 MB, free: 2.082 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4866/0.4866, allocations: 78.53 MB / 419.1 MB, free: 3.07 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001795/0.001795, allocations: 75.88 kB / 0.5543 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.397/0.3988, allocations: 68.18 MB / 0.6209 GB, free: 9.582 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.007747/0.4066, allocations: 8.259 MB / 0.6289 GB, free: 1.883 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005831/0.4125, allocations: 2.552 MB / 0.6314 GB, free: 15.32 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001858/0.4144, allocations: 16 kB / 0.6315 GB, free: 15.3 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001112/0.4155, allocations: 309.3 kB / 0.6318 GB, free: 15 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003976/0.4196, allocations: 1.219 MB / 0.6329 GB, free: 13.78 MB / 446.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.001794/0.4214, allocations: 0.6805 MB / 0.6336 GB, free: 13.11 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003584/0.425, allocations: 2.333 MB / 0.6359 GB, free: 10.77 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007949/0.4258, allocations: 424.4 kB / 0.6363 GB, free: 10.33 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001877/0.4277, allocations: 0.8833 MB / 0.6372 GB, free: 9.441 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001508/0.4292, allocations: 1.136 MB / 0.6383 GB, free: 8.297 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002862/0.4295, allocations: 180 kB / 0.6384 GB, free: 8.121 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009161/0.4304, allocations: 407.7 kB / 0.6388 GB, free: 7.723 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004215/0.4308, allocations: 470.2 kB / 0.6393 GB, free: 7.262 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008675/0.4317, allocations: 0.9051 MB / 0.6402 GB, free: 6.352 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002779/0.4345, allocations: 2.295 MB / 0.6424 GB, free: 4.055 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.876e-06/0.4345, allocations: 3.984 kB / 0.6424 GB, free: 4.051 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.888e-06/0.4345, allocations: 4 kB / 0.6424 GB, free: 4.047 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.628e-05/0.4346, allocations: 3.938 kB / 0.6424 GB, free: 4.043 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.01463/0.4492, allocations: 3.762 MB / 0.6461 GB, free: 228 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.4493, allocations: 12.03 kB / 0.6461 GB, free: 216 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004786/0.4541, allocations: 0.7471 MB / 0.6468 GB, free: 15.46 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00227/0.4564, allocations: 1.112 MB / 0.6479 GB, free: 14.3 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004799/0.4569, allocations: 424.7 kB / 0.6483 GB, free: 13.81 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002215/0.4571, allocations: 111.9 kB / 0.6484 GB, free: 13.7 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003253/0.4604, allocations: 1.432 MB / 0.6498 GB, free: 12.25 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.264e-05/0.4604, allocations: 0 / 0.6498 GB, free: 12.25 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001306/0.4606, allocations: 36 kB / 0.6499 GB, free: 12.22 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.365e-05/0.4606, allocations: 27.94 kB / 0.6499 GB, free: 12.19 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003065/0.4637, allocations: 1.351 MB / 0.6512 GB, free: 10.84 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 preOpt removeSimpleEquations (simulation): time 0.01028/0.4739, allocations: 4.903 MB / 0.656 GB, free: 5.727 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008655/0.4827, allocations: 2.892 MB / 0.6588 GB, free: 2.695 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002178/0.4849, allocations: 0.9113 MB / 0.6597 GB, free: 1.773 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001281/0.485, allocations: 32.91 kB / 0.6597 GB, free: 1.742 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002208/0.4873, allocations: 1.055 MB / 0.6608 GB, free: 0.6641 MB / 462.1 MB Notification: Performance of pre-optimization done (n=126): time 3.326e-06/0.4873, allocations: 0 / 0.6608 GB, free: 0.6641 MB / 462.1 MB Notification: Performance of matching and sorting (n=126): time 0.04154/0.5288, allocations: 9.789 MB / 0.6703 GB, free: 6.836 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.027e-05/0.529, allocations: 115.8 kB / 0.6704 GB, free: 6.695 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003105/0.5321, allocations: 1.419 MB / 0.6718 GB, free: 5.266 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004725/0.5326, allocations: 49.7 kB / 0.6719 GB, free: 5.211 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006643/0.5333, allocations: 0.6002 MB / 0.6725 GB, free: 4.605 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00088/0.5342, allocations: 461.4 kB / 0.6729 GB, free: 4.148 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001348/0.5355, allocations: 331.5 kB / 0.6732 GB, free: 3.82 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.5356, allocations: 305.1 kB / 0.6735 GB, free: 3.52 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002498/0.5382, allocations: 0.976 MB / 0.6745 GB, free: 2.543 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002596/0.5408, allocations: 1.17 MB / 0.6756 GB, free: 1.324 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004905/0.5457, allocations: 2.081 MB / 0.6776 GB, free: 15.2 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.871e-05/0.5457, allocations: 3.938 kB / 0.6776 GB, free: 15.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.01045/0.5562, allocations: 3.715 MB / 0.6813 GB, free: 11.46 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.275e-05/0.5563, allocations: 4 kB / 0.6813 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.009e-05/0.5563, allocations: 4 kB / 0.6813 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01043/0.5667, allocations: 2.974 MB / 0.6842 GB, free: 8.484 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001549/0.5684, allocations: 275.6 kB / 0.6844 GB, free: 8.215 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008506/0.5769, allocations: 2.988 MB / 0.6874 GB, free: 5.199 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002893/0.5798, allocations: 242.3 kB / 0.6876 GB, free: 4.961 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003743/0.5802, allocations: 75.91 kB / 0.6877 GB, free: 4.887 MB / 494.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 (161): * Single equations (assignments): 160 * 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 {(34,42)} Notification: Performance of prepare postOptimizeDAE: time 0.001154/0.5814, allocations: 301.4 kB / 0.6879 GB, free: 4.582 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007725/0.5822, allocations: 161.9 kB / 0.6881 GB, free: 4.422 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01728/0.5995, allocations: 4.811 MB / 0.6928 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.859e-05/0.5996, allocations: 16 kB / 0.6928 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/0.5996, allocations: 0 / 0.6928 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.457e-05/0.5996, allocations: 11.91 kB / 0.6928 GB, free: 15.56 MB / 0.4981 GB 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.02191/0.6215, allocations: 6.886 MB / 0.6995 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.098e-05/0.6216, allocations: 0 / 0.6995 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/0.6227, allocations: 147.8 kB / 0.6997 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007985/0.6307, allocations: 2.142 MB / 0.7018 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003742/0.6311, allocations: 23.98 kB / 0.7018 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02784/0.6589, allocations: 10.05 MB / 0.7116 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/0.659, allocations: 7.938 kB / 0.7116 GB, free: 12 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02004/0.679, allocations: 5.948 MB / 0.7174 GB, free: 6.02 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000875/0.68, allocations: 270.8 kB / 0.7177 GB, free: 5.734 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006858/0.6807, allocations: 27.94 kB / 0.7177 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002123/0.6828, allocations: 139.8 kB / 0.7179 GB, free: 5.57 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001029/0.6839, allocations: 257.3 kB / 0.7181 GB, free: 5.32 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000248/0.6841, allocations: 35.98 kB / 0.7181 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002099/0.6862, allocations: 0.9581 MB / 0.7191 GB, free: 4.328 MB / 0.5137 GB Notification: Performance of sort global known variables: time 5.51e-07/0.6863, allocations: 0 / 0.7191 GB, free: 4.328 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00239/0.6887, allocations: 0.5268 MB / 0.7196 GB, free: 3.801 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 11 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,sCRX.imLeadLag.TF.x_scaled[1],sCRX.simpleLagLim.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 (83): * Single equations (assignments): 82 * 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.0005517/0.6892, allocations: 152.2 kB / 0.7197 GB, free: 3.641 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009762/0.699, allocations: 2.88 MB / 0.7225 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.014e-06/0.6991, allocations: 0.875 kB / 0.7225 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006865/0.7059, allocations: 1.926 MB / 0.7244 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002218/0.7082, allocations: 137.2 kB / 0.7246 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007082/0.7153, allocations: 3.05 MB / 0.7275 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001041/0.7164, allocations: 1.227 MB / 0.7287 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006966/0.7171, allocations: 103.4 kB / 0.7288 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of SimCode: time 1.222e-06/0.7171, allocations: 4 kB / 0.7288 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of Templates: time 0.04083/0.7579, allocations: 25.82 MB / 0.754 GB, free: 412 kB / 0.545 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe 2>&1)