Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A,fileNamePrefix="OpenIPSL_dev_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.007292/0.007292, allocations: 99.95 kB / 15.73 MB, free: 6.062 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.326/1.326, allocations: 222.9 MB / 239.4 MB, free: 4.523 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.001697/0.001698, allocations: 187.9 kB / 289.7 MB, free: 2.254 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4875/0.4875, allocations: 91.91 MB / 431.8 MB, free: 9.152 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 76.59 kB / 0.5723 GB, free: 33.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1071, allocations: 71.29 MB / 0.6419 GB, free: 4.07 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A): time 0.008724/0.1159, allocations: 8.826 MB / 0.6505 GB, free: 11.2 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005701/0.1216, allocations: 2.852 MB / 0.6533 GB, free: 8.336 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001519/0.1232, allocations: 15.94 kB / 0.6533 GB, free: 8.32 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001091/0.1243, allocations: 353 kB / 0.6536 GB, free: 7.973 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002851/0.1272, allocations: 1.09 MB / 0.6547 GB, free: 6.879 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002072/0.1292, allocations: 0.9583 MB / 0.6556 GB, free: 5.926 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002993/0.1323, allocations: 2.446 MB / 0.658 GB, free: 3.477 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007283/0.133, allocations: 0.4905 MB / 0.6585 GB, free: 2.957 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001279/0.1343, allocations: 0.9649 MB / 0.6594 GB, free: 1.988 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001304/0.1356, allocations: 1.214 MB / 0.6606 GB, free: 0.7695 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002975/0.1359, allocations: 204 kB / 0.6608 GB, free: 0.5703 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007945/0.1367, allocations: 487.7 kB / 0.6613 GB, free: 96 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004159/0.1371, allocations: 0.4943 MB / 0.6618 GB, free: 15.59 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008241/0.138, allocations: 0.9906 MB / 0.6627 GB, free: 14.6 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002688/0.1407, allocations: 2.599 MB / 0.6653 GB, free: 11.99 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1407, allocations: 0 / 0.6653 GB, free: 11.99 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.496e-06/0.1407, allocations: 0 / 0.6653 GB, free: 11.99 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.451e-05/0.1407, allocations: 3.938 kB / 0.6653 GB, free: 11.98 MB / 478.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.01335/0.1541, allocations: 3.834 MB / 0.669 GB, free: 8.086 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/0.1542, allocations: 8.031 kB / 0.669 GB, free: 8.078 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002233/0.1544, allocations: 168.7 kB / 0.6692 GB, free: 7.902 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00485/0.1593, allocations: 0.7793 MB / 0.67 GB, free: 7.121 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002337/0.1616, allocations: 1.236 MB / 0.6712 GB, free: 5.836 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005054/0.1621, allocations: 466.5 kB / 0.6716 GB, free: 5.305 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002637/0.1624, allocations: 120 kB / 0.6717 GB, free: 5.188 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003287/0.1657, allocations: 1.551 MB / 0.6732 GB, free: 3.586 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.761e-05/0.1657, allocations: 0 / 0.6732 GB, free: 3.586 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001381/0.1659, allocations: 43.94 kB / 0.6733 GB, free: 3.543 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.402e-05/0.1659, allocations: 28 kB / 0.6733 GB, free: 3.516 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003318/0.1692, allocations: 1.441 MB / 0.6747 GB, free: 2.066 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.009888/0.1791, allocations: 5.435 MB / 0.68 GB, free: 12.4 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009164/0.1883, allocations: 3.074 MB / 0.683 GB, free: 9.188 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002083/0.1904, allocations: 0.9668 MB / 0.684 GB, free: 8.211 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005851/0.191, allocations: 0.7336 MB / 0.6847 GB, free: 7.312 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002362/0.1934, allocations: 1.133 MB / 0.6858 GB, free: 6.156 MB / 494.1 MB Notification: Performance of pre-optimization done (n=134): time 3.016e-06/0.1934, allocations: 3.938 kB / 0.6858 GB, free: 6.152 MB / 494.1 MB Notification: Performance of matching and sorting (n=134): time 0.04247/0.2359, allocations: 10.04 MB / 0.6956 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.655e-05/0.236, allocations: 120.1 kB / 0.6957 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002452/0.2385, allocations: 1.547 MB / 0.6972 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000297/0.2388, allocations: 53.7 kB / 0.6973 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005016/0.2393, allocations: 0.6563 MB / 0.6979 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005261/0.2398, allocations: 0.5036 MB / 0.6984 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006737/0.2405, allocations: 375.5 kB / 0.6988 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.781e-05/0.2406, allocations: 301.1 kB / 0.6991 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002405/0.243, allocations: 1.05 MB / 0.7001 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002529/0.2456, allocations: 1.283 MB / 0.7013 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004727/0.2503, allocations: 2.228 MB / 0.7035 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.2503, allocations: 3.938 kB / 0.7035 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.01061/0.2609, allocations: 4.016 MB / 0.7074 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.261, allocations: 8 kB / 0.7074 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.183e-05/0.261, allocations: 4 kB / 0.7074 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009793/0.2708, allocations: 2.679 MB / 0.7101 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001685/0.2725, allocations: 371.5 kB / 0.7104 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006425/0.279, allocations: 2.688 MB / 0.713 GB, free: 9.984 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00232/0.2813, allocations: 278.6 kB / 0.7133 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001613/0.2815, allocations: 67.98 kB / 0.7134 GB, free: 9.645 MB / 0.5137 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.0006272/0.2821, allocations: 325.5 kB / 0.7137 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002995/0.2824, allocations: 178.8 kB / 0.7139 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01673/0.2991, allocations: 4.923 MB / 0.7187 GB, free: 4.195 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.698e-05/0.2992, allocations: 15.98 kB / 0.7187 GB, free: 4.18 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-05/0.2992, allocations: 11.94 kB / 0.7187 GB, free: 4.168 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.819e-05/0.2992, allocations: 11.97 kB / 0.7187 GB, free: 4.156 MB / 0.5137 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.01958/0.3188, allocations: 7.139 MB / 0.7257 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/0.3189, allocations: 0 / 0.7257 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/0.3199, allocations: 179.8 kB / 0.7258 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007684/0.3276, allocations: 2.134 MB / 0.7279 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001504/0.3278, allocations: 28 kB / 0.728 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02577/0.3535, allocations: 10.07 MB / 0.7378 GB, free: 324 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.3536, allocations: 0 / 0.7378 GB, free: 324 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01932/0.3729, allocations: 6.176 MB / 0.7438 GB, free: 10.1 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000581/0.3735, allocations: 299.5 kB / 0.7441 GB, free: 9.789 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002727/0.3738, allocations: 20 kB / 0.7441 GB, free: 9.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001676/0.3755, allocations: 143.8 kB / 0.7443 GB, free: 9.629 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007663/0.3762, allocations: 277.3 kB / 0.7445 GB, free: 9.359 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001048/0.3764, allocations: 36 kB / 0.7446 GB, free: 9.324 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001514/0.3779, allocations: 1.032 MB / 0.7456 GB, free: 8.297 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.1e-07/0.3779, allocations: 0 / 0.7456 GB, free: 8.297 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001392/0.3793, allocations: 0.5737 MB / 0.7461 GB, free: 7.723 MB / 0.545 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.01952/0.3988, allocations: 6.804 MB / 0.7528 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009299/0.4082, allocations: 3.053 MB / 0.7558 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.4082, allocations: 4.062 kB / 0.7558 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00644/0.4146, allocations: 2.004 MB / 0.7577 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001224/0.4159, allocations: 167.2 kB / 0.7579 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2916/0.7075, allocations: 20.27 MB / 0.7777 GB, free: 116.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009208/0.7085, allocations: 1.28 MB / 0.7789 GB, free: 116 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008208/0.7093, allocations: 161.5 kB / 0.7791 GB, free: 116 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008565/0.7102, allocations: 0.675 MB / 0.7797 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of SimCode: time 1.062e-06/0.7102, allocations: 0 / 0.7797 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.11/0.8202, allocations: 46.85 MB / 0.8255 GB, free: 78.26 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.67/15.49, allocations: 5.406 kB / 0.8255 GB, free: 78.26 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_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_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe 2>&1)