Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.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.PSS.PSS2B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B") translateModel(OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008758/0.0008758, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.253/1.253, allocations: 223.2 MB / 238.9 MB, free: 5.469 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.001089/0.001089, allocations: 193 kB / 290.2 MB, free: 2.156 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4357/0.4357, allocations: 79.45 MB / 420.7 MB, free: 3.934 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000332/0.000332, allocations: 8 kB / 0.489 GB, free: 5.586 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1138, allocations: 69.52 MB / 0.5569 GB, free: 12 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B): time 0.1984/0.3122, allocations: 9.463 MB / 0.5661 GB, free: 36.52 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008856/0.3211, allocations: 3.913 MB / 0.5699 GB, free: 34.04 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002368/0.3235, allocations: 27.56 kB / 0.57 GB, free: 34.03 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001371/0.3249, allocations: 395.9 kB / 0.5704 GB, free: 33.86 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003411/0.3283, allocations: 1.177 MB / 0.5715 GB, free: 33.12 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002554/0.3309, allocations: 1.183 MB / 0.5727 GB, free: 32.56 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003409/0.3343, allocations: 2.267 MB / 0.5749 GB, free: 31.35 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008038/0.3351, allocations: 0.5537 MB / 0.5754 GB, free: 31.16 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001663/0.3368, allocations: 1.329 MB / 0.5767 GB, free: 30.59 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00144/0.3382, allocations: 1.453 MB / 0.5781 GB, free: 29.98 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002919/0.3385, allocations: 128 kB / 0.5783 GB, free: 29.98 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006323/0.3392, allocations: 279.1 kB / 0.5785 GB, free: 29.93 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000419/0.3396, allocations: 0.5718 MB / 0.5791 GB, free: 29.64 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003638/0.34, allocations: 449.5 kB / 0.5795 GB, free: 29.35 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001956/0.3419, allocations: 2.834 MB / 0.5823 GB, free: 28.63 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.342, allocations: 0 / 0.5823 GB, free: 28.63 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.342, allocations: 0 / 0.5823 GB, free: 28.63 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.331e-05/0.342, allocations: 0 / 0.5823 GB, free: 28.63 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: 375 * Number of variables: 375 Notification: Performance of Generate backend data structure: time 0.01511/0.3571, allocations: 4.657 MB / 0.5868 GB, free: 26.88 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.3572, allocations: 8.469 kB / 0.5868 GB, free: 26.88 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005081/0.3623, allocations: 0.8755 MB / 0.5877 GB, free: 26.65 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004598/0.3669, allocations: 1.949 MB / 0.5896 GB, free: 25.61 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005999/0.3675, allocations: 0.7772 MB / 0.5903 GB, free: 24.85 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003021/0.3678, allocations: 171.6 kB / 0.5905 GB, free: 24.79 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00416/0.372, allocations: 2.218 MB / 0.5927 GB, free: 23.93 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.63e-05/0.372, allocations: 9 kB / 0.5927 GB, free: 23.92 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001678/0.3722, allocations: 61.22 kB / 0.5927 GB, free: 23.88 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.962e-05/0.3722, allocations: 34.88 kB / 0.5928 GB, free: 23.88 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004933/0.3772, allocations: 2.241 MB / 0.595 GB, free: 23.14 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.01429/0.3915, allocations: 7.632 MB / 0.6024 GB, free: 19.13 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01174/0.4032, allocations: 4.684 MB / 0.607 GB, free: 17.52 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002625/0.4035, allocations: 41.92 kB / 0.607 GB, free: 17.5 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003509/0.4071, allocations: 1.6 MB / 0.6086 GB, free: 16.93 MB / 430.1 MB Notification: Performance of pre-optimization done (n=182): time 4.108e-06/0.4071, allocations: 0 / 0.6086 GB, free: 16.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=182): time 0.05035/0.4574, allocations: 13.94 MB / 0.6222 GB, free: 9.668 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.135e-05/0.4575, allocations: 257.3 kB / 0.6225 GB, free: 9.359 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004851/0.4624, allocations: 2.581 MB / 0.625 GB, free: 6.762 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005139/0.463, allocations: 71.38 kB / 0.625 GB, free: 6.688 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006747/0.4636, allocations: 0.9805 MB / 0.626 GB, free: 5.695 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008599/0.4645, allocations: 0.647 MB / 0.6266 GB, free: 5.039 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002809/0.4648, allocations: 52 kB / 0.6267 GB, free: 4.988 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.4649, allocations: 399.1 kB / 0.6271 GB, free: 4.594 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002802/0.4677, allocations: 1.453 MB / 0.6285 GB, free: 3.137 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002906/0.4706, allocations: 1.736 MB / 0.6302 GB, free: 1.332 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002954/0.4736, allocations: 1.561 MB / 0.6317 GB, free: 15.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.756e-06/0.4736, allocations: 0 / 0.6317 GB, free: 15.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=324) (initialization): time 0.01357/0.4872, allocations: 5.634 MB / 0.6372 GB, free: 10.07 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004653/0.4877, allocations: 1.41 MB / 0.6386 GB, free: 8.523 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/0.4877, allocations: 4 kB / 0.6386 GB, free: 8.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01231/0.5001, allocations: 3.916 MB / 0.6424 GB, free: 4.609 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002152/0.5022, allocations: 427.4 kB / 0.6428 GB, free: 4.191 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009789/0.512, allocations: 4.126 MB / 0.6468 GB, free: 32 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003921/0.516, allocations: 0.4902 MB / 0.6473 GB, free: 15.54 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003706/0.5164, allocations: 91.92 kB / 0.6474 GB, free: 15.45 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.5164, allocations: 4 kB / 0.6474 GB, free: 15.45 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02033/0.5367, allocations: 7.194 MB / 0.6544 GB, free: 8.211 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.034e-05/0.5368, allocations: 7.984 kB / 0.6545 GB, free: 8.203 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01136/0.5481, allocations: 3.665 MB / 0.658 GB, free: 4.539 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002086/0.5503, allocations: 428.6 kB / 0.6584 GB, free: 4.121 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008419/0.5587, allocations: 3.745 MB / 0.6621 GB, free: 352 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003442/0.5622, allocations: 449.8 kB / 0.6625 GB, free: 15.9 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003354/0.5625, allocations: 87.92 kB / 0.6626 GB, free: 15.82 MB / 478.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 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (217): * Single equations (assignments): 216 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {35 73} Notification: Performance of prepare postOptimizeDAE: time 0.001225/0.5637, allocations: 0.5319 MB / 0.6631 GB, free: 15.27 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007045/0.5645, allocations: 252.8 kB / 0.6634 GB, free: 15.02 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02057/0.585, allocations: 7.024 MB / 0.6702 GB, free: 7.969 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.211e-05/0.5851, allocations: 16 kB / 0.6702 GB, free: 7.953 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.22e-05/0.5851, allocations: 7.953 kB / 0.6703 GB, free: 7.945 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-05/0.5852, allocations: 7.969 kB / 0.6703 GB, free: 7.938 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.02545/0.6106, allocations: 10.18 MB / 0.6802 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.905e-05/0.6107, allocations: 1 kB / 0.6802 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001683/0.6124, allocations: 267.7 kB / 0.6805 GB, free: 13.35 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009049/0.6214, allocations: 2.703 MB / 0.6831 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004717/0.6219, allocations: 43.98 kB / 0.6831 GB, free: 10.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03124/0.6532, allocations: 13.42 MB / 0.6962 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.6532, allocations: 8.016 kB / 0.6963 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02505/0.6783, allocations: 8.75 MB / 0.7048 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001016/0.6793, allocations: 417.2 kB / 0.7052 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000864/0.6802, allocations: 44 kB / 0.7052 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003263/0.6835, allocations: 351.6 kB / 0.7056 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001063/0.6846, allocations: 309.8 kB / 0.7059 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002933/0.6849, allocations: 52.86 kB / 0.7059 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004289/0.6892, allocations: 1.811 MB / 0.7077 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.81e-07/0.6892, allocations: 0 / 0.7077 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00473/0.694, allocations: 1.151 MB / 0.7088 GB, free: 15.95 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 23 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,eSST1A.imDerivativeLag.x,eSST1A.imLeadLag.TF.x_scaled[1],eSST1A.imLeadLag1.TF.x_scaled[1],eSST1A.simpleLagLim.state,eSST1A.TransducerDelay.state,pSS2B.Leadlag1.TF.x_scaled[1],pSS2B.Leadlag2.TF.x_scaled[1],pSS2B.SimpleLag1.state,pSS2B.SimpleLag2.state,pSS2B.Leadlag3.TF.x_scaled[1],pSS2B.derivativeLag.TF.x_scaled[1],pSS2B.derivativeLag1.TF.x_scaled[1],pSS2B.derivativeLag2.TF.x_scaled[1],pSS2B.derivativeLag3.TF.x_scaled[1]) * 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 (130): * Single equations (assignments): 128 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 9,26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006156/0.6946, allocations: 176.3 kB / 0.709 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0212/0.7158, allocations: 6.92 MB / 0.7157 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.228e-05/0.7159, allocations: 4 kB / 0.7157 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00847/0.7243, allocations: 2.763 MB / 0.7184 GB, free: 6.07 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002126/0.7265, allocations: 248 kB / 0.7187 GB, free: 5.832 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01112/0.7376, allocations: 5.881 MB / 0.7244 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001668/0.7394, allocations: 1.692 MB / 0.7261 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001957/0.7413, allocations: 356.8 kB / 0.7264 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006986/0.742, allocations: 143.4 kB / 0.7265 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of SimCode: time 5.61e-07/0.7421, allocations: 0 / 0.7265 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of Templates: time 0.07071/0.8128, allocations: 45.54 MB / 0.771 GB, free: 396 kB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.pipe 2>&1)