Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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/Modelica 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08689/0.08689, allocations: 12.59 MB / 28.22 MB, free: 0.7734 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 111.4 kB / 31.84 MB, free: 3.906 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.468/1.468, allocations: 205.1 MB / 240.4 MB, free: 12.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001585/0.001585, allocations: 188.5 kB / 290.7 MB, free: 10.94 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4711/0.4711, allocations: 78.5 MB / 419.3 MB, free: 10.76 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002603/0.002603, allocations: 135.3 kB / 0.5554 GB, free: 17.8 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1317, allocations: 68.13 MB / 0.6219 GB, free: 13.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A): time 0.01006/0.1418, allocations: 8.796 MB / 0.6305 GB, free: 4.801 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007146/0.149, allocations: 2.81 MB / 0.6333 GB, free: 1.98 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002128/0.1512, allocations: 19.94 kB / 0.6333 GB, free: 1.961 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00157/0.1528, allocations: 345.1 kB / 0.6336 GB, free: 1.621 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004895/0.1577, allocations: 1.297 MB / 0.6349 GB, free: 332 kB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002505/0.1602, allocations: 0.8539 MB / 0.6357 GB, free: 15.48 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003956/0.1642, allocations: 2.568 MB / 0.6382 GB, free: 12.91 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00112/0.1654, allocations: 498.1 kB / 0.6387 GB, free: 12.39 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001826/0.1672, allocations: 0.9844 MB / 0.6397 GB, free: 11.4 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001961/0.1692, allocations: 1.198 MB / 0.6408 GB, free: 10.2 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007399/0.1699, allocations: 204 kB / 0.641 GB, free: 9.996 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001392/0.1713, allocations: 471.7 kB / 0.6415 GB, free: 9.535 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007743/0.1721, allocations: 0.502 MB / 0.642 GB, free: 9.031 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001657/0.1738, allocations: 0.9867 MB / 0.6429 GB, free: 8.039 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003827/0.1776, allocations: 2.587 MB / 0.6455 GB, free: 5.441 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.1776, allocations: 4 kB / 0.6455 GB, free: 5.438 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1777, allocations: 0 / 0.6455 GB, free: 5.438 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001085/0.1778, allocations: 0 / 0.6455 GB, free: 5.438 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 263 * Number of variables: 263 Notification: Performance of Generate backend data structure: time 0.01618/0.194, allocations: 4.107 MB / 0.6495 GB, free: 1.27 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/0.194, allocations: 11.98 kB / 0.6495 GB, free: 1.258 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004768/0.1945, allocations: 168.5 kB / 0.6496 GB, free: 1.082 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005084/0.1996, allocations: 0.7793 MB / 0.6504 GB, free: 308 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002974/0.2026, allocations: 1.232 MB / 0.6516 GB, free: 15.02 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005517/0.2032, allocations: 470.4 kB / 0.6521 GB, free: 14.48 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000458/0.2037, allocations: 116 kB / 0.6522 GB, free: 14.37 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003785/0.2075, allocations: 1.523 MB / 0.6537 GB, free: 12.8 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.999e-05/0.2075, allocations: 3.984 kB / 0.6537 GB, free: 12.79 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001757/0.2077, allocations: 40 kB / 0.6537 GB, free: 12.75 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.983e-05/0.2077, allocations: 28 kB / 0.6537 GB, free: 12.73 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003348/0.2111, allocations: 1.417 MB / 0.6551 GB, free: 11.3 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 preOpt removeSimpleEquations (simulation): time 0.01081/0.2219, allocations: 5.395 MB / 0.6604 GB, free: 5.668 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008747/0.2307, allocations: 3.066 MB / 0.6634 GB, free: 2.461 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002178/0.2329, allocations: 0.9672 MB / 0.6643 GB, free: 1.488 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007098/0.2336, allocations: 0.7414 MB / 0.665 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002647/0.2363, allocations: 1.114 MB / 0.6661 GB, free: 15.43 MB / 494.1 MB Notification: Performance of pre-optimization done (n=133): time 5.31e-06/0.2363, allocations: 0 / 0.6661 GB, free: 15.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=133): time 0.04133/0.2777, allocations: 9.776 MB / 0.6757 GB, free: 5.625 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.933e-05/0.2778, allocations: 116.1 kB / 0.6758 GB, free: 5.488 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00291/0.2807, allocations: 1.543 MB / 0.6773 GB, free: 3.938 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003966/0.2811, allocations: 53.7 kB / 0.6773 GB, free: 3.879 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006341/0.2818, allocations: 0.6603 MB / 0.678 GB, free: 3.215 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007835/0.2826, allocations: 0.4996 MB / 0.6785 GB, free: 2.711 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001234/0.2838, allocations: 379.6 kB / 0.6788 GB, free: 2.332 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.86e-05/0.2839, allocations: 301.1 kB / 0.6791 GB, free: 2.035 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002605/0.2865, allocations: 1.05 MB / 0.6801 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.304/0.5905, allocations: 1.263 MB / 0.6814 GB, free: 52.04 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005372/0.596, allocations: 2.22 MB / 0.6835 GB, free: 51.87 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.216e-05/0.596, allocations: 1.625 kB / 0.6836 GB, free: 51.87 MB / 494.1 MB Notification: Performance of matching and sorting (n=261) (initialization): time 0.01065/0.6067, allocations: 3.846 MB / 0.6873 GB, free: 51.09 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.676e-05/0.6067, allocations: 7.734 kB / 0.6873 GB, free: 51.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.325e-05/0.6068, allocations: 5.062 kB / 0.6873 GB, free: 51.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01066/0.6174, allocations: 2.673 MB / 0.6899 GB, free: 50.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001932/0.6194, allocations: 363.4 kB / 0.6903 GB, free: 50.72 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006789/0.6262, allocations: 2.7 MB / 0.6929 GB, free: 49.49 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002728/0.629, allocations: 280.7 kB / 0.6932 GB, free: 49.45 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002355/0.6293, allocations: 71 kB / 0.6932 GB, free: 49.43 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,eSDC1A.rotatingExciterLimited.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (204): * Single equations (assignments): 202 * 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.0007335/0.63, allocations: 322.3 kB / 0.6936 GB, free: 49.18 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003992/0.6304, allocations: 182.7 kB / 0.6937 GB, free: 49.15 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0173/0.6477, allocations: 4.953 MB / 0.6986 GB, free: 47.96 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.585e-05/0.6478, allocations: 14.31 kB / 0.6986 GB, free: 47.96 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/0.6478, allocations: 1.281 kB / 0.6986 GB, free: 47.96 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.568e-05/0.6478, allocations: 7.266 kB / 0.6986 GB, free: 47.96 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.01894/0.6668, allocations: 7.121 MB / 0.7055 GB, free: 45.39 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.766e-05/0.6669, allocations: 0 / 0.7055 GB, free: 45.39 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00108/0.6679, allocations: 168.6 kB / 0.7057 GB, free: 45.36 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006958/0.6749, allocations: 2.139 MB / 0.7078 GB, free: 44.43 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002558/0.6752, allocations: 27.53 kB / 0.7078 GB, free: 44.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02292/0.6981, allocations: 10.08 MB / 0.7177 GB, free: 36.9 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.6982, allocations: 0 / 0.7177 GB, free: 36.9 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0173/0.7155, allocations: 6.142 MB / 0.7237 GB, free: 30.72 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006752/0.7162, allocations: 291 kB / 0.7239 GB, free: 30.44 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002848/0.7165, allocations: 28.75 kB / 0.724 GB, free: 30.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001654/0.7182, allocations: 143.8 kB / 0.7241 GB, free: 30.27 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007612/0.7189, allocations: 273.4 kB / 0.7244 GB, free: 30 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001123/0.7191, allocations: 35.98 kB / 0.7244 GB, free: 29.97 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001466/0.7205, allocations: 1.036 MB / 0.7254 GB, free: 28.94 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.7205, allocations: 0 / 0.7254 GB, free: 28.94 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001535/0.7221, allocations: 0.5758 MB / 0.726 GB, free: 28.38 MB / 494.1 MB 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,eSDC1A.imDerivativeLag.x,eSDC1A.imLeadLag.TF.x_scaled[1],eSDC1A.simpleLagLim.state,eSDC1A.rotatingExciterLimited.sISO.y,eSDC1A.TransducerDelay.state) * 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 (90): * Single equations (assignments): 89 * 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.01751/0.7396, allocations: 6.756 MB / 0.7326 GB, free: 21.61 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009001/0.7486, allocations: 3.029 MB / 0.7355 GB, free: 18.57 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.7487, allocations: 0 / 0.7355 GB, free: 18.57 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006184/0.7549, allocations: 2.003 MB / 0.7375 GB, free: 16.57 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00195/0.7569, allocations: 159.9 kB / 0.7376 GB, free: 16.41 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05634/0.8132, allocations: 21.98 MB / 0.7591 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001224/0.8145, allocations: 1.278 MB / 0.7604 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000978/0.8155, allocations: 158.8 kB / 0.7605 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001211/0.8167, allocations: 0.6594 MB / 0.7611 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of SimCode: time 9.32e-07/0.8167, allocations: 0 / 0.7611 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0907/0.9074, allocations: 46.72 MB / 0.8068 GB, free: 9.363 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.37/15.28, allocations: 8 kB / 0.8068 GB, free: 9.355 MB / 0.545 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe 2>&1)