Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: translateModel(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.0814/0.0814, allocations: 12.21 MB / 27.33 MB, free: 1.441 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 119.4 kB / 30.83 MB, free: 4.711 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.276/1.276, allocations: 205.1 MB / 239.3 MB, free: 11.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 188.5 kB / 289.5 MB, free: 15.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4215/0.4215, allocations: 78.5 MB / 418 MB, free: 31.77 MB / 318.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002274/0.002274, allocations: 127.8 kB / 498.2 MB, free: 0.625 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3076, allocations: 68.04 MB / 0.553 GB, free: 37.67 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.006827/0.3145, allocations: 8.643 MB / 0.5614 GB, free: 31.36 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004142/0.3187, allocations: 2.578 MB / 0.5639 GB, free: 29.51 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00082/0.3196, allocations: 14.56 kB / 0.5639 GB, free: 29.51 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000769/0.3204, allocations: 243.6 kB / 0.5642 GB, free: 29.41 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002417/0.3228, allocations: 1.085 MB / 0.5652 GB, free: 28.72 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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.001214/0.324, allocations: 0.6318 MB / 0.5659 GB, free: 28.37 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002093/0.3261, allocations: 2.219 MB / 0.568 GB, free: 27.35 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004852/0.3266, allocations: 379.2 kB / 0.5684 GB, free: 27.15 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008427/0.3275, allocations: 0.7906 MB / 0.5692 GB, free: 26.8 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009113/0.3284, allocations: 1.068 MB / 0.5702 GB, free: 26.32 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002289/0.3286, allocations: 107.7 kB / 0.5703 GB, free: 26.32 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006552/0.3293, allocations: 323.6 kB / 0.5706 GB, free: 26.25 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002692/0.3296, allocations: 388.3 kB / 0.571 GB, free: 26.03 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005604/0.3301, allocations: 0.8299 MB / 0.5718 GB, free: 25.5 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001432/0.3316, allocations: 2.205 MB / 0.5739 GB, free: 24.55 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.3316, allocations: 3.938 kB / 0.5739 GB, free: 24.54 MB / 414.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.3316, allocations: 0 / 0.5739 GB, free: 24.54 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.286e-05/0.3317, allocations: 0 / 0.5739 GB, free: 24.54 MB / 414.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.0135/0.3452, allocations: 3.764 MB / 0.5776 GB, free: 23.04 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/0.3452, allocations: 12.55 kB / 0.5776 GB, free: 23.03 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004809/0.35, allocations: 0.7523 MB / 0.5784 GB, free: 22.86 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002081/0.3522, allocations: 1.111 MB / 0.5795 GB, free: 22.14 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004433/0.3526, allocations: 431.6 kB / 0.5799 GB, free: 21.75 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002384/0.3529, allocations: 109.9 kB / 0.58 GB, free: 21.71 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003107/0.356, allocations: 1.428 MB / 0.5814 GB, free: 21.16 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.404e-05/0.356, allocations: 7.875 kB / 0.5814 GB, free: 21.16 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001238/0.3562, allocations: 41.14 kB / 0.5814 GB, free: 21.12 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.56e-05/0.3562, allocations: 23.97 kB / 0.5814 GB, free: 21.12 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003033/0.3592, allocations: 1.339 MB / 0.5827 GB, free: 20.68 MB / 414.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.008708/0.3679, allocations: 4.933 MB / 0.5876 GB, free: 17.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007853/0.3758, allocations: 2.899 MB / 0.5904 GB, free: 16.2 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001759/0.3776, allocations: 0.9227 MB / 0.5913 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001385/0.3778, allocations: 25.44 kB / 0.5913 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002047/0.3798, allocations: 1.057 MB / 0.5924 GB, free: 15.06 MB / 414.1 MB Notification: Performance of pre-optimization done (n=126): time 2.955e-06/0.3798, allocations: 0 / 0.5924 GB, free: 15.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=126): time 0.0386/0.4184, allocations: 9.784 MB / 0.6019 GB, free: 8.309 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.106e-05/0.4185, allocations: 119.8 kB / 0.602 GB, free: 8.164 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002142/0.4207, allocations: 1.411 MB / 0.6034 GB, free: 6.742 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000351/0.421, allocations: 53.7 kB / 0.6034 GB, free: 6.684 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000337/0.4214, allocations: 0.6002 MB / 0.604 GB, free: 6.078 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004065/0.4218, allocations: 465.4 kB / 0.6045 GB, free: 5.617 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005409/0.4223, allocations: 335.4 kB / 0.6048 GB, free: 5.285 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 3.715e-05/0.4224, allocations: 305.1 kB / 0.6051 GB, free: 4.984 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001817/0.4242, allocations: 0.9682 MB / 0.606 GB, free: 4.016 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00191/0.4261, allocations: 1.166 MB / 0.6072 GB, free: 2.801 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003631/0.4298, allocations: 2.085 MB / 0.6092 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.437e-06/0.4298, allocations: 3.938 kB / 0.6092 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.009009/0.4388, allocations: 3.707 MB / 0.6128 GB, free: 12.95 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.702e-05/0.4389, allocations: 8 kB / 0.6128 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/0.4389, allocations: 0 / 0.6128 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009613/0.4485, allocations: 2.974 MB / 0.6157 GB, free: 9.969 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001371/0.4499, allocations: 275.5 kB / 0.616 GB, free: 9.699 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007016/0.4569, allocations: 2.992 MB / 0.6189 GB, free: 6.684 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002356/0.4593, allocations: 250.2 kB / 0.6192 GB, free: 6.438 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000168/0.4595, allocations: 63.98 kB / 0.6192 GB, free: 6.375 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.0006543/0.4602, allocations: 305.4 kB / 0.6195 GB, free: 6.066 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002899/0.4605, allocations: 158 kB / 0.6197 GB, free: 5.91 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01573/0.4762, allocations: 4.812 MB / 0.6244 GB, free: 1.074 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.602e-05/0.4762, allocations: 16 kB / 0.6244 GB, free: 1.059 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.4763, allocations: 0 / 0.6244 GB, free: 1.059 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.429e-05/0.4763, allocations: 11.91 kB / 0.6244 GB, free: 1.047 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.01841/0.4947, allocations: 6.894 MB / 0.6311 GB, free: 10.01 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.689e-05/0.4948, allocations: 7.984 kB / 0.6311 GB, free: 10 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009189/0.4957, allocations: 135.8 kB / 0.6313 GB, free: 9.871 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007355/0.5031, allocations: 2.142 MB / 0.6334 GB, free: 7.723 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002308/0.5033, allocations: 31.92 kB / 0.6334 GB, free: 7.691 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0231/0.5264, allocations: 9.179 MB / 0.6424 GB, free: 14.37 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.5265, allocations: 7.875 kB / 0.6424 GB, free: 14.36 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01808/0.5446, allocations: 5.946 MB / 0.6482 GB, free: 8.383 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006156/0.5452, allocations: 282.6 kB / 0.6484 GB, free: 8.086 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002515/0.5455, allocations: 28 kB / 0.6485 GB, free: 8.059 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001597/0.5471, allocations: 131.8 kB / 0.6486 GB, free: 7.93 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008109/0.5479, allocations: 265.2 kB / 0.6488 GB, free: 7.672 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001049/0.548, allocations: 32 kB / 0.6489 GB, free: 7.641 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001424/0.5494, allocations: 0.9503 MB / 0.6498 GB, free: 6.691 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5495, allocations: 0 / 0.6498 GB, free: 6.691 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001401/0.5509, allocations: 0.5269 MB / 0.6503 GB, free: 6.164 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.0003227/0.5512, allocations: 155.9 kB / 0.6505 GB, free: 6.008 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008523/0.5597, allocations: 2.86 MB / 0.6533 GB, free: 3.148 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/0.5598, allocations: 0 / 0.6533 GB, free: 3.148 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005978/0.5658, allocations: 1.882 MB / 0.6551 GB, free: 1.25 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001339/0.5671, allocations: 133.2 kB / 0.6552 GB, free: 1.121 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005564/0.5727, allocations: 3.573 MB / 0.6587 GB, free: 13.52 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007015/0.5734, allocations: 1.227 MB / 0.6599 GB, free: 12.26 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006438/0.5741, allocations: 142 kB / 0.66 GB, free: 12.12 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003422/0.5744, allocations: 87.41 kB / 0.6601 GB, free: 12.04 MB / 478.1 MB Notification: Performance of SimCode: time 1.673e-06/0.5744, allocations: 4 kB / 0.6601 GB, free: 12.03 MB / 478.1 MB Notification: Performance of Templates: time 0.03914/0.6136, allocations: 27.18 MB / 0.6867 GB, free: 0.8477 MB / 494.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe 2>&1)