Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.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.SEXS,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_SEXS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SEXS,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_SEXS",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.007961/0.007961, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.445/1.445, allocations: 222.9 MB / 239.4 MB, free: 4.57 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.001476/0.001475, allocations: 192.4 kB / 289.7 MB, free: 2.281 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4713/0.4713, allocations: 78.53 MB / 418.4 MB, free: 3.113 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002354/0.002354, allocations: 83.86 kB / 0.5532 GB, free: 1.469 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2762, allocations: 68.16 MB / 0.6197 GB, free: 9.289 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SEXS): time 0.006094/0.2823, allocations: 8.051 MB / 0.6276 GB, free: 2.094 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004283/0.2867, allocations: 2.509 MB / 0.63 GB, free: 15.57 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007167/0.2874, allocations: 15.83 kB / 0.6301 GB, free: 15.56 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007923/0.2882, allocations: 305.4 kB / 0.6304 GB, free: 15.26 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002937/0.2912, allocations: 1.201 MB / 0.6315 GB, free: 14.06 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001479/0.2927, allocations: 0.6607 MB / 0.6322 GB, free: 13.41 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002829/0.2955, allocations: 2.281 MB / 0.6344 GB, free: 11.12 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005966/0.2961, allocations: 393.8 kB / 0.6348 GB, free: 10.71 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001177/0.2973, allocations: 0.8755 MB / 0.6356 GB, free: 9.836 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001513/0.2988, allocations: 1.105 MB / 0.6367 GB, free: 8.727 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004566/0.2993, allocations: 176 kB / 0.6369 GB, free: 8.551 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001012/0.3003, allocations: 403.7 kB / 0.6373 GB, free: 8.156 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004808/0.3008, allocations: 450.2 kB / 0.6377 GB, free: 7.715 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001019/0.3018, allocations: 0.8818 MB / 0.6385 GB, free: 6.828 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002809/0.3047, allocations: 2.234 MB / 0.6407 GB, free: 4.59 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3047, allocations: 0 / 0.6407 GB, free: 4.59 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3047, allocations: 0 / 0.6407 GB, free: 4.59 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.399e-05/0.3047, allocations: 4 kB / 0.6407 GB, free: 4.586 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: 234 * Number of variables: 234 Notification: Performance of Generate backend data structure: time 0.01444/0.3192, allocations: 3.77 MB / 0.6444 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.3192, allocations: 11.97 kB / 0.6444 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002129/0.3194, allocations: 155.8 kB / 0.6446 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00486/0.3243, allocations: 0.756 MB / 0.6453 GB, free: 15.83 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002232/0.3266, allocations: 1.117 MB / 0.6464 GB, free: 14.66 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005076/0.3271, allocations: 420.7 kB / 0.6468 GB, free: 14.18 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002217/0.3273, allocations: 107.9 kB / 0.6469 GB, free: 14.07 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003142/0.3305, allocations: 1.385 MB / 0.6483 GB, free: 12.67 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.69e-05/0.3305, allocations: 7.938 kB / 0.6483 GB, free: 12.66 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001269/0.3307, allocations: 36 kB / 0.6483 GB, free: 12.63 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.035e-05/0.3307, allocations: 20 kB / 0.6483 GB, free: 12.61 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003209/0.3339, allocations: 1.316 MB / 0.6496 GB, free: 11.29 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.009334/0.3432, allocations: 4.806 MB / 0.6543 GB, free: 6.273 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009112/0.3524, allocations: 2.851 MB / 0.6571 GB, free: 3.281 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002247/0.3547, allocations: 0.9035 MB / 0.658 GB, free: 2.367 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001464/0.3548, allocations: 20.97 kB / 0.658 GB, free: 2.348 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002371/0.3572, allocations: 1.042 MB / 0.659 GB, free: 1.281 MB / 462.1 MB Notification: Performance of pre-optimization done (n=122): time 3.156e-06/0.3572, allocations: 0 / 0.659 GB, free: 1.281 MB / 462.1 MB Notification: Performance of matching and sorting (n=122): time 0.04332/0.4006, allocations: 9.688 MB / 0.6685 GB, free: 7.559 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.405e-05/0.4007, allocations: 119.8 kB / 0.6686 GB, free: 7.414 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002348/0.403, allocations: 1.386 MB / 0.6699 GB, free: 6.016 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002934/0.4033, allocations: 49.7 kB / 0.67 GB, free: 5.961 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005308/0.4039, allocations: 0.5891 MB / 0.6706 GB, free: 5.367 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005434/0.4044, allocations: 468 kB / 0.671 GB, free: 4.906 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006591/0.4051, allocations: 335.5 kB / 0.6713 GB, free: 4.574 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.4052, allocations: 301.1 kB / 0.6716 GB, free: 4.277 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00236/0.4076, allocations: 0.9565 MB / 0.6725 GB, free: 3.32 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002518/0.4101, allocations: 1.151 MB / 0.6737 GB, free: 2.121 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00472/0.4149, allocations: 2.062 MB / 0.6757 GB, free: 20 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.902e-06/0.4149, allocations: 0 / 0.6757 GB, free: 20 kB / 478.1 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.01912/0.434, allocations: 5.403 MB / 0.681 GB, free: 10.6 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.349e-05/0.4341, allocations: 7.984 kB / 0.681 GB, free: 10.59 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/0.4341, allocations: 4 kB / 0.681 GB, free: 10.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01091/0.445, allocations: 2.876 MB / 0.6838 GB, free: 7.707 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00148/0.4465, allocations: 275.6 kB / 0.684 GB, free: 7.438 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007681/0.4542, allocations: 2.869 MB / 0.6868 GB, free: 4.539 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002498/0.4568, allocations: 250.8 kB / 0.6871 GB, free: 4.293 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000199/0.457, allocations: 63.98 kB / 0.6871 GB, free: 4.23 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (167): * Single equations (assignments): 166 * 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 {(33,32)} Notification: Performance of prepare postOptimizeDAE: time 0.0006293/0.4576, allocations: 289.5 kB / 0.6874 GB, free: 3.938 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003461/0.458, allocations: 166.9 kB / 0.6876 GB, free: 3.773 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01776/0.4758, allocations: 4.737 MB / 0.6922 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.085e-05/0.4758, allocations: 16 kB / 0.6922 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.4758, allocations: 0 / 0.6922 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.932e-05/0.4759, allocations: 7.922 kB / 0.6922 GB, free: 14.98 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.02092/0.4968, allocations: 6.804 MB / 0.6989 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.501e-05/0.4968, allocations: 3.938 kB / 0.6989 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009484/0.4978, allocations: 135.8 kB / 0.699 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008431/0.5062, allocations: 2.142 MB / 0.7011 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002372/0.5065, allocations: 27.98 kB / 0.7011 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02871/0.5352, allocations: 10.07 MB / 0.711 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/0.5353, allocations: 4 kB / 0.711 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02052/0.5558, allocations: 5.877 MB / 0.7167 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000625/0.5565, allocations: 279.6 kB / 0.717 GB, free: 5.301 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004917/0.557, allocations: 20 kB / 0.717 GB, free: 5.281 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001813/0.5588, allocations: 139.8 kB / 0.7171 GB, free: 5.145 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008693/0.5597, allocations: 253.1 kB / 0.7174 GB, free: 4.898 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001134/0.5598, allocations: 35.98 kB / 0.7174 GB, free: 4.863 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001613/0.5614, allocations: 0.9418 MB / 0.7183 GB, free: 3.922 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5614, allocations: 0 / 0.7183 GB, free: 3.922 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00157/0.563, allocations: 0.5191 MB / 0.7188 GB, free: 3.402 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 11 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,sEXS.simpleLagLim.state,sEXS.leadLag.TF.x_scaled[1]) * 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 (79): * Single equations (assignments): 78 * 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.02095/0.584, allocations: 6.477 MB / 0.7251 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009977/0.594, allocations: 2.853 MB / 0.7279 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.594, allocations: 0.875 kB / 0.7279 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006768/0.6008, allocations: 1.912 MB / 0.7298 GB, free: 8.105 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/0.6019, allocations: 125.1 kB / 0.7299 GB, free: 7.98 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04686/0.6488, allocations: 18.68 MB / 0.7482 GB, free: 4.957 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008845/0.6497, allocations: 1.211 MB / 0.7494 GB, free: 3.711 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006059/0.6504, allocations: 133.7 kB / 0.7495 GB, free: 3.578 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009106/0.6513, allocations: 0.6008 MB / 0.7501 GB, free: 2.98 MB / 0.545 GB Notification: Performance of SimCode: time 7.11e-07/0.6513, allocations: 0 / 0.7501 GB, free: 2.98 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3147/0.9659, allocations: 43.07 MB / 0.7921 GB, free: 128.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.5/15.47, allocations: 12.64 kB / 0.7921 GB, free: 128 MB / 0.5606 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SEXS_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_SEXS.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe 2>&1)