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.000988/0.000988, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.286/1.286, allocations: 223.2 MB / 238.9 MB, free: 5.633 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.001195/0.001195, allocations: 185.1 kB / 290.2 MB, free: 2.324 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4312/0.4312, allocations: 78.52 MB / 419.8 MB, free: 4.277 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000343/0.0003431, allocations: 12 kB / 499.7 MB, free: 6.352 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1197, allocations: 69.36 MB / 0.5557 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.2018/0.3216, allocations: 7.21 MB / 0.5627 GB, free: 37.18 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004254/0.3259, allocations: 2.511 MB / 0.5652 GB, free: 36.84 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008953/0.3268, allocations: 18.22 kB / 0.5652 GB, free: 36.84 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006555/0.3275, allocations: 225.6 kB / 0.5654 GB, free: 36.76 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002258/0.3297, allocations: 1.057 MB / 0.5664 GB, free: 36.58 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.001113/0.3309, allocations: 0.5631 MB / 0.567 GB, free: 36.53 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001627/0.3325, allocations: 1.446 MB / 0.5684 GB, free: 36.05 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004806/0.333, allocations: 343.7 kB / 0.5687 GB, free: 35.92 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007045/0.3337, allocations: 0.7503 MB / 0.5695 GB, free: 35.59 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008724/0.3346, allocations: 0.9763 MB / 0.5704 GB, free: 35.18 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001796/0.3348, allocations: 89.16 kB / 0.5705 GB, free: 35.18 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005119/0.3353, allocations: 280.8 kB / 0.5708 GB, free: 35.12 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000237/0.3355, allocations: 356.6 kB / 0.5711 GB, free: 34.93 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002056/0.3358, allocations: 286.8 kB / 0.5714 GB, free: 34.75 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001076/0.3368, allocations: 1.65 MB / 0.573 GB, free: 34.29 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.3368, allocations: 1.094 kB / 0.573 GB, free: 34.29 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3369, allocations: 0 / 0.573 GB, free: 34.29 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.232e-05/0.3369, allocations: 0 / 0.573 GB, free: 34.29 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.01148/0.3484, allocations: 3.557 MB / 0.5765 GB, free: 33.01 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.3484, allocations: 8.406 kB / 0.5765 GB, free: 33.01 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004482/0.3529, allocations: 0.7582 MB / 0.5772 GB, free: 32.84 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001858/0.3548, allocations: 1.056 MB / 0.5783 GB, free: 32.18 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003442/0.3551, allocations: 448.7 kB / 0.5787 GB, free: 31.79 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001945/0.3553, allocations: 114.5 kB / 0.5788 GB, free: 31.74 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002514/0.3579, allocations: 1.496 MB / 0.5803 GB, free: 31.19 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.147e-05/0.3579, allocations: 3.953 kB / 0.5803 GB, free: 31.19 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001146/0.358, allocations: 40.03 kB / 0.5803 GB, free: 31.16 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.996e-05/0.3581, allocations: 24.31 kB / 0.5803 GB, free: 31.16 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002544/0.3606, allocations: 1.426 MB / 0.5817 GB, free: 30.7 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.007869/0.3685, allocations: 5.137 MB / 0.5867 GB, free: 27.71 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008347/0.3769, allocations: 3.456 MB / 0.5901 GB, free: 26.47 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001761/0.377, allocations: 26.44 kB / 0.5901 GB, free: 26.46 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002148/0.3792, allocations: 1.134 MB / 0.5912 GB, free: 26.05 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 2.745e-06/0.3792, allocations: 0 / 0.5912 GB, free: 26.05 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.04186/0.4211, allocations: 11.9 MB / 0.6029 GB, free: 24.18 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.4212, allocations: 117.1 kB / 0.603 GB, free: 24.05 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002251/0.4234, allocations: 1.406 MB / 0.6043 GB, free: 23.48 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003808/0.4238, allocations: 52.75 kB / 0.6044 GB, free: 23.43 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000427/0.4243, allocations: 0.6002 MB / 0.605 GB, free: 22.96 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005046/0.4248, allocations: 463.5 kB / 0.6054 GB, free: 22.59 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001359/0.4249, allocations: 35.25 kB / 0.6055 GB, free: 22.57 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.425, allocations: 376.6 kB / 0.6058 GB, free: 22.23 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002263/0.4273, allocations: 1.044 MB / 0.6068 GB, free: 21.86 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00223/0.4295, allocations: 1.238 MB / 0.608 GB, free: 21.33 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002189/0.4317, allocations: 1.12 MB / 0.6091 GB, free: 20.86 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.4318, allocations: 1.031 kB / 0.6091 GB, free: 20.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.00943/0.4412, allocations: 4.141 MB / 0.6132 GB, free: 18.98 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.4412, allocations: 12 kB / 0.6132 GB, free: 18.97 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.4413, allocations: 4 kB / 0.6132 GB, free: 18.97 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008917/0.4502, allocations: 3.356 MB / 0.6165 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/0.4514, allocations: 260.1 kB / 0.6167 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006267/0.4577, allocations: 3.313 MB / 0.62 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002185/0.4599, allocations: 302.3 kB / 0.6202 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001424/0.4601, allocations: 59.98 kB / 0.6203 GB, free: 11.66 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 ($whenCondition1,$whenCondition2) * 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 (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 {34 42} Notification: Performance of prepare postOptimizeDAE: time 0.0005339/0.4606, allocations: 290.7 kB / 0.6206 GB, free: 11.37 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002514/0.4609, allocations: 169.9 kB / 0.6207 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01491/0.4758, allocations: 5.854 MB / 0.6265 GB, free: 5.324 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/0.4758, allocations: 16 kB / 0.6265 GB, free: 5.309 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.4759, allocations: 4.875 kB / 0.6265 GB, free: 5.305 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.359e-05/0.4759, allocations: 3.984 kB / 0.6265 GB, free: 5.301 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.01806/0.4939, allocations: 7.989 MB / 0.6343 GB, free: 13.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.259e-05/0.494, allocations: 4 kB / 0.6343 GB, free: 13.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008724/0.4949, allocations: 143.8 kB / 0.6344 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007683/0.5026, allocations: 2.511 MB / 0.6369 GB, free: 10.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002913/0.5029, allocations: 29.78 kB / 0.6369 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02592/0.5288, allocations: 10.89 MB / 0.6475 GB, free: 15.44 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.778e-06/0.5289, allocations: 1.062 kB / 0.6475 GB, free: 15.44 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01961/0.5485, allocations: 7.092 MB / 0.6545 GB, free: 8.309 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006536/0.5492, allocations: 274.7 kB / 0.6547 GB, free: 8.02 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004885/0.5497, allocations: 31.95 kB / 0.6548 GB, free: 7.988 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001763/0.5514, allocations: 179.8 kB / 0.6549 GB, free: 7.812 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007665/0.5522, allocations: 257.3 kB / 0.6552 GB, free: 7.559 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001066/0.5523, allocations: 35.98 kB / 0.6552 GB, free: 7.523 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00147/0.5538, allocations: 0.9464 MB / 0.6561 GB, free: 6.578 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.5538, allocations: 0 / 0.6561 GB, free: 6.578 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001527/0.5554, allocations: 0.5229 MB / 0.6566 GB, free: 6.055 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 (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.0003307/0.5557, allocations: 151.8 kB / 0.6568 GB, free: 5.902 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009184/0.5649, allocations: 3.212 MB / 0.6599 GB, free: 2.703 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.5649, allocations: 0 / 0.6599 GB, free: 2.703 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007615/0.5725, allocations: 2.166 MB / 0.662 GB, free: 0.5234 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001115/0.5737, allocations: 119.5 kB / 0.6622 GB, free: 416 kB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006349/0.5801, allocations: 3.598 MB / 0.6657 GB, free: 12.85 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008055/0.5809, allocations: 1.254 MB / 0.6669 GB, free: 11.56 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000629/0.5815, allocations: 142.2 kB / 0.667 GB, free: 11.43 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000475/0.582, allocations: 92.44 kB / 0.6671 GB, free: 11.34 MB / 478.1 MB Notification: Performance of SimCode: time 8.42e-07/0.582, allocations: 0 / 0.6671 GB, free: 11.34 MB / 478.1 MB Notification: Performance of Templates: time 0.04212/0.6242, allocations: 25.78 MB / 0.6923 GB, free: 1.684 MB / 494.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: