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.001208/0.001208, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 222.9 MB / 239.3 MB, free: 4.637 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.00152/0.00152, allocations: 192.5 kB / 289.5 MB, free: 2.355 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5473/0.5473, allocations: 91.89 MB / 431.6 MB, free: 9.285 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001694/0.001694, allocations: 79.88 kB / 0.502 GB, free: 7.645 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4234/0.4251, allocations: 71.26 MB / 0.5716 GB, free: 36.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A): time 0.00774/0.4329, allocations: 8.83 MB / 0.5802 GB, free: 31.18 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005648/0.4386, allocations: 2.858 MB / 0.583 GB, free: 29.16 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001726/0.4404, allocations: 18.81 kB / 0.583 GB, free: 29.16 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001223/0.4417, allocations: 341.8 kB / 0.5833 GB, free: 28.97 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003171/0.4449, allocations: 1.032 MB / 0.5843 GB, free: 28.29 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002183/0.4471, allocations: 0.9532 MB / 0.5853 GB, free: 27.8 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003035/0.4501, allocations: 2.423 MB / 0.5876 GB, free: 26.61 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007802/0.4509, allocations: 0.4993 MB / 0.5881 GB, free: 26.36 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001507/0.4524, allocations: 0.9568 MB / 0.5891 GB, free: 25.88 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001506/0.454, allocations: 1.204 MB / 0.5902 GB, free: 25.29 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004567/0.4544, allocations: 205.1 kB / 0.5904 GB, free: 25.29 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001071/0.4555, allocations: 484.1 kB / 0.5909 GB, free: 25.2 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003918/0.4559, allocations: 0.501 MB / 0.5914 GB, free: 24.87 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009286/0.4568, allocations: 0.9876 MB / 0.5924 GB, free: 24.19 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002971/0.4598, allocations: 2.551 MB / 0.5948 GB, free: 23.09 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.4599, allocations: 7.141 kB / 0.5949 GB, free: 23.08 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.4599, allocations: 3.938 kB / 0.5949 GB, free: 23.08 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.417e-05/0.4599, allocations: 0 / 0.5949 GB, free: 23.08 MB / 430.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.01504/0.475, allocations: 3.765 MB / 0.5985 GB, free: 21.48 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.143e-05/0.4751, allocations: 9.719 kB / 0.5985 GB, free: 21.48 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003055/0.4754, allocations: 170.4 kB / 0.5987 GB, free: 21.37 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005241/0.4806, allocations: 0.7662 MB / 0.5995 GB, free: 21.19 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00319/0.4839, allocations: 1.225 MB / 0.6007 GB, free: 20.41 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004819/0.4844, allocations: 463.2 kB / 0.6011 GB, free: 19.98 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003526/0.4847, allocations: 120.7 kB / 0.6012 GB, free: 19.94 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00364/0.4884, allocations: 1.543 MB / 0.6027 GB, free: 19.32 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.518e-05/0.4884, allocations: 1.219 kB / 0.6027 GB, free: 19.32 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001339/0.4886, allocations: 48.36 kB / 0.6028 GB, free: 19.28 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.061e-05/0.4886, allocations: 26.25 kB / 0.6028 GB, free: 19.28 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003581/0.4922, allocations: 1.443 MB / 0.6042 GB, free: 18.79 MB / 430.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.0113/0.5035, allocations: 5.464 MB / 0.6095 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009029/0.5126, allocations: 3.069 MB / 0.6125 GB, free: 14.36 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002502/0.5152, allocations: 0.9742 MB / 0.6135 GB, free: 13.97 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00049/0.5157, allocations: 0.7313 MB / 0.6142 GB, free: 13.11 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002701/0.5184, allocations: 1.133 MB / 0.6153 GB, free: 12.68 MB / 430.1 MB Notification: Performance of pre-optimization done (n=134): time 4.759e-06/0.5184, allocations: 0 / 0.6153 GB, free: 12.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=134): time 0.04134/0.5598, allocations: 10.03 MB / 0.6251 GB, free: 7.074 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.438e-05/0.5599, allocations: 124.1 kB / 0.6252 GB, free: 6.93 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002934/0.5628, allocations: 1.539 MB / 0.6267 GB, free: 5.383 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005131/0.5634, allocations: 53.7 kB / 0.6268 GB, free: 5.324 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005174/0.5639, allocations: 0.6555 MB / 0.6274 GB, free: 4.664 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007803/0.5647, allocations: 496.9 kB / 0.6279 GB, free: 4.172 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001185/0.5659, allocations: 375.4 kB / 0.6282 GB, free: 3.797 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.637e-05/0.5659, allocations: 301.1 kB / 0.6285 GB, free: 3.5 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002269/0.5682, allocations: 1.054 MB / 0.6296 GB, free: 2.441 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002399/0.5706, allocations: 1.274 MB / 0.6308 GB, free: 1.105 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004973/0.5756, allocations: 2.232 MB / 0.633 GB, free: 14.81 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.527e-06/0.5756, allocations: 0 / 0.633 GB, free: 14.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=262) (initialization): time 0.01224/0.5879, allocations: 4.003 MB / 0.6369 GB, free: 10.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.859e-05/0.588, allocations: 7.938 kB / 0.6369 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.776e-05/0.5881, allocations: 12.06 kB / 0.6369 GB, free: 10.78 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01015/0.5982, allocations: 2.683 MB / 0.6395 GB, free: 8.086 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002009/0.6003, allocations: 367.4 kB / 0.6399 GB, free: 7.727 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00729/0.6076, allocations: 2.695 MB / 0.6425 GB, free: 5.004 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003245/0.6109, allocations: 270.2 kB / 0.6428 GB, free: 4.738 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004896/0.6114, allocations: 67.98 kB / 0.6428 GB, free: 4.672 MB / 446.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: 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.001352/0.6128, allocations: 337.4 kB / 0.6432 GB, free: 4.332 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008614/0.6137, allocations: 169.8 kB / 0.6433 GB, free: 4.164 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01738/0.6311, allocations: 4.915 MB / 0.6481 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-05/0.6312, allocations: 15.94 kB / 0.6481 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.205e-05/0.6312, allocations: 0 / 0.6481 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.394e-05/0.6312, allocations: 11.97 kB / 0.6481 GB, free: 15.2 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 postOpt removeSimpleEquations (simulation): time 0.02362/0.6549, allocations: 7.149 MB / 0.6551 GB, free: 7.922 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.289e-05/0.6549, allocations: 0 / 0.6551 GB, free: 7.922 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00126/0.6562, allocations: 171.7 kB / 0.6553 GB, free: 7.754 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00789/0.6641, allocations: 2.15 MB / 0.6574 GB, free: 5.598 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004191/0.6646, allocations: 27.98 kB / 0.6574 GB, free: 5.57 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02768/0.6923, allocations: 10.07 MB / 0.6673 GB, free: 11.34 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.6923, allocations: 0 / 0.6673 GB, free: 11.34 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02103/0.7134, allocations: 6.165 MB / 0.6733 GB, free: 5.145 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009479/0.7144, allocations: 290.5 kB / 0.6735 GB, free: 4.84 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000846/0.7153, allocations: 31.98 kB / 0.6736 GB, free: 4.809 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002329/0.7176, allocations: 135.8 kB / 0.6737 GB, free: 4.676 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001118/0.7187, allocations: 273.4 kB / 0.674 GB, free: 4.406 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002686/0.719, allocations: 35.98 kB / 0.674 GB, free: 4.371 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002174/0.7212, allocations: 1.036 MB / 0.675 GB, free: 3.34 MB / 478.1 MB Notification: Performance of sort global known variables: time 5.71e-07/0.7212, allocations: 0 / 0.675 GB, free: 3.34 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002697/0.7239, allocations: 0.5698 MB / 0.6756 GB, free: 2.77 MB / 478.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,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.02108/0.745, allocations: 6.789 MB / 0.6822 GB, free: 11.94 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01144/0.7565, allocations: 3.099 MB / 0.6852 GB, free: 8.832 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.407e-05/0.7566, allocations: 4 kB / 0.6852 GB, free: 8.828 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007249/0.7638, allocations: 2.001 MB / 0.6872 GB, free: 6.816 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00277/0.7667, allocations: 163.6 kB / 0.6873 GB, free: 6.66 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05868/0.8254, allocations: 21.76 MB / 0.7086 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001168/0.8266, allocations: 1.278 MB / 0.7098 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001097/0.8277, allocations: 162.9 kB / 0.71 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001361/0.8291, allocations: 0.6711 MB / 0.7106 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of SimCode: time 1.433e-06/0.8291, allocations: 0 / 0.7106 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09781/0.9269, allocations: 46.28 MB / 0.7558 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.98/13.91, allocations: 10.22 kB / 0.7559 GB, free: 15.45 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)