Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.ST5B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ST5B") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.ST5B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.001156/0.001156, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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: 223.3 MB / 239.4 MB, free: 5.508 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.001161/0.00116, allocations: 172.5 kB / 290.6 MB, free: 2.184 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4704/0.4704, allocations: 78.54 MB / 420.3 MB, free: 4.328 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003578/0.0003578, allocations: 8 kB / 0.4887 GB, free: 6.023 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1246, allocations: 69.36 MB / 0.5564 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ST5B): time 0.2274/0.3521, allocations: 9.732 MB / 0.5659 GB, free: 33.78 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006017/0.3581, allocations: 3.369 MB / 0.5692 GB, free: 32.64 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001785/0.3599, allocations: 31.31 kB / 0.5692 GB, free: 32.64 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008491/0.3608, allocations: 293.8 kB / 0.5695 GB, free: 32.52 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003153/0.364, allocations: 1.15 MB / 0.5706 GB, free: 32.04 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002155/0.3661, allocations: 1.143 MB / 0.5717 GB, free: 31.93 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003228/0.3694, allocations: 2.896 MB / 0.5746 GB, free: 31.39 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009247/0.3703, allocations: 0.6519 MB / 0.5752 GB, free: 31.29 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00126/0.3716, allocations: 0.9258 MB / 0.5761 GB, free: 31 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001164/0.3728, allocations: 1.239 MB / 0.5773 GB, free: 30.64 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000247/0.373, allocations: 106.7 kB / 0.5774 GB, free: 30.64 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006175/0.3736, allocations: 283.1 kB / 0.5777 GB, free: 30.62 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003395/0.374, allocations: 454.7 kB / 0.5781 GB, free: 30.48 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008189/0.3748, allocations: 1.092 MB / 0.5792 GB, free: 29.8 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002281/0.3771, allocations: 3.019 MB / 0.5821 GB, free: 28.78 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.3771, allocations: 0 / 0.5821 GB, free: 28.78 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.915e-06/0.3771, allocations: 2.625 kB / 0.5821 GB, free: 28.78 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.886e-05/0.3772, allocations: 0 / 0.5821 GB, free: 28.78 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.01377/0.391, allocations: 4.202 MB / 0.5863 GB, free: 27.19 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.391, allocations: 12.06 kB / 0.5863 GB, free: 27.19 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004808/0.3959, allocations: 0.832 MB / 0.5871 GB, free: 26.98 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002465/0.3983, allocations: 1.498 MB / 0.5885 GB, free: 26.04 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000444/0.3988, allocations: 481.4 kB / 0.589 GB, free: 25.62 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003286/0.3991, allocations: 158.2 kB / 0.5891 GB, free: 25.57 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004221/0.4034, allocations: 2.162 MB / 0.5913 GB, free: 24.65 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.868e-05/0.4034, allocations: 5.281 kB / 0.5913 GB, free: 24.64 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001677/0.4036, allocations: 59.5 kB / 0.5913 GB, free: 24.6 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.212e-05/0.4036, allocations: 35.22 kB / 0.5914 GB, free: 24.6 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004129/0.4078, allocations: 1.958 MB / 0.5933 GB, free: 23.97 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.01187/0.4197, allocations: 7.496 MB / 0.6006 GB, free: 19.44 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01024/0.4299, allocations: 4.028 MB / 0.6045 GB, free: 18.05 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00266/0.4326, allocations: 1.225 MB / 0.6057 GB, free: 17.6 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001438/0.4328, allocations: 32.36 kB / 0.6057 GB, free: 17.59 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002983/0.4358, allocations: 1.418 MB / 0.6071 GB, free: 17.09 MB / 430.1 MB Notification: Performance of pre-optimization done (n=163): time 3.116e-06/0.4358, allocations: 0 / 0.6071 GB, free: 17.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=163): time 0.04666/0.4824, allocations: 12.82 MB / 0.6196 GB, free: 12.76 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.409e-05/0.4826, allocations: 308 kB / 0.6199 GB, free: 12.39 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002352/0.4849, allocations: 1.786 MB / 0.6217 GB, free: 10.56 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000452/0.4854, allocations: 61.7 kB / 0.6217 GB, free: 10.5 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004371/0.4858, allocations: 0.848 MB / 0.6226 GB, free: 9.637 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004923/0.4863, allocations: 0.5854 MB / 0.6231 GB, free: 9.043 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002484/0.4866, allocations: 228.6 kB / 0.6234 GB, free: 8.816 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.876e-05/0.4866, allocations: 301.1 kB / 0.6236 GB, free: 8.52 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002414/0.4891, allocations: 1.305 MB / 0.6249 GB, free: 7.211 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002554/0.4916, allocations: 1.672 MB / 0.6266 GB, free: 5.426 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004802/0.4964, allocations: 2.832 MB / 0.6293 GB, free: 2.48 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.4965, allocations: 4 kB / 0.6293 GB, free: 2.477 MB / 430.1 MB Notification: Performance of matching and sorting (n=306) (initialization): time 0.0127/0.5092, allocations: 5.391 MB / 0.6346 GB, free: 13.02 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002487/0.5095, allocations: 288 kB / 0.6349 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.626e-05/0.5095, allocations: 4 kB / 0.6349 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01346/0.523, allocations: 4.029 MB / 0.6388 GB, free: 8.598 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001544/0.5245, allocations: 325.4 kB / 0.6391 GB, free: 8.281 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01769/0.5422, allocations: 11.02 MB / 0.6499 GB, free: 12.71 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003855/0.5462, allocations: 369.9 kB / 0.6502 GB, free: 12.35 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003699/0.5466, allocations: 83.98 kB / 0.6503 GB, free: 12.27 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.027e-06/0.5466, allocations: 8 kB / 0.6503 GB, free: 12.26 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01057/0.5571, allocations: 4.568 MB / 0.6548 GB, free: 7.633 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/0.5572, allocations: 4 kB / 0.6548 GB, free: 7.629 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01252/0.5697, allocations: 3.898 MB / 0.6586 GB, free: 3.715 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001655/0.5714, allocations: 331.5 kB / 0.6589 GB, free: 3.391 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01246/0.5839, allocations: 9.585 MB / 0.6683 GB, free: 9.266 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002991/0.5869, allocations: 310.3 kB / 0.6686 GB, free: 8.961 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002354/0.5872, allocations: 83.98 kB / 0.6686 GB, free: 8.879 MB / 478.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.001033/0.5882, allocations: 478.4 kB / 0.6691 GB, free: 8.402 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004178/0.5887, allocations: 211 kB / 0.6693 GB, free: 8.195 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01889/0.6076, allocations: 6.399 MB / 0.6755 GB, free: 1.777 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.293e-05/0.6076, allocations: 16 kB / 0.6756 GB, free: 1.762 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.6076, allocations: 3.984 kB / 0.6756 GB, free: 1.758 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.8e-05/0.6077, allocations: 11.91 kB / 0.6756 GB, free: 1.746 MB / 478.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.02308/0.6308, allocations: 8.988 MB / 0.6844 GB, free: 8.617 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.902e-05/0.6308, allocations: 0 / 0.6844 GB, free: 8.617 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001682/0.6325, allocations: 247.7 kB / 0.6846 GB, free: 8.375 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008388/0.6409, allocations: 2.515 MB / 0.687 GB, free: 5.859 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004415/0.6414, allocations: 43.98 kB / 0.6871 GB, free: 5.816 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02742/0.6689, allocations: 10.34 MB / 0.6972 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.6689, allocations: 0 / 0.6972 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02266/0.6916, allocations: 7.88 MB / 0.7049 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009814/0.6926, allocations: 330.2 kB / 0.7052 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004952/0.6931, allocations: 38.62 kB / 0.7052 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002044/0.6952, allocations: 219.8 kB / 0.7054 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008414/0.696, allocations: 281.2 kB / 0.7057 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001261/0.6962, allocations: 49.58 kB / 0.7058 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001698/0.6979, allocations: 1.181 MB / 0.7069 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6979, allocations: 0 / 0.7069 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00287/0.7007, allocations: 1.092 MB / 0.708 GB, free: 212 kB / 0.4981 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.0003603/0.7011, allocations: 160.8 kB / 0.7081 GB, free: 44 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.02125/0.7224, allocations: 7.741 MB / 0.7157 GB, free: 8.203 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/0.7224, allocations: 256 / 0.7157 GB, free: 8.203 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.007338/0.7298, allocations: 2.43 MB / 0.7181 GB, free: 5.754 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002265/0.7321, allocations: 227.4 kB / 0.7183 GB, free: 5.531 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007732/0.7398, allocations: 5.071 MB / 0.7232 GB, free: 500 kB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009357/0.7408, allocations: 1.436 MB / 0.7246 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001277/0.7421, allocations: 211.4 kB / 0.7248 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004474/0.7425, allocations: 123.4 kB / 0.7249 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of SimCode: time 5.62e-07/0.7425, allocations: 0 / 0.7249 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of Templates: time 0.06684/0.8094, allocations: 43.41 MB / 0.7673 GB, free: 3.391 MB / 0.5606 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.makefile Environment - environmentSimulation: (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ST5B -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.pipe 2>&1) Environment - environmentSimulation: