Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.PSS.PSS2B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B") translateModel(OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.001039/0.001039, 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.385/1.385, allocations: 223.3 MB / 239.4 MB, free: 5.531 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.001462/0.001462, allocations: 187.3 kB / 290.6 MB, free: 2.191 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4864/0.4864, allocations: 78.55 MB / 420.3 MB, free: 4.254 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003785/0.0003785, allocations: 8 kB / 0.4887 GB, free: 6.062 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1418, allocations: 69.36 MB / 0.5564 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B): time 0.2608/0.4027, allocations: 10.52 MB / 0.5667 GB, free: 33.28 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01055/0.4132, allocations: 3.98 MB / 0.5706 GB, free: 32.07 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003728/0.417, allocations: 32.06 kB / 0.5706 GB, free: 32.07 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002244/0.4193, allocations: 457.8 kB / 0.571 GB, free: 31.91 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006143/0.4254, allocations: 1.387 MB / 0.5724 GB, free: 31.38 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003739/0.4292, allocations: 1.423 MB / 0.5738 GB, free: 31.23 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005245/0.4345, allocations: 3.932 MB / 0.5776 GB, free: 30.44 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001058/0.4355, allocations: 0.6106 MB / 0.5782 GB, free: 30.18 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00208/0.4376, allocations: 1.278 MB / 0.5795 GB, free: 29.64 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001619/0.4393, allocations: 1.555 MB / 0.581 GB, free: 28.96 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003419/0.4396, allocations: 129.3 kB / 0.5811 GB, free: 28.96 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008429/0.4405, allocations: 304.3 kB / 0.5814 GB, free: 28.89 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004851/0.441, allocations: 0.6008 MB / 0.582 GB, free: 28.58 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001019/0.442, allocations: 1.251 MB / 0.5832 GB, free: 27.73 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002667/0.4447, allocations: 3.544 MB / 0.5867 GB, free: 26.55 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.4447, allocations: 2.719 kB / 0.5867 GB, free: 26.55 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.4447, allocations: 1.062 kB / 0.5867 GB, free: 26.55 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.906e-05/0.4447, allocations: 0 / 0.5867 GB, free: 26.55 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.01785/0.4626, allocations: 4.925 MB / 0.5915 GB, free: 24.73 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.4627, allocations: 12.12 kB / 0.5915 GB, free: 24.73 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005821/0.4685, allocations: 0.8789 MB / 0.5923 GB, free: 24.5 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00672/0.4752, allocations: 2.04 MB / 0.5943 GB, free: 23.38 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009683/0.4762, allocations: 0.7688 MB / 0.5951 GB, free: 22.62 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001186/0.4775, allocations: 174.8 kB / 0.5953 GB, free: 22.56 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008797/0.4863, allocations: 2.248 MB / 0.5975 GB, free: 21.69 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.92e-05/0.4863, allocations: 1.062 kB / 0.5975 GB, free: 21.69 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002341/0.4866, allocations: 61.05 kB / 0.5975 GB, free: 21.64 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.154e-05/0.4867, allocations: 36.44 kB / 0.5975 GB, free: 21.64 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006241/0.4929, allocations: 2.254 MB / 0.5997 GB, free: 20.91 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.02062/0.5135, allocations: 7.521 MB / 0.6071 GB, free: 17.02 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01491/0.5285, allocations: 4.68 MB / 0.6117 GB, free: 15.4 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004161/0.5327, allocations: 1.376 MB / 0.613 GB, free: 14.88 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003128/0.5331, allocations: 37.34 kB / 0.613 GB, free: 14.87 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004737/0.5378, allocations: 1.605 MB / 0.6146 GB, free: 14.3 MB / 430.1 MB Notification: Performance of pre-optimization done (n=182): time 7.293e-06/0.5378, allocations: 1.125 kB / 0.6146 GB, free: 14.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=182): time 0.05417/0.592, allocations: 14.01 MB / 0.6283 GB, free: 3.957 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.8e-05/0.5922, allocations: 261.3 kB / 0.6285 GB, free: 3.645 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006239/0.5984, allocations: 2.605 MB / 0.6311 GB, free: 1.023 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007647/0.5992, allocations: 65.7 kB / 0.6311 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008792/0.6001, allocations: 0.9806 MB / 0.6321 GB, free: 15.96 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001287/0.6014, allocations: 0.6431 MB / 0.6327 GB, free: 15.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008084/0.6022, allocations: 237 kB / 0.633 GB, free: 15.07 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.959e-05/0.6023, allocations: 301.1 kB / 0.6332 GB, free: 14.77 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004195/0.6065, allocations: 1.473 MB / 0.6347 GB, free: 13.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004599/0.6111, allocations: 1.755 MB / 0.6364 GB, free: 11.47 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008479/0.6197, allocations: 3.068 MB / 0.6394 GB, free: 8.332 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.524e-05/0.6197, allocations: 0 / 0.6394 GB, free: 8.332 MB / 446.1 MB Notification: Performance of matching and sorting (n=324) (initialization): time 0.01756/0.6373, allocations: 5.518 MB / 0.6448 GB, free: 2.762 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002061/0.6375, allocations: 203.3 kB / 0.645 GB, free: 2.508 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.975e-05/0.6376, allocations: 4 kB / 0.645 GB, free: 2.504 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01371/0.6513, allocations: 3.806 MB / 0.6487 GB, free: 14.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002325/0.6537, allocations: 427.4 kB / 0.6491 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01046/0.6642, allocations: 4.146 MB / 0.6532 GB, free: 10.11 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004755/0.669, allocations: 0.4897 MB / 0.6536 GB, free: 9.617 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006846/0.6697, allocations: 89.3 kB / 0.6537 GB, free: 9.531 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.6697, allocations: 4 kB / 0.6537 GB, free: 9.527 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01279/0.6825, allocations: 4.961 MB / 0.6586 GB, free: 4.527 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.646e-05/0.6826, allocations: 4 kB / 0.6586 GB, free: 4.523 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01205/0.6947, allocations: 3.681 MB / 0.6622 GB, free: 0.8477 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002328/0.697, allocations: 423.9 kB / 0.6626 GB, free: 444 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009414/0.7065, allocations: 3.746 MB / 0.6662 GB, free: 12.66 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004359/0.7109, allocations: 450.4 kB / 0.6667 GB, free: 12.21 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005599/0.7115, allocations: 87.97 kB / 0.6667 GB, free: 12.13 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 ($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.00189/0.7134, allocations: 0.5318 MB / 0.6673 GB, free: 11.59 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000941/0.7143, allocations: 262.3 kB / 0.6675 GB, free: 11.33 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02172/0.7361, allocations: 7.033 MB / 0.6744 GB, free: 4.27 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.159e-05/0.7361, allocations: 16 kB / 0.6744 GB, free: 4.254 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.369e-05/0.7362, allocations: 4 kB / 0.6744 GB, free: 4.25 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.771e-05/0.7362, allocations: 9.469 kB / 0.6744 GB, free: 4.242 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.02842/0.7647, allocations: 10.15 MB / 0.6843 GB, free: 9.953 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.716e-05/0.7647, allocations: 0 / 0.6843 GB, free: 9.953 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001895/0.7666, allocations: 263.7 kB / 0.6846 GB, free: 9.695 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009289/0.7759, allocations: 2.706 MB / 0.6872 GB, free: 6.984 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006209/0.7766, allocations: 51.97 kB / 0.6873 GB, free: 6.934 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03165/0.8083, allocations: 12.78 MB / 0.6997 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.8083, allocations: 3.938 kB / 0.6997 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02624/0.8346, allocations: 8.717 MB / 0.7083 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001319/0.8359, allocations: 413.2 kB / 0.7087 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007267/0.8367, allocations: 53.72 kB / 0.7087 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002942/0.8396, allocations: 351.6 kB / 0.709 GB, free: 308 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009537/0.8406, allocations: 293.9 kB / 0.7093 GB, free: 16 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001753/0.8408, allocations: 56.06 kB / 0.7094 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00398/0.8448, allocations: 1.831 MB / 0.7112 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.81e-07/0.8448, allocations: 0 / 0.7112 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003616/0.8484, allocations: 1.147 MB / 0.7123 GB, free: 12.97 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 (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.0004422/0.8489, allocations: 170.5 kB / 0.7124 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.02046/0.8693, allocations: 6.95 MB / 0.7192 GB, free: 5.848 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.211e-05/0.8694, allocations: 0 / 0.7192 GB, free: 5.848 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00866/0.8781, allocations: 2.771 MB / 0.7219 GB, free: 3.055 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002873/0.881, allocations: 295.7 kB / 0.7222 GB, free: 2.773 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01047/0.8915, allocations: 6.094 MB / 0.7282 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001197/0.8927, allocations: 1.641 MB / 0.7298 GB, free: 11 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001829/0.8946, allocations: 354.2 kB / 0.7301 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005952/0.8952, allocations: 143.4 kB / 0.7302 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of SimCode: time 8.82e-07/0.8952, allocations: 4 kB / 0.7303 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of Templates: time 0.3354/1.231, allocations: 47.01 MB / 0.7762 GB, free: 169.6 MB / 0.5606 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.makefile Environment - environmentSimulation: (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.pipe 2>&1) Environment - environmentSimulation: