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-master/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-master/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-master/package.mo): time 0.1225/0.1225, allocations: 12.6 MB / 28.85 MB, free: 284 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 115.4 kB / 32.46 MB, free: 3.414 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.406/1.406, allocations: 205.1 MB / 241 MB, free: 12.4 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.001296/0.001296, allocations: 191.4 kB / 291.3 MB, free: 13.42 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4486/0.4486, allocations: 78.51 MB / 419.9 MB, free: 11.27 MB / 302.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.003796/0.003796, allocations: 137.1 kB / 0.4895 GB, free: 10.08 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.3435, allocations: 68.11 MB / 0.556 GB, free: 32.92 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.008573/0.3522, allocations: 8.314 MB / 0.5641 GB, free: 26.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006029/0.3583, allocations: 2.53 MB / 0.5666 GB, free: 24.59 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00186/0.3602, allocations: 13.97 kB / 0.5666 GB, free: 24.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001041/0.3613, allocations: 316.9 kB / 0.5669 GB, free: 24.33 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00348/0.3648, allocations: 1.204 MB / 0.5681 GB, free: 23.36 MB / 398.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.001708/0.3665, allocations: 0.6759 MB / 0.5687 GB, free: 22.86 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0032/0.3697, allocations: 2.344 MB / 0.571 GB, free: 21.45 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006556/0.3704, allocations: 421.7 kB / 0.5714 GB, free: 21.2 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001441/0.3718, allocations: 0.8803 MB / 0.5723 GB, free: 20.65 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001376/0.3732, allocations: 1.134 MB / 0.5734 GB, free: 19.86 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003461/0.3736, allocations: 182.7 kB / 0.5736 GB, free: 19.86 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009104/0.3745, allocations: 404.6 kB / 0.574 GB, free: 19.74 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003318/0.3748, allocations: 476.1 kB / 0.5744 GB, free: 19.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007835/0.3756, allocations: 0.9047 MB / 0.5753 GB, free: 18.64 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00241/0.378, allocations: 2.294 MB / 0.5775 GB, free: 16.92 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.378, allocations: 0 / 0.5775 GB, free: 16.92 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3781, allocations: 0 / 0.5775 GB, free: 16.92 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.123e-05/0.3781, allocations: 1.188 kB / 0.5775 GB, free: 16.92 MB / 398.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.01289/0.391, allocations: 3.766 MB / 0.5812 GB, free: 13.46 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.3911, allocations: 15.98 kB / 0.5812 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004589/0.3957, allocations: 0.751 MB / 0.582 GB, free: 12.69 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002184/0.3979, allocations: 1.108 MB / 0.583 GB, free: 11.53 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003688/0.3983, allocations: 428.7 kB / 0.5835 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002029/0.3985, allocations: 108 kB / 0.5836 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002378/0.4009, allocations: 1.432 MB / 0.585 GB, free: 9.488 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.128e-05/0.4009, allocations: 0 / 0.585 GB, free: 9.488 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001095/0.401, allocations: 36 kB / 0.585 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.706e-05/0.401, allocations: 24 kB / 0.585 GB, free: 9.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002494/0.4035, allocations: 1.347 MB / 0.5863 GB, free: 8.086 MB / 398.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.008069/0.4116, allocations: 4.915 MB / 0.5911 GB, free: 2.957 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00689/0.4185, allocations: 2.898 MB / 0.594 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001994/0.4206, allocations: 0.9113 MB / 0.5948 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001519/0.4207, allocations: 32.89 kB / 0.5949 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002187/0.4229, allocations: 1.061 MB / 0.5959 GB, free: 13.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=126): time 2.996e-06/0.4229, allocations: 0 / 0.5959 GB, free: 13.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=126): time 0.03858/0.4615, allocations: 9.781 MB / 0.6055 GB, free: 4.055 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.494e-05/0.4616, allocations: 115.8 kB / 0.6056 GB, free: 3.914 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002473/0.4641, allocations: 1.415 MB / 0.607 GB, free: 2.488 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003423/0.4645, allocations: 53.7 kB / 0.607 GB, free: 2.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005246/0.465, allocations: 0.5963 MB / 0.6076 GB, free: 1.828 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005769/0.4656, allocations: 465.4 kB / 0.608 GB, free: 1.367 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006454/0.4663, allocations: 331.4 kB / 0.6083 GB, free: 1.039 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.4664, allocations: 301.1 kB / 0.6086 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00211/0.4685, allocations: 0.98 MB / 0.6096 GB, free: 15.76 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002205/0.4707, allocations: 1.17 MB / 0.6107 GB, free: 14.54 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00411/0.4748, allocations: 2.074 MB / 0.6128 GB, free: 12.43 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.077e-05/0.4749, allocations: 7.938 kB / 0.6128 GB, free: 12.42 MB / 430.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.009088/0.484, allocations: 3.707 MB / 0.6164 GB, free: 8.699 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.98e-05/0.484, allocations: 8 kB / 0.6164 GB, free: 8.691 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/0.4841, allocations: 4 kB / 0.6164 GB, free: 8.688 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009559/0.4936, allocations: 2.974 MB / 0.6193 GB, free: 5.711 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001467/0.4951, allocations: 271.6 kB / 0.6196 GB, free: 5.445 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007087/0.5022, allocations: 2.988 MB / 0.6225 GB, free: 2.434 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002513/0.5048, allocations: 250.3 kB / 0.6227 GB, free: 2.188 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002096/0.505, allocations: 63.98 kB / 0.6228 GB, free: 2.125 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.0006799/0.5057, allocations: 305.4 kB / 0.6231 GB, free: 1.816 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003255/0.5061, allocations: 165.9 kB / 0.6232 GB, free: 1.652 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01513/0.5212, allocations: 4.811 MB / 0.6279 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.15e-05/0.5213, allocations: 12 kB / 0.6279 GB, free: 12.81 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/0.5213, allocations: 0 / 0.6279 GB, free: 12.81 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.558e-05/0.5213, allocations: 15.91 kB / 0.628 GB, free: 12.79 MB / 446.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.01855/0.5399, allocations: 6.882 MB / 0.6347 GB, free: 5.773 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.92e-05/0.5399, allocations: 8.016 kB / 0.6347 GB, free: 5.766 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009659/0.5409, allocations: 139.8 kB / 0.6348 GB, free: 5.629 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007234/0.5482, allocations: 2.138 MB / 0.6369 GB, free: 3.484 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002625/0.5485, allocations: 31.98 kB / 0.6369 GB, free: 3.453 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02419/0.5726, allocations: 10.07 MB / 0.6468 GB, free: 9.242 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.5727, allocations: 0 / 0.6468 GB, free: 9.242 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01743/0.5901, allocations: 5.952 MB / 0.6526 GB, free: 3.258 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007555/0.5909, allocations: 270.8 kB / 0.6528 GB, free: 2.973 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002626/0.5912, allocations: 23.94 kB / 0.6529 GB, free: 2.949 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001552/0.5928, allocations: 135.8 kB / 0.653 GB, free: 2.816 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008366/0.5936, allocations: 261.4 kB / 0.6532 GB, free: 2.562 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001114/0.5937, allocations: 31.98 kB / 0.6533 GB, free: 2.531 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00145/0.5952, allocations: 0.9581 MB / 0.6542 GB, free: 1.574 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.5952, allocations: 4 kB / 0.6542 GB, free: 1.57 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001451/0.5967, allocations: 0.5307 MB / 0.6547 GB, free: 1.039 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.0003666/0.597, allocations: 149 kB / 0.6549 GB, free: 0.8828 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008366/0.6054, allocations: 2.903 MB / 0.6577 GB, free: 13.98 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.6054, allocations: 4.312 kB / 0.6577 GB, free: 13.97 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005916/0.6114, allocations: 1.931 MB / 0.6596 GB, free: 12.03 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001181/0.6126, allocations: 135.1 kB / 0.6597 GB, free: 11.9 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005365/0.6179, allocations: 2.998 MB / 0.6627 GB, free: 8.879 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007439/0.6187, allocations: 1.231 MB / 0.6639 GB, free: 7.617 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000522/0.6192, allocations: 138 kB / 0.664 GB, free: 7.48 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003378/0.6196, allocations: 99.41 kB / 0.6641 GB, free: 7.383 MB / 478.1 MB Notification: Performance of SimCode: time 3.367e-06/0.6196, allocations: 0 / 0.6641 GB, free: 7.383 MB / 478.1 MB Notification: Performance of Templates: time 0.04649/0.6661, allocations: 30.25 MB / 0.6936 GB, free: 9.137 MB / 0.4981 GB 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 -s cvode -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe 2>&1)