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.001414/0.001414, allocations: 104.1 kB / 16.35 MB, free: 5.828 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.335/1.335, allocations: 222.9 MB / 240 MB, free: 4.512 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.001203/0.001203, allocations: 188.4 kB / 290.3 MB, free: 2.242 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4405/0.4405, allocations: 78.53 MB / 419 MB, free: 3.191 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 75.88 kB / 498.9 MB, free: 5.641 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1223, allocations: 68.17 MB / 0.5538 GB, free: 1.43 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.1947/0.317, allocations: 8.264 MB / 0.5618 GB, free: 34.84 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004762/0.3218, allocations: 2.551 MB / 0.5643 GB, free: 34.17 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009336/0.3227, allocations: 13.81 kB / 0.5644 GB, free: 34.17 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008594/0.3236, allocations: 318.7 kB / 0.5647 GB, free: 34.16 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00246/0.3261, allocations: 1.195 MB / 0.5658 GB, free: 33.74 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.001208/0.3273, allocations: 0.6868 MB / 0.5665 GB, free: 33.68 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00189/0.3292, allocations: 2.349 MB / 0.5688 GB, free: 33.23 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004904/0.3297, allocations: 413.4 kB / 0.5692 GB, free: 33.16 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008222/0.3305, allocations: 0.8832 MB / 0.57 GB, free: 32.95 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009111/0.3315, allocations: 1.136 MB / 0.5712 GB, free: 32.67 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002133/0.3317, allocations: 181.1 kB / 0.5713 GB, free: 32.67 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005897/0.3323, allocations: 409.8 kB / 0.5717 GB, free: 32.66 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002842/0.3326, allocations: 465.2 kB / 0.5722 GB, free: 32.55 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005335/0.3331, allocations: 0.9121 MB / 0.573 GB, free: 32.23 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001567/0.3347, allocations: 2.294 MB / 0.5753 GB, free: 31.74 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.3347, allocations: 2.375 kB / 0.5753 GB, free: 31.74 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3347, allocations: 0.75 kB / 0.5753 GB, free: 31.74 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.349e-05/0.3347, allocations: 0 / 0.5753 GB, free: 31.74 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.01228/0.347, allocations: 3.753 MB / 0.579 GB, free: 30.65 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.3471, allocations: 15.5 kB / 0.579 GB, free: 30.64 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004371/0.3515, allocations: 0.7487 MB / 0.5797 GB, free: 30.52 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001594/0.3531, allocations: 1.114 MB / 0.5808 GB, free: 29.8 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003173/0.3534, allocations: 427.2 kB / 0.5812 GB, free: 29.41 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001819/0.3536, allocations: 114 kB / 0.5813 GB, free: 29.38 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002383/0.356, allocations: 1.431 MB / 0.5827 GB, free: 28.82 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/0.356, allocations: 1.406 kB / 0.5827 GB, free: 28.82 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/0.3561, allocations: 40.5 kB / 0.5827 GB, free: 28.79 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.629e-05/0.3561, allocations: 25.47 kB / 0.5828 GB, free: 28.79 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00265/0.3588, allocations: 1.348 MB / 0.5841 GB, free: 28.34 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.007249/0.3661, allocations: 4.909 MB / 0.5889 GB, free: 25.5 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007709/0.3738, allocations: 2.882 MB / 0.5917 GB, free: 24.34 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002013/0.3758, allocations: 0.9095 MB / 0.5926 GB, free: 23.97 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001479/0.376, allocations: 32.64 kB / 0.5926 GB, free: 23.96 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002153/0.3781, allocations: 1.057 MB / 0.5936 GB, free: 23.55 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 3.226e-06/0.3782, allocations: 1.438 kB / 0.5936 GB, free: 23.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.04049/0.4187, allocations: 9.796 MB / 0.6032 GB, free: 21.91 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.497e-05/0.4187, allocations: 121.1 kB / 0.6033 GB, free: 21.77 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002459/0.4212, allocations: 1.419 MB / 0.6047 GB, free: 21.13 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003827/0.4216, allocations: 50.45 kB / 0.6048 GB, free: 21.08 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003662/0.422, allocations: 0.5985 MB / 0.6053 GB, free: 20.55 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004839/0.4225, allocations: 461.8 kB / 0.6058 GB, free: 20.15 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006156/0.4231, allocations: 332.4 kB / 0.6061 GB, free: 19.96 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.379e-05/0.4231, allocations: 301.1 kB / 0.6064 GB, free: 19.66 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002029/0.4252, allocations: 0.9774 MB / 0.6073 GB, free: 19.17 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002115/0.4273, allocations: 1.167 MB / 0.6085 GB, free: 18.5 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004043/0.4314, allocations: 2.08 MB / 0.6105 GB, free: 17.35 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-05/0.4314, allocations: 5.688 kB / 0.6105 GB, free: 17.35 MB / 430.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.00901/0.4404, allocations: 3.707 MB / 0.6141 GB, free: 15.5 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/0.4405, allocations: 9.438 kB / 0.6142 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.877e-05/0.4405, allocations: 4.125 kB / 0.6142 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009021/0.4495, allocations: 2.974 MB / 0.6171 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001356/0.4509, allocations: 272.4 kB / 0.6173 GB, free: 13.19 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006154/0.4571, allocations: 2.991 MB / 0.6202 GB, free: 10.17 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002326/0.4594, allocations: 246.3 kB / 0.6205 GB, free: 9.926 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001719/0.4596, allocations: 63.98 kB / 0.6205 GB, free: 9.863 MB / 430.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.0005502/0.4602, allocations: 301.5 kB / 0.6208 GB, free: 9.559 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002807/0.4605, allocations: 161.9 kB / 0.621 GB, free: 9.398 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01389/0.4744, allocations: 4.817 MB / 0.6257 GB, free: 4.562 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.67e-05/0.4744, allocations: 12 kB / 0.6257 GB, free: 4.551 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/0.4744, allocations: 4 kB / 0.6257 GB, free: 4.547 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.569e-05/0.4745, allocations: 11.91 kB / 0.6257 GB, free: 4.535 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 postOpt removeSimpleEquations (simulation): time 0.01698/0.4915, allocations: 6.878 MB / 0.6324 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/0.4915, allocations: 6.188 kB / 0.6324 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008319/0.4923, allocations: 151.8 kB / 0.6326 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007154/0.4995, allocations: 2.135 MB / 0.6347 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001574/0.4997, allocations: 33.11 kB / 0.6347 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02405/0.5237, allocations: 10.05 MB / 0.6445 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.5238, allocations: 3.938 kB / 0.6445 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01743/0.5412, allocations: 5.955 MB / 0.6503 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006283/0.5419, allocations: 270.8 kB / 0.6506 GB, free: 10.71 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003001/0.5422, allocations: 27.94 kB / 0.6506 GB, free: 10.69 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001573/0.5437, allocations: 131.8 kB / 0.6507 GB, free: 10.56 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007762/0.5445, allocations: 262.1 kB / 0.651 GB, free: 10.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001275/0.5447, allocations: 35.98 kB / 0.651 GB, free: 10.27 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001428/0.5461, allocations: 0.9503 MB / 0.652 GB, free: 9.316 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5461, allocations: 4 kB / 0.652 GB, free: 9.312 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001496/0.5476, allocations: 0.5307 MB / 0.6525 GB, free: 8.781 MB / 462.1 MB 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.0003498/0.548, allocations: 152.2 kB / 0.6526 GB, free: 8.625 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008274/0.5563, allocations: 2.892 MB / 0.6554 GB, free: 5.738 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.5563, allocations: 0 / 0.6554 GB, free: 5.738 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005729/0.562, allocations: 1.931 MB / 0.6573 GB, free: 3.801 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/0.5632, allocations: 135.4 kB / 0.6575 GB, free: 3.672 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005185/0.5684, allocations: 3.02 MB / 0.6604 GB, free: 0.6875 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007124/0.5691, allocations: 1.225 MB / 0.6616 GB, free: 15.43 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005144/0.5697, allocations: 143.6 kB / 0.6617 GB, free: 15.3 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000328/0.57, allocations: 99.41 kB / 0.6618 GB, free: 15.2 MB / 478.1 MB Notification: Performance of SimCode: time 8.11e-07/0.57, allocations: 0 / 0.6618 GB, free: 15.2 MB / 478.1 MB Notification: Performance of Templates: time 0.04399/0.614, allocations: 30.26 MB / 0.6914 GB, free: 1.105 MB / 494.1 MB 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 -s gbode -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe 2>&1)