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.001241/0.001241, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.408/1.408, allocations: 223.3 MB / 239.4 MB, free: 5.492 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.001182/0.001181, allocations: 172.5 kB / 290.6 MB, free: 2.168 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5569/0.5569, allocations: 91.92 MB / 433.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004108/0.0004108, allocations: 12 kB / 0.5048 GB, free: 7.289 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.408/0.4084, allocations: 72.46 MB / 0.5755 GB, free: 36.54 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B): time 0.008559/0.417, allocations: 10.55 MB / 0.5858 GB, free: 29.17 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009249/0.4263, allocations: 3.992 MB / 0.5897 GB, free: 26.34 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003193/0.4295, allocations: 27.56 kB / 0.5898 GB, free: 26.34 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001709/0.4313, allocations: 450.3 kB / 0.5902 GB, free: 26.14 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004402/0.4357, allocations: 1.199 MB / 0.5914 GB, free: 25.38 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003385/0.4391, allocations: 1.513 MB / 0.5928 GB, free: 24.48 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005563/0.4447, allocations: 3.785 MB / 0.5965 GB, free: 22.75 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001256/0.446, allocations: 0.6188 MB / 0.5971 GB, free: 22.43 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002989/0.449, allocations: 1.252 MB / 0.5984 GB, free: 21.89 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003056/0.452, allocations: 1.545 MB / 0.5999 GB, free: 21.21 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008636/0.4529, allocations: 127.6 kB / 0.6 GB, free: 21.21 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001278/0.4542, allocations: 300.6 kB / 0.6003 GB, free: 21.15 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006031/0.4548, allocations: 0.5933 MB / 0.6009 GB, free: 20.84 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001514/0.4563, allocations: 1.246 MB / 0.6021 GB, free: 19.99 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004903/0.4613, allocations: 3.529 MB / 0.6055 GB, free: 18.82 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.4613, allocations: 1 kB / 0.6055 GB, free: 18.82 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.4613, allocations: 0 / 0.6055 GB, free: 18.82 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000154/0.4615, allocations: 0 / 0.6055 GB, free: 18.82 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.0193/0.4808, allocations: 4.632 MB / 0.61 GB, free: 17.02 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/0.4808, allocations: 9.594 kB / 0.6101 GB, free: 17.02 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006298/0.4871, allocations: 0.8742 MB / 0.6109 GB, free: 16.8 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005979/0.4931, allocations: 2.05 MB / 0.6129 GB, free: 15.66 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007606/0.4939, allocations: 0.771 MB / 0.6137 GB, free: 14.89 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005822/0.4945, allocations: 171.2 kB / 0.6138 GB, free: 14.84 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005559/0.5001, allocations: 2.252 MB / 0.616 GB, free: 13.97 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.211e-05/0.5002, allocations: 0 / 0.616 GB, free: 13.97 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001975/0.5004, allocations: 60.53 kB / 0.6161 GB, free: 13.92 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.514e-05/0.5004, allocations: 35.62 kB / 0.6161 GB, free: 13.92 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005586/0.506, allocations: 2.259 MB / 0.6183 GB, free: 13.18 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.01582/0.5218, allocations: 7.504 MB / 0.6256 GB, free: 8.094 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01201/0.5339, allocations: 4.691 MB / 0.6302 GB, free: 5.09 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0033/0.5372, allocations: 1.375 MB / 0.6316 GB, free: 3.703 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000275/0.5375, allocations: 33.95 kB / 0.6316 GB, free: 3.672 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003786/0.5413, allocations: 1.608 MB / 0.6332 GB, free: 2.043 MB / 430.1 MB Notification: Performance of pre-optimization done (n=182): time 5.931e-06/0.5413, allocations: 0 / 0.6332 GB, free: 2.043 MB / 430.1 MB Notification: Performance of matching and sorting (n=182): time 0.05556/0.5969, allocations: 14.01 MB / 0.6469 GB, free: 3.965 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001611/0.5971, allocations: 257.3 kB / 0.6471 GB, free: 3.656 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007083/0.6042, allocations: 2.605 MB / 0.6497 GB, free: 1.035 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007523/0.605, allocations: 61.7 kB / 0.6497 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001187/0.6062, allocations: 0.9844 MB / 0.6507 GB, free: 15.97 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001394/0.6076, allocations: 0.6469 MB / 0.6513 GB, free: 15.32 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009415/0.6086, allocations: 238.8 kB / 0.6515 GB, free: 15.08 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.6087, allocations: 301.1 kB / 0.6518 GB, free: 14.78 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004223/0.6129, allocations: 1.469 MB / 0.6533 GB, free: 13.31 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004314/0.6173, allocations: 1.755 MB / 0.655 GB, free: 11.48 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00778/0.625, allocations: 3.069 MB / 0.658 GB, free: 8.344 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-05/0.6251, allocations: 0 / 0.658 GB, free: 8.344 MB / 462.1 MB Notification: Performance of matching and sorting (n=324) (initialization): time 0.01651/0.6416, allocations: 5.509 MB / 0.6633 GB, free: 2.785 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000175/0.6418, allocations: 210 kB / 0.6635 GB, free: 2.523 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/0.6419, allocations: 4 kB / 0.6635 GB, free: 2.52 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0131/0.655, allocations: 3.816 MB / 0.6673 GB, free: 14.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002483/0.6575, allocations: 419.5 kB / 0.6677 GB, free: 14.29 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01134/0.6688, allocations: 4.15 MB / 0.6717 GB, free: 10.11 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005371/0.6743, allocations: 0.4897 MB / 0.6722 GB, free: 9.621 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009831/0.6753, allocations: 95.91 kB / 0.6723 GB, free: 9.527 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.6753, allocations: 4 kB / 0.6723 GB, free: 9.523 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01577/0.6911, allocations: 4.953 MB / 0.6771 GB, free: 4.531 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.178e-05/0.6911, allocations: 4 kB / 0.6771 GB, free: 4.527 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01241/0.7036, allocations: 3.676 MB / 0.6807 GB, free: 0.8477 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002397/0.706, allocations: 431.4 kB / 0.6811 GB, free: 436 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009448/0.7155, allocations: 3.744 MB / 0.6848 GB, free: 12.65 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004647/0.7201, allocations: 445.8 kB / 0.6852 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005496/0.7207, allocations: 87.97 kB / 0.6853 GB, free: 12.12 MB / 494.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 (217): * Single equations (assignments): 216 * 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 {(35,73)} Notification: Performance of prepare postOptimizeDAE: time 0.00203/0.7228, allocations: 0.5318 MB / 0.6858 GB, free: 11.58 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001481/0.7243, allocations: 256.7 kB / 0.6861 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02309/0.7474, allocations: 7.027 MB / 0.6929 GB, free: 4.27 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.959e-05/0.7474, allocations: 20 kB / 0.693 GB, free: 4.25 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.521e-05/0.7475, allocations: 4.062 kB / 0.693 GB, free: 4.246 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.511e-05/0.7475, allocations: 11.97 kB / 0.693 GB, free: 4.234 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.03105/0.7786, allocations: 10.15 MB / 0.7029 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.76e-05/0.7787, allocations: 0 / 0.7029 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001888/0.7805, allocations: 263.7 kB / 0.7031 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009726/0.7903, allocations: 2.709 MB / 0.7058 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009438/0.7913, allocations: 47.97 kB / 0.7058 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03314/0.8244, allocations: 12.79 MB / 0.7183 GB, free: 9.867 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.8245, allocations: 3.938 kB / 0.7183 GB, free: 9.863 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02864/0.8531, allocations: 8.713 MB / 0.7268 GB, free: 1.113 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001742/0.8549, allocations: 413.3 kB / 0.7272 GB, free: 0.6875 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001785/0.8567, allocations: 47.92 kB / 0.7273 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004248/0.861, allocations: 343.6 kB / 0.7276 GB, free: 312 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00151/0.8625, allocations: 305.9 kB / 0.7279 GB, free: 8 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005357/0.8631, allocations: 47.98 kB / 0.7279 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005376/0.8685, allocations: 1.835 MB / 0.7297 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.11e-07/0.8685, allocations: 4 kB / 0.7297 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006433/0.875, allocations: 1.143 MB / 0.7308 GB, free: 12.97 MB / 0.5294 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 (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,9), (26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008464/0.8758, allocations: 177.3 kB / 0.731 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.02299/0.8988, allocations: 6.95 MB / 0.7378 GB, free: 5.82 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.143e-05/0.8989, allocations: 0 / 0.7378 GB, free: 5.82 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.008766/0.9077, allocations: 2.775 MB / 0.7405 GB, free: 3.02 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004386/0.9121, allocations: 290.5 kB / 0.7408 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01275/0.9249, allocations: 6.106 MB / 0.7467 GB, free: 12.61 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001759/0.9267, allocations: 1.637 MB / 0.7483 GB, free: 10.93 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002295/0.929, allocations: 355.7 kB / 0.7487 GB, free: 10.58 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001012/0.93, allocations: 139.4 kB / 0.7488 GB, free: 10.44 MB / 0.545 GB Notification: Performance of SimCode: time 1.102e-06/0.93, allocations: 0 / 0.7488 GB, free: 10.44 MB / 0.545 GB Notification: Performance of Templates: time 0.339/1.269, allocations: 47.02 MB / 0.7947 GB, free: 164.7 MB / 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)