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/Complex 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_PSS_PSS2B",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_PSS_PSS2B",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.223/1.223, allocations: 221.4 MB / 234.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008483/0.0008483, allocations: 91.36 kB / 285.6 MB, free: 12.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4711/0.4711, allocations: 78.03 MB / 414.5 MB, free: 10.83 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.117e-05/3.119e-05, allocations: 7.984 kB / 491.9 MB, free: 13.77 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3281/0.3281, allocations: 69.34 MB / 0.5481 GB, free: 20.09 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1324/0.4605, allocations: 115.5 MB / 0.6609 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003118/0.4609, allocations: 87.89 kB / 0.6609 GB, free: 0.7656 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4774/0.9383, allocations: 68.91 MB / 0.7282 GB, free: 82.26 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.9384, allocations: 0 / 0.7282 GB, free: 82.26 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003284/0.9387, allocations: 55.94 kB / 0.7283 GB, free: 82.2 MB / 490.7 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.008738/0.9475, allocations: 2.866 MB / 0.7311 GB, free: 79.28 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.9475, allocations: 11.97 kB / 0.7311 GB, free: 79.27 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009515/0.9485, allocations: 227.5 kB / 0.7313 GB, free: 79.04 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00414/0.9526, allocations: 0.676 MB / 0.732 GB, free: 78.36 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004182/0.9569, allocations: 1.749 MB / 0.7337 GB, free: 76.54 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006549/0.9575, allocations: 0.7659 MB / 0.7344 GB, free: 75.64 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005539/0.9581, allocations: 163.9 kB / 0.7346 GB, free: 75.48 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003445/0.9616, allocations: 1.853 MB / 0.7364 GB, free: 73.57 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.688e-05/0.9616, allocations: 0 / 0.7364 GB, free: 73.57 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001793/0.9618, allocations: 56 kB / 0.7365 GB, free: 73.52 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.9618, allocations: 36 kB / 0.7365 GB, free: 73.48 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002692/0.9645, allocations: 1.773 MB / 0.7382 GB, free: 71.71 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.01168/0.9762, allocations: 7.419 MB / 0.7455 GB, free: 64.07 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008598/0.9848, allocations: 4.147 MB / 0.7495 GB, free: 59.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001554/0.9864, allocations: 1.017 MB / 0.7505 GB, free: 58.77 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001599/0.9866, allocations: 37.95 kB / 0.7505 GB, free: 58.74 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001696/0.9883, allocations: 1.239 MB / 0.7518 GB, free: 57.48 MB / 490.7 MB Notification: Performance of pre-optimization done (n=182): time 3.847e-06/0.9883, allocations: 0 / 0.7518 GB, free: 57.48 MB / 490.7 MB Notification: Performance of matching and sorting (n=182): time 0.01591/1.004, allocations: 5.87 MB / 0.7575 GB, free: 51.59 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.183e-05/1.004, allocations: 257.3 kB / 0.7577 GB, free: 51.28 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003345/1.008, allocations: 2.014 MB / 0.7597 GB, free: 49.25 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005182/1.008, allocations: 65.69 kB / 0.7598 GB, free: 49.18 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005651/1.009, allocations: 1.012 MB / 0.7608 GB, free: 48.16 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006078/1.009, allocations: 0.643 MB / 0.7614 GB, free: 47.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001517/1.01, allocations: 44.06 kB / 0.7614 GB, free: 47.46 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001309/1.01, allocations: 377.9 kB / 0.7618 GB, free: 47.09 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001387/1.011, allocations: 0.8905 MB / 0.7627 GB, free: 46.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001415/1.013, allocations: 1.132 MB / 0.7638 GB, free: 45 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001392/1.014, allocations: 0.9859 MB / 0.7647 GB, free: 44.02 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.213e-06/1.014, allocations: 4 kB / 0.7647 GB, free: 44.02 MB / 490.7 MB Notification: Performance of matching and sorting (n=249) (initialization): time 0.004894/1.019, allocations: 3.091 MB / 0.7677 GB, free: 40.91 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002406/1.019, allocations: 1.432 MB / 0.7691 GB, free: 39.37 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/1.019, allocations: 0 / 0.7691 GB, free: 39.37 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008932/1.028, allocations: 3.25 MB / 0.7723 GB, free: 36.11 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0015/1.03, allocations: 303.6 kB / 0.7726 GB, free: 35.82 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005743/1.035, allocations: 3.144 MB / 0.7757 GB, free: 32.64 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003533/1.039, allocations: 461.9 kB / 0.7761 GB, free: 32.19 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003683/1.039, allocations: 71.98 kB / 0.7762 GB, free: 32.12 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/1.039, allocations: 6.344 kB / 0.7762 GB, free: 32.12 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005163/1.044, allocations: 2.804 MB / 0.7789 GB, free: 29.31 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.982e-05/1.045, allocations: 4 kB / 0.7789 GB, free: 29.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008767/1.053, allocations: 3.149 MB / 0.782 GB, free: 26.15 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00157/1.055, allocations: 303.6 kB / 0.7823 GB, free: 25.85 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005634/1.061, allocations: 2.964 MB / 0.7852 GB, free: 22.86 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003621/1.064, allocations: 422 kB / 0.7856 GB, free: 22.45 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003854/1.065, allocations: 71.97 kB / 0.7857 GB, free: 22.38 MB / 490.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (142): * Single equations (assignments): 141 * 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.0007047/1.065, allocations: 196.7 kB / 0.7858 GB, free: 22.18 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009738/1.066, allocations: 256.8 kB / 0.7861 GB, free: 21.92 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01632/1.083, allocations: 6.048 MB / 0.792 GB, free: 15.84 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-05/1.083, allocations: 28 kB / 0.792 GB, free: 15.82 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.199e-05/1.083, allocations: 0 / 0.792 GB, free: 15.82 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.693e-05/1.083, allocations: 15.89 kB / 0.792 GB, free: 15.8 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.02259/1.105, allocations: 9.199 MB / 0.801 GB, free: 6.469 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.826e-05/1.105, allocations: 0 / 0.801 GB, free: 6.469 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001634/1.107, allocations: 267.7 kB / 0.8013 GB, free: 6.207 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006295/1.113, allocations: 2.151 MB / 0.8034 GB, free: 4.051 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004952/1.114, allocations: 55.92 kB / 0.8034 GB, free: 3.996 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02004/1.134, allocations: 10.02 MB / 0.8132 GB, free: 9.695 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/1.134, allocations: 0 / 0.8132 GB, free: 9.695 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02055/1.155, allocations: 7.442 MB / 0.8205 GB, free: 2.203 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00107/1.156, allocations: 409.4 kB / 0.8209 GB, free: 1.781 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008883/1.157, allocations: 43.98 kB / 0.8209 GB, free: 1.738 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003299/1.16, allocations: 347.9 kB / 0.8213 GB, free: 1.398 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001128/1.161, allocations: 317.8 kB / 0.8216 GB, free: 1.082 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002943/1.161, allocations: 51.98 kB / 0.8216 GB, free: 1.031 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003553/1.165, allocations: 1.561 MB / 0.8231 GB, free: 15.45 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.31e-07/1.165, allocations: 0 / 0.8231 GB, free: 15.45 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003897/1.169, allocations: 1.061 MB / 0.8242 GB, free: 14.39 MB / 0.5105 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 () * 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.02036/1.189, allocations: 8.277 MB / 0.8322 GB, free: 6.059 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0152/1.205, allocations: 5.345 MB / 0.8375 GB, free: 0.7188 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/1.205, allocations: 0 / 0.8375 GB, free: 0.7188 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006543/1.211, allocations: 2.376 MB / 0.8398 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001796/1.213, allocations: 262.4 kB / 0.84 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008734/1.222, allocations: 4.519 MB / 0.8444 GB, free: 9.469 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001092/1.223, allocations: 1.688 MB / 0.8461 GB, free: 7.742 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002021/1.225, allocations: 0.5251 MB / 0.8466 GB, free: 7.211 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001133/1.226, allocations: 0.9718 MB / 0.8476 GB, free: 6.238 MB / 0.5261 GB Notification: Performance of SimCode: time 9.01e-07/1.226, allocations: 0 / 0.8476 GB, free: 6.238 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3849/1.611, allocations: 69.66 MB / 0.9156 GB, free: 170.2 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001577/1.611, allocations: 163.7 kB / 0.9157 GB, free: 170 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.272/5.883, allocations: 0 / 0.9157 GB, free: 170 MB / 0.573 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSSE_PSS_PSS2B_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_PSS_PSS2B.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.pipe 2>&1)