Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.ST5B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ST5B") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.ST5B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ST5B") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008422/0.0008422, allocations: 92.78 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 223.3 MB / 240 MB, free: 5.52 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.001032/0.001032, allocations: 171.5 kB / 291.3 MB, free: 2.188 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5113/0.5113, allocations: 91.92 MB / 434.3 MB, free: 10.28 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000405/0.0004052, allocations: 12 kB / 0.5054 GB, free: 7.234 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3671/0.3675, allocations: 72.46 MB / 0.5762 GB, free: 36.76 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ST5B): time 0.00764/0.3752, allocations: 9.756 MB / 0.5857 GB, free: 29.97 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006505/0.3817, allocations: 3.379 MB / 0.589 GB, free: 27.56 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001792/0.3836, allocations: 32.16 kB / 0.589 GB, free: 27.55 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008407/0.3844, allocations: 287.9 kB / 0.5893 GB, free: 27.42 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002579/0.387, allocations: 0.9562 MB / 0.5902 GB, free: 26.79 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002351/0.3894, allocations: 1.229 MB / 0.5914 GB, free: 26.05 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002909/0.3923, allocations: 2.761 MB / 0.5941 GB, free: 24.71 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009076/0.3932, allocations: 0.6447 MB / 0.5948 GB, free: 24.37 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001332/0.3946, allocations: 0.9164 MB / 0.5957 GB, free: 23.95 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00132/0.3959, allocations: 1.217 MB / 0.5969 GB, free: 23.38 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002738/0.3962, allocations: 108.3 kB / 0.597 GB, free: 23.38 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007079/0.3969, allocations: 282.8 kB / 0.5972 GB, free: 23.31 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003345/0.3972, allocations: 448.2 kB / 0.5977 GB, free: 23.05 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008402/0.3981, allocations: 1.085 MB / 0.5987 GB, free: 22.32 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002001/0.4001, allocations: 2.431 MB / 0.6011 GB, free: 21.68 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.4001, allocations: 0 / 0.6011 GB, free: 21.68 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.4001, allocations: 5.281 kB / 0.6011 GB, free: 21.67 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.765e-05/0.4002, allocations: 0 / 0.6011 GB, free: 21.67 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: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.01371/0.4139, allocations: 3.902 MB / 0.6049 GB, free: 20.1 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.564e-05/0.414, allocations: 8.719 kB / 0.6049 GB, free: 20.1 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005694/0.4197, allocations: 0.8256 MB / 0.6057 GB, free: 19.9 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00347/0.4232, allocations: 1.511 MB / 0.6072 GB, free: 18.94 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004724/0.4237, allocations: 473.7 kB / 0.6076 GB, free: 18.54 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004033/0.4241, allocations: 160 kB / 0.6078 GB, free: 18.48 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004876/0.429, allocations: 2.16 MB / 0.6099 GB, free: 17.56 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.926e-05/0.429, allocations: 1.281 kB / 0.6099 GB, free: 17.56 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001759/0.4292, allocations: 58.5 kB / 0.61 GB, free: 17.52 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.873e-05/0.4292, allocations: 42.36 kB / 0.61 GB, free: 17.51 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004426/0.4337, allocations: 1.959 MB / 0.6119 GB, free: 16.88 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.01293/0.4466, allocations: 7.497 MB / 0.6192 GB, free: 12.34 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0102/0.4568, allocations: 4.031 MB / 0.6232 GB, free: 10.75 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002691/0.4596, allocations: 1.229 MB / 0.6244 GB, free: 10.16 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000147/0.4597, allocations: 26.91 kB / 0.6244 GB, free: 10.16 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002778/0.4625, allocations: 1.422 MB / 0.6258 GB, free: 9.363 MB / 430.1 MB Notification: Performance of pre-optimization done (n=163): time 3.887e-06/0.4625, allocations: 1.219 kB / 0.6258 GB, free: 9.363 MB / 430.1 MB Notification: Performance of matching and sorting (n=163): time 0.0441/0.5066, allocations: 12.82 MB / 0.6383 GB, free: 13.41 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001444/0.5068, allocations: 304 kB / 0.6386 GB, free: 13.04 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003069/0.5099, allocations: 1.782 MB / 0.6403 GB, free: 11.22 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006424/0.5106, allocations: 61.7 kB / 0.6404 GB, free: 11.15 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006968/0.5113, allocations: 0.8519 MB / 0.6412 GB, free: 10.29 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008117/0.5121, allocations: 0.5893 MB / 0.6418 GB, free: 9.691 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003373/0.5124, allocations: 218.5 kB / 0.642 GB, free: 9.473 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.873e-05/0.5125, allocations: 309.2 kB / 0.6423 GB, free: 9.168 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002892/0.5154, allocations: 1.309 MB / 0.6436 GB, free: 7.852 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003158/0.5186, allocations: 1.664 MB / 0.6452 GB, free: 6.074 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005797/0.5244, allocations: 2.832 MB / 0.648 GB, free: 3.129 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/0.5245, allocations: 3.938 kB / 0.648 GB, free: 3.125 MB / 446.1 MB Notification: Performance of matching and sorting (n=306) (initialization): time 0.01315/0.5376, allocations: 5.394 MB / 0.6533 GB, free: 13.66 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001999/0.5379, allocations: 280.2 kB / 0.6535 GB, free: 13.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.644e-05/0.5379, allocations: 8 kB / 0.6535 GB, free: 13.29 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01302/0.5509, allocations: 4.031 MB / 0.6575 GB, free: 9.238 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001684/0.5526, allocations: 327.5 kB / 0.6578 GB, free: 8.918 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01714/0.5698, allocations: 11.02 MB / 0.6685 GB, free: 13.34 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003684/0.5735, allocations: 377.9 kB / 0.6689 GB, free: 12.97 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003988/0.5739, allocations: 87.97 kB / 0.669 GB, free: 12.88 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.816e-06/0.5739, allocations: 4 kB / 0.669 GB, free: 12.88 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01058/0.5845, allocations: 4.559 MB / 0.6734 GB, free: 8.262 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-05/0.5846, allocations: 8 kB / 0.6734 GB, free: 8.254 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01241/0.597, allocations: 3.899 MB / 0.6773 GB, free: 4.336 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001732/0.5988, allocations: 327.5 kB / 0.6776 GB, free: 4.016 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.014/0.6128, allocations: 9.589 MB / 0.6869 GB, free: 9.863 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003275/0.6161, allocations: 310.4 kB / 0.6872 GB, free: 9.559 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005226/0.6167, allocations: 91.97 kB / 0.6873 GB, free: 9.469 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,sT5B.imLimitedLeadLag5.integrator.local_reset,sT5B.imLimitedLeadLag4.integrator.local_reset,sT5B.imLimitedLeadLag3.integrator.local_reset,sT5B.imLimitedLeadLag1.integrator.local_reset,sT5B.imLimitedLeadLag2.integrator.local_reset,sT5B.imLimitedLeadLag.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (197): * Single equations (assignments): 192 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * 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): 5 systems {(1,4), (1,4), (1,4), (1,4), (36,58)} Notification: Performance of prepare postOptimizeDAE: time 0.001594/0.6183, allocations: 467.1 kB / 0.6878 GB, free: 9.004 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009102/0.6192, allocations: 213.4 kB / 0.688 GB, free: 8.793 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01933/0.6386, allocations: 6.399 MB / 0.6942 GB, free: 2.375 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.264e-05/0.6387, allocations: 20 kB / 0.6942 GB, free: 2.355 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.6387, allocations: 0 / 0.6942 GB, free: 2.355 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.385e-05/0.6387, allocations: 11.91 kB / 0.6942 GB, free: 2.344 MB / 494.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.02585/0.6646, allocations: 8.986 MB / 0.703 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.076e-05/0.6647, allocations: 0 / 0.703 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001562/0.6662, allocations: 251.7 kB / 0.7033 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008251/0.6745, allocations: 2.521 MB / 0.7057 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004604/0.675, allocations: 32 kB / 0.7057 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02706/0.7021, allocations: 10.33 MB / 0.7158 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.7021, allocations: 3.938 kB / 0.7158 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02348/0.7256, allocations: 7.89 MB / 0.7235 GB, free: 4.012 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001077/0.7268, allocations: 334.2 kB / 0.7239 GB, free: 3.664 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000999/0.7278, allocations: 35.98 kB / 0.7239 GB, free: 3.629 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002648/0.7304, allocations: 227.8 kB / 0.7241 GB, free: 3.406 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001086/0.7315, allocations: 273.2 kB / 0.7244 GB, free: 3.137 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003189/0.7319, allocations: 47.98 kB / 0.7244 GB, free: 3.09 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002544/0.7344, allocations: 1.181 MB / 0.7256 GB, free: 1.887 MB / 0.5137 GB Notification: Performance of sort global known variables: time 5.82e-07/0.7345, allocations: 0 / 0.7256 GB, free: 1.887 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005109/0.7396, allocations: 1.092 MB / 0.7266 GB, free: 0.793 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 17 (gENCLS.omega,gENCLS.delta,gENCLS.eq,sT5B.imLimitedLeadLag.integrator.y,sT5B.imLimitedLeadLag2.integrator.y,sT5B.imLimitedLeadLag1.integrator.y,sT5B.imLimitedLeadLag3.integrator.y,sT5B.imLimitedLeadLag4.integrator.y,sT5B.imLimitedLeadLag5.integrator.y,sT5B.simpleLagLimVar.state,sT5B.TransducerDelay.state,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 119 * 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.0006057/0.7402, allocations: 160.8 kB / 0.7268 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.02255/0.7628, allocations: 7.733 MB / 0.7343 GB, free: 8.773 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.345e-06/0.7628, allocations: 3.938 kB / 0.7344 GB, free: 8.77 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.007827/0.7707, allocations: 2.416 MB / 0.7367 GB, free: 6.344 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00323/0.7739, allocations: 233.4 kB / 0.7369 GB, free: 6.117 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009855/0.7838, allocations: 5.111 MB / 0.7419 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001412/0.7853, allocations: 1.44 MB / 0.7433 GB, free: 15.51 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009732/0.7863, allocations: 127.4 kB / 0.7435 GB, free: 15.38 MB / 0.545 GB Notification: Performance of SimCode: time 1.012e-06/0.7863, allocations: 0 / 0.7435 GB, free: 15.38 MB / 0.545 GB Notification: Performance of Templates: time 0.3191/1.105, allocations: 52.14 MB / 0.7944 GB, free: 162.5 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ST5B -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.pipe 2>&1)