Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.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: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004871/0.004871, allocations: 99.77 kB / 15.73 MB, free: 6.02 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.427/1.427, allocations: 222.9 MB / 239.4 MB, free: 4.512 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.001483/0.001483, allocations: 196.5 kB / 289.7 MB, free: 2.223 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4604/0.4604, allocations: 78.54 MB / 418.4 MB, free: 3.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002354/0.002354, allocations: 88.12 kB / 0.5532 GB, free: 1.391 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.2648, allocations: 68.15 MB / 0.6197 GB, free: 9.516 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A): time 0.006492/0.2713, allocations: 8.815 MB / 0.6283 GB, free: 1.41 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004976/0.2763, allocations: 2.852 MB / 0.6311 GB, free: 14.55 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007923/0.2771, allocations: 16 kB / 0.6311 GB, free: 14.54 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008703/0.278, allocations: 353 kB / 0.6315 GB, free: 14.19 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002961/0.281, allocations: 1.239 MB / 0.6327 GB, free: 12.95 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001919/0.2829, allocations: 0.864 MB / 0.6335 GB, free: 12.09 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002974/0.2859, allocations: 2.588 MB / 0.6361 GB, free: 9.496 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007265/0.2867, allocations: 0.4905 MB / 0.6365 GB, free: 8.969 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001211/0.2879, allocations: 0.9806 MB / 0.6375 GB, free: 7.98 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001488/0.2894, allocations: 1.237 MB / 0.6387 GB, free: 6.738 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003467/0.2897, allocations: 204 kB / 0.6389 GB, free: 6.539 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000846/0.2906, allocations: 475.7 kB / 0.6394 GB, free: 6.074 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004704/0.2911, allocations: 0.4981 MB / 0.6398 GB, free: 5.574 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009389/0.292, allocations: 0.9945 MB / 0.6408 GB, free: 4.574 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002868/0.2949, allocations: 2.612 MB / 0.6434 GB, free: 1.957 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2949, allocations: 0 / 0.6434 GB, free: 1.957 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2949, allocations: 0 / 0.6434 GB, free: 1.957 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.854e-05/0.2949, allocations: 0 / 0.6434 GB, free: 1.957 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 270 * Number of variables: 270 Notification: Performance of Generate backend data structure: time 0.01519/0.3101, allocations: 4.127 MB / 0.6474 GB, free: 13.77 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.3102, allocations: 12.03 kB / 0.6474 GB, free: 13.76 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002277/0.3104, allocations: 164.7 kB / 0.6476 GB, free: 13.59 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004864/0.3153, allocations: 0.7832 MB / 0.6483 GB, free: 12.8 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002263/0.3176, allocations: 1.236 MB / 0.6495 GB, free: 11.52 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005412/0.3181, allocations: 458.5 kB / 0.65 GB, free: 10.99 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002274/0.3184, allocations: 120 kB / 0.6501 GB, free: 10.88 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003379/0.3218, allocations: 1.555 MB / 0.6516 GB, free: 9.27 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/0.3218, allocations: 0 / 0.6516 GB, free: 9.27 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001347/0.3219, allocations: 40 kB / 0.6516 GB, free: 9.23 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.598e-05/0.322, allocations: 32 kB / 0.6517 GB, free: 9.199 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003394/0.3254, allocations: 1.437 MB / 0.6531 GB, free: 7.754 MB / 462.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.009873/0.3353, allocations: 5.443 MB / 0.6584 GB, free: 2.078 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009625/0.3449, allocations: 3.071 MB / 0.6614 GB, free: 14.88 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002315/0.3472, allocations: 0.9707 MB / 0.6623 GB, free: 13.89 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006839/0.3479, allocations: 0.7258 MB / 0.663 GB, free: 13 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002605/0.3505, allocations: 1.137 MB / 0.6642 GB, free: 11.84 MB / 478.1 MB Notification: Performance of pre-optimization done (n=134): time 3.126e-06/0.3506, allocations: 0 / 0.6642 GB, free: 11.84 MB / 478.1 MB Notification: Performance of matching and sorting (n=134): time 0.04514/0.3957, allocations: 10.04 MB / 0.674 GB, free: 1.766 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.434e-05/0.3958, allocations: 124.1 kB / 0.6741 GB, free: 1.617 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002576/0.3984, allocations: 1.54 MB / 0.6756 GB, free: 72 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003168/0.3987, allocations: 49.7 kB / 0.6756 GB, free: 16 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006015/0.3994, allocations: 0.668 MB / 0.6763 GB, free: 15.34 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005904/0.4, allocations: 0.5075 MB / 0.6768 GB, free: 14.83 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000743/0.4007, allocations: 379.5 kB / 0.6771 GB, free: 14.45 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.4008, allocations: 301.1 kB / 0.6774 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002596/0.4034, allocations: 1.046 MB / 0.6784 GB, free: 13.11 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002821/0.4063, allocations: 1.282 MB / 0.6797 GB, free: 11.76 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005272/0.4116, allocations: 2.235 MB / 0.6819 GB, free: 9.469 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.589e-05/0.4116, allocations: 4 kB / 0.6819 GB, free: 9.465 MB / 494.1 MB Notification: Performance of matching and sorting (n=262) (initialization): time 0.0115/0.4231, allocations: 4.004 MB / 0.6858 GB, free: 5.449 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/0.4231, allocations: 7.984 kB / 0.6858 GB, free: 5.441 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.309e-05/0.4232, allocations: 7.984 kB / 0.6858 GB, free: 5.434 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01054/0.4337, allocations: 2.683 MB / 0.6884 GB, free: 2.742 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001763/0.4355, allocations: 363.5 kB / 0.6888 GB, free: 2.387 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007207/0.4427, allocations: 2.692 MB / 0.6914 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002442/0.4452, allocations: 274.7 kB / 0.6917 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001887/0.4454, allocations: 75.97 kB / 0.6917 GB, free: 15.33 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,eSDC2A.rotatingExciterLimited.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (205): * Single equations (assignments): 203 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(30,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0006962/0.4461, allocations: 321.4 kB / 0.692 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003463/0.4464, allocations: 186.8 kB / 0.6922 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01813/0.4646, allocations: 4.911 MB / 0.697 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.26e-05/0.4646, allocations: 19.94 kB / 0.697 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.4646, allocations: 3.938 kB / 0.697 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.948e-05/0.4647, allocations: 7.969 kB / 0.6971 GB, free: 9.859 MB / 0.4981 GB 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.02161/0.4863, allocations: 7.159 MB / 0.704 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.384e-05/0.4864, allocations: 0 / 0.704 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001117/0.4875, allocations: 167.8 kB / 0.7042 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008395/0.4959, allocations: 2.142 MB / 0.7063 GB, free: 256 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002581/0.4962, allocations: 31.98 kB / 0.7063 GB, free: 224 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02832/0.5245, allocations: 10.06 MB / 0.7162 GB, free: 6.008 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.5245, allocations: 0 / 0.7162 GB, free: 6.008 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02148/0.546, allocations: 6.176 MB / 0.7222 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006718/0.5467, allocations: 299.5 kB / 0.7225 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003743/0.5471, allocations: 24 kB / 0.7225 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001842/0.549, allocations: 147.8 kB / 0.7226 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009734/0.55, allocations: 277.3 kB / 0.7229 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001247/0.5501, allocations: 39.98 kB / 0.7229 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001828/0.5519, allocations: 1.036 MB / 0.7239 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2e-07/0.5519, allocations: 0 / 0.7239 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001714/0.5537, allocations: 0.5659 MB / 0.7245 GB, free: 13.41 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,eSDC2A.imDerivativeLag.x,eSDC2A.imLeadLag.TF.x_scaled[1],eSDC2A.rotatingExciterLimited.sISO.y,eSDC2A.TransducerDelay.state,eSDC2A.simpleLagLimVar.state) * 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 (91): * Single equations (assignments): 90 * 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.02169/0.5754, allocations: 6.801 MB / 0.7311 GB, free: 6.566 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01018/0.5856, allocations: 3.044 MB / 0.7341 GB, free: 3.516 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.5856, allocations: 0 / 0.7341 GB, free: 3.516 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006985/0.5926, allocations: 2.009 MB / 0.7361 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00126/0.5939, allocations: 160.1 kB / 0.7362 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05088/0.6448, allocations: 20.28 MB / 0.756 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009688/0.6458, allocations: 1.282 MB / 0.7573 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006744/0.6465, allocations: 162.9 kB / 0.7574 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001074/0.6475, allocations: 0.6711 MB / 0.7581 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of SimCode: time 8.42e-07/0.6476, allocations: 0 / 0.7581 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3017/0.9492, allocations: 46.83 MB / 0.8038 GB, free: 114.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.98/15.93, allocations: 13.02 kB / 0.8038 GB, free: 114.3 MB / 0.5606 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe 2>&1)