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.001885/0.001885, allocations: 107.3 kB / 16.36 MB, free: 5.824 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.388/1.388, allocations: 222.9 MB / 240 MB, free: 4.5 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.001267/0.001267, allocations: 188.5 kB / 290.3 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4516/0.4516, allocations: 78.53 MB / 419 MB, free: 3.105 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 79.86 kB / 498.9 MB, free: 5.668 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1292, allocations: 68.19 MB / 0.5538 GB, free: 1.434 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.218/0.3473, allocations: 8.252 MB / 0.5618 GB, free: 34.86 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004962/0.3523, allocations: 2.548 MB / 0.5643 GB, free: 34.19 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001266/0.3536, allocations: 15.03 kB / 0.5643 GB, free: 34.19 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009067/0.3545, allocations: 323.8 kB / 0.5647 GB, free: 34.17 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002891/0.3574, allocations: 1.193 MB / 0.5658 GB, free: 33.75 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.001475/0.3589, allocations: 0.684 MB / 0.5665 GB, free: 33.7 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002748/0.3617, allocations: 2.347 MB / 0.5688 GB, free: 33.25 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005698/0.3623, allocations: 415 kB / 0.5692 GB, free: 33.17 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009696/0.3632, allocations: 0.8891 MB / 0.57 GB, free: 32.96 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001007/0.3643, allocations: 1.13 MB / 0.5711 GB, free: 32.69 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002652/0.3645, allocations: 181.4 kB / 0.5713 GB, free: 32.69 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006985/0.3652, allocations: 415.5 kB / 0.5717 GB, free: 32.67 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003333/0.3656, allocations: 468 kB / 0.5722 GB, free: 32.57 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006621/0.3663, allocations: 0.8999 MB / 0.573 GB, free: 32.25 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002019/0.3683, allocations: 2.296 MB / 0.5753 GB, free: 31.76 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.3683, allocations: 0.7812 kB / 0.5753 GB, free: 31.76 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3683, allocations: 0 / 0.5753 GB, free: 31.76 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.706e-05/0.3683, allocations: 1.156 kB / 0.5753 GB, free: 31.76 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.01303/0.3814, allocations: 3.761 MB / 0.579 GB, free: 30.66 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.413e-05/0.3815, allocations: 11.16 kB / 0.579 GB, free: 30.66 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005379/0.3868, allocations: 0.7501 MB / 0.5797 GB, free: 30.54 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002446/0.3893, allocations: 1.11 MB / 0.5808 GB, free: 29.84 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003864/0.3897, allocations: 433.2 kB / 0.5812 GB, free: 29.45 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002238/0.39, allocations: 120.2 kB / 0.5813 GB, free: 29.41 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002532/0.3925, allocations: 1.423 MB / 0.5827 GB, free: 28.86 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/0.3925, allocations: 0.6875 kB / 0.5827 GB, free: 28.86 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001114/0.3927, allocations: 40.84 kB / 0.5827 GB, free: 28.83 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.878e-05/0.3927, allocations: 28.52 kB / 0.5828 GB, free: 28.82 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00265/0.3953, allocations: 1.343 MB / 0.5841 GB, free: 28.38 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.007643/0.403, allocations: 4.905 MB / 0.5889 GB, free: 25.54 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007458/0.4105, allocations: 2.893 MB / 0.5917 GB, free: 24.37 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001826/0.4123, allocations: 0.9058 MB / 0.5926 GB, free: 24.01 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001651/0.4125, allocations: 31.12 kB / 0.5926 GB, free: 24 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002085/0.4146, allocations: 1.058 MB / 0.5936 GB, free: 23.59 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 3.807e-06/0.4146, allocations: 1.75 kB / 0.5936 GB, free: 23.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.04025/0.4549, allocations: 9.796 MB / 0.6032 GB, free: 21.94 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.047e-05/0.455, allocations: 121.7 kB / 0.6033 GB, free: 21.81 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002437/0.4574, allocations: 1.412 MB / 0.6047 GB, free: 21.18 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003659/0.4578, allocations: 51.17 kB / 0.6048 GB, free: 21.13 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000339/0.4582, allocations: 0.5978 MB / 0.6053 GB, free: 20.6 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000402/0.4586, allocations: 460.8 kB / 0.6058 GB, free: 20.2 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005986/0.4592, allocations: 336 kB / 0.6061 GB, free: 20 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.738e-05/0.4592, allocations: 305.1 kB / 0.6064 GB, free: 19.7 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001958/0.4612, allocations: 0.9656 MB / 0.6073 GB, free: 19.22 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00206/0.4633, allocations: 1.179 MB / 0.6085 GB, free: 18.54 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00389/0.4672, allocations: 2.069 MB / 0.6105 GB, free: 17.41 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.829e-06/0.4672, allocations: 5.094 kB / 0.6105 GB, free: 17.4 MB / 430.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.008591/0.4758, allocations: 3.72 MB / 0.6141 GB, free: 15.54 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.848e-05/0.4759, allocations: 6.875 kB / 0.6142 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.61e-05/0.4759, allocations: 6.75 kB / 0.6142 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009201/0.4851, allocations: 2.972 MB / 0.6171 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001324/0.4865, allocations: 259.6 kB / 0.6173 GB, free: 13.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006011/0.4925, allocations: 2.995 MB / 0.6202 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002352/0.4949, allocations: 254.3 kB / 0.6205 GB, free: 9.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001723/0.4951, allocations: 59.98 kB / 0.6205 GB, free: 9.871 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.0006183/0.4957, allocations: 306.2 kB / 0.6208 GB, free: 9.562 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003336/0.496, allocations: 166.6 kB / 0.621 GB, free: 9.398 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01842/0.5144, allocations: 4.815 MB / 0.6257 GB, free: 4.562 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.54e-05/0.5145, allocations: 12 kB / 0.6257 GB, free: 4.551 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.397e-05/0.5145, allocations: 0.625 kB / 0.6257 GB, free: 4.551 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.515e-05/0.5146, allocations: 7.922 kB / 0.6257 GB, free: 4.543 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.02348/0.5381, allocations: 6.894 MB / 0.6324 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-05/0.5382, allocations: 0 / 0.6324 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001348/0.5395, allocations: 144.3 kB / 0.6326 GB, free: 13.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01058/0.5501, allocations: 2.14 MB / 0.6347 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003692/0.5505, allocations: 33.97 kB / 0.6347 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02591/0.5765, allocations: 10.05 MB / 0.6445 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/0.5765, allocations: 0.7969 kB / 0.6445 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01798/0.5945, allocations: 5.944 MB / 0.6503 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007246/0.5953, allocations: 278.7 kB / 0.6506 GB, free: 10.72 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002807/0.5956, allocations: 27.94 kB / 0.6506 GB, free: 10.69 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001554/0.5971, allocations: 135.8 kB / 0.6507 GB, free: 10.56 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000807/0.5979, allocations: 258.8 kB / 0.651 GB, free: 10.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001066/0.5981, allocations: 32 kB / 0.651 GB, free: 10.27 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001422/0.5995, allocations: 0.9581 MB / 0.652 GB, free: 9.316 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5995, allocations: 0 / 0.652 GB, free: 9.316 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001496/0.601, allocations: 0.5307 MB / 0.6525 GB, free: 8.785 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.0003503/0.6014, allocations: 160.5 kB / 0.6526 GB, free: 8.625 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00844/0.6098, allocations: 2.891 MB / 0.6554 GB, free: 5.738 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.6099, allocations: 0 / 0.6554 GB, free: 5.738 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006065/0.6159, allocations: 1.93 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.00141/0.6174, allocations: 132.2 kB / 0.6575 GB, free: 3.676 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005784/0.6232, allocations: 3.029 MB / 0.6604 GB, free: 0.6875 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007222/0.6239, allocations: 1.227 MB / 0.6616 GB, free: 15.43 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006124/0.6246, allocations: 137.3 kB / 0.6617 GB, free: 15.3 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003383/0.6249, allocations: 103.4 kB / 0.6618 GB, free: 15.2 MB / 478.1 MB Notification: Performance of SimCode: time 8.91e-07/0.6249, allocations: 0 / 0.6618 GB, free: 15.2 MB / 478.1 MB Notification: Performance of Templates: time 0.04594/0.6709, allocations: 30.25 MB / 0.6914 GB, free: 1.102 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 cvode -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe 2>&1)