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.007236/0.007241, allocations: 101.9 kB / 15.73 MB, free: 6.004 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.371/1.371, allocations: 222.9 MB / 239.4 MB, free: 4.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.001448/0.001448, allocations: 184.5 kB / 289.7 MB, free: 2.25 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4434/0.4434, allocations: 78.54 MB / 418.4 MB, free: 3.195 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00162/0.00162, allocations: 79.81 kB / 0.5532 GB, free: 1.402 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3409, allocations: 68.16 MB / 0.6197 GB, free: 9.273 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A): time 0.007532/0.3484, allocations: 8.81 MB / 0.6283 GB, free: 1.305 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005883/0.3544, allocations: 2.86 MB / 0.6311 GB, free: 14.44 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002256/0.3567, allocations: 19.94 kB / 0.6311 GB, free: 14.42 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001232/0.3579, allocations: 345 kB / 0.6315 GB, free: 14.08 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003752/0.3617, allocations: 1.294 MB / 0.6327 GB, free: 12.79 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001965/0.3637, allocations: 0.8676 MB / 0.6336 GB, free: 11.93 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003253/0.3669, allocations: 2.596 MB / 0.6361 GB, free: 9.32 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007332/0.3677, allocations: 498.3 kB / 0.6366 GB, free: 8.797 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001368/0.3691, allocations: 0.9805 MB / 0.6376 GB, free: 7.809 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001308/0.3704, allocations: 1.229 MB / 0.6388 GB, free: 6.574 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002596/0.3707, allocations: 204 kB / 0.639 GB, free: 6.375 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008493/0.3715, allocations: 479.6 kB / 0.6394 GB, free: 5.906 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004054/0.3719, allocations: 0.4981 MB / 0.6399 GB, free: 5.406 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008036/0.3727, allocations: 1.006 MB / 0.6409 GB, free: 4.395 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00289/0.3756, allocations: 2.612 MB / 0.6434 GB, free: 1.777 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.3757, allocations: 0 / 0.6434 GB, free: 1.777 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3757, allocations: 0 / 0.6434 GB, free: 1.777 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.761e-05/0.3757, allocations: 0 / 0.6434 GB, free: 1.777 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.01472/0.3904, allocations: 4.119 MB / 0.6475 GB, free: 13.6 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.3905, allocations: 8.031 kB / 0.6475 GB, free: 13.59 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002276/0.3907, allocations: 168.7 kB / 0.6476 GB, free: 13.41 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004639/0.3954, allocations: 0.7793 MB / 0.6484 GB, free: 12.63 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002176/0.3976, allocations: 1.244 MB / 0.6496 GB, free: 11.34 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004864/0.3981, allocations: 466.5 kB / 0.65 GB, free: 10.81 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002368/0.3983, allocations: 120 kB / 0.6502 GB, free: 10.69 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003119/0.4014, allocations: 1.551 MB / 0.6517 GB, free: 9.09 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.637e-05/0.4015, allocations: 3.984 kB / 0.6517 GB, free: 9.086 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001537/0.4016, allocations: 44 kB / 0.6517 GB, free: 9.043 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.148e-05/0.4017, allocations: 24 kB / 0.6517 GB, free: 9.02 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005022/0.4067, allocations: 1.441 MB / 0.6531 GB, free: 7.57 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.01507/0.4218, allocations: 5.431 MB / 0.6584 GB, free: 1.906 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01239/0.4342, allocations: 3.072 MB / 0.6614 GB, free: 14.7 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002334/0.4366, allocations: 0.9707 MB / 0.6624 GB, free: 13.72 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005658/0.4372, allocations: 0.7336 MB / 0.6631 GB, free: 12.82 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002491/0.4397, allocations: 1.137 MB / 0.6642 GB, free: 11.66 MB / 478.1 MB Notification: Performance of pre-optimization done (n=134): time 3.356e-06/0.4397, allocations: 0 / 0.6642 GB, free: 11.66 MB / 478.1 MB Notification: Performance of matching and sorting (n=134): time 0.04087/0.4806, allocations: 10.04 MB / 0.674 GB, free: 1.582 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.627e-05/0.4807, allocations: 116.1 kB / 0.6741 GB, free: 1.441 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002414/0.4831, allocations: 1.548 MB / 0.6756 GB, free: 15.89 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000341/0.4835, allocations: 53.7 kB / 0.6757 GB, free: 15.83 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004901/0.484, allocations: 0.6602 MB / 0.6763 GB, free: 15.16 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005466/0.4845, allocations: 0.5036 MB / 0.6768 GB, free: 14.66 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006505/0.4852, allocations: 371.5 kB / 0.6772 GB, free: 14.29 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.792e-05/0.4853, allocations: 313 kB / 0.6775 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002323/0.4876, allocations: 1.05 MB / 0.6785 GB, free: 12.92 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002501/0.4901, allocations: 1.282 MB / 0.6798 GB, free: 11.57 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004732/0.4949, allocations: 2.224 MB / 0.6819 GB, free: 9.297 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.041e-05/0.4949, allocations: 7.938 kB / 0.6819 GB, free: 9.289 MB / 494.1 MB Notification: Performance of matching and sorting (n=262) (initialization): time 0.01043/0.5053, allocations: 4.008 MB / 0.6859 GB, free: 5.27 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.936e-05/0.5054, allocations: 8 kB / 0.6859 GB, free: 5.262 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.632e-05/0.5054, allocations: 11.92 kB / 0.6859 GB, free: 5.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009555/0.515, allocations: 2.679 MB / 0.6885 GB, free: 2.562 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001817/0.5168, allocations: 367.5 kB / 0.6888 GB, free: 2.203 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006385/0.5232, allocations: 2.692 MB / 0.6915 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00254/0.5258, allocations: 274.6 kB / 0.6917 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002559/0.5261, allocations: 71.98 kB / 0.6918 GB, free: 15.15 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.0006912/0.5268, allocations: 321.5 kB / 0.6921 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004308/0.5272, allocations: 178.8 kB / 0.6923 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01623/0.5435, allocations: 4.923 MB / 0.6971 GB, free: 9.707 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-05/0.5435, allocations: 15.94 kB / 0.6971 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-05/0.5435, allocations: 4 kB / 0.6971 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.87e-05/0.5436, allocations: 11.97 kB / 0.6971 GB, free: 9.676 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.02034/0.5639, allocations: 7.147 MB / 0.7041 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-05/0.564, allocations: 0 / 0.7041 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001126/0.5651, allocations: 179.8 kB / 0.7043 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007592/0.5727, allocations: 2.138 MB / 0.7064 GB, free: 72 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002968/0.5731, allocations: 28 kB / 0.7064 GB, free: 44 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0265/0.5996, allocations: 10.07 MB / 0.7162 GB, free: 5.824 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.5996, allocations: 0 / 0.7162 GB, free: 5.824 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02028/0.6199, allocations: 6.176 MB / 0.7222 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007558/0.6207, allocations: 299.5 kB / 0.7225 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006259/0.6214, allocations: 24 kB / 0.7226 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002082/0.6235, allocations: 139.8 kB / 0.7227 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009729/0.6245, allocations: 273.4 kB / 0.723 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001981/0.6247, allocations: 39.98 kB / 0.723 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001924/0.6266, allocations: 1.032 MB / 0.724 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.91e-07/0.6266, allocations: 0 / 0.724 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002159/0.6288, allocations: 0.5737 MB / 0.7246 GB, free: 13.23 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.02023/0.649, allocations: 6.797 MB / 0.7312 GB, free: 6.395 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009901/0.659, allocations: 3.049 MB / 0.7342 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.659, allocations: 8.062 kB / 0.7342 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006741/0.6658, allocations: 2.008 MB / 0.7361 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001855/0.6676, allocations: 159.2 kB / 0.7363 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05228/0.7199, allocations: 20.28 MB / 0.7561 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001039/0.721, allocations: 1.278 MB / 0.7573 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008372/0.7219, allocations: 162.9 kB / 0.7575 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001129/0.723, allocations: 0.675 MB / 0.7582 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of SimCode: time 1.092e-06/0.723, allocations: 0 / 0.7582 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3345/1.058, allocations: 46.82 MB / 0.8039 GB, free: 114.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.25/15.31, allocations: 9.094 kB / 0.8039 GB, free: 114.1 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)