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.001193/0.001193, 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.442/1.442, allocations: 222.9 MB / 239.2 MB, free: 4.605 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.001522/0.001522, allocations: 187.6 kB / 289.6 MB, free: 2.316 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4612/0.4612, allocations: 78.53 MB / 418.2 MB, free: 3.164 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001793/0.001794, allocations: 71.89 kB / 497.6 MB, free: 6.312 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1385, allocations: 68.19 MB / 0.5525 GB, free: 2.094 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SEXS): time 0.224/0.3625, allocations: 8.022 MB / 0.5603 GB, free: 35.3 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004661/0.3672, allocations: 2.516 MB / 0.5628 GB, free: 34.63 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001255/0.3685, allocations: 11.78 kB / 0.5628 GB, free: 34.63 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008681/0.3693, allocations: 314.7 kB / 0.5631 GB, free: 34.62 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002865/0.3723, allocations: 1.192 MB / 0.5643 GB, free: 34.29 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001346/0.3736, allocations: 0.6691 MB / 0.5649 GB, free: 34.23 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002386/0.376, allocations: 2.269 MB / 0.5671 GB, free: 33.8 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000561/0.3766, allocations: 397.3 kB / 0.5675 GB, free: 33.71 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001103/0.3777, allocations: 0.8535 MB / 0.5683 GB, free: 33.51 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001039/0.3788, allocations: 1.11 MB / 0.5694 GB, free: 33.24 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002503/0.379, allocations: 176.2 kB / 0.5696 GB, free: 33.24 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006978/0.3797, allocations: 412 kB / 0.57 GB, free: 33.23 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003353/0.3801, allocations: 450.2 kB / 0.5704 GB, free: 33.12 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006388/0.3807, allocations: 0.8823 MB / 0.5713 GB, free: 32.82 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002127/0.3828, allocations: 2.2 MB / 0.5734 GB, free: 32.34 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.3829, allocations: 0 / 0.5734 GB, free: 32.34 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3829, allocations: 1.188 kB / 0.5734 GB, free: 32.34 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.469e-05/0.3829, allocations: 0 / 0.5734 GB, free: 32.34 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: 234 * Number of variables: 234 Notification: Performance of Generate backend data structure: time 0.01388/0.3968, allocations: 3.72 MB / 0.5771 GB, free: 31.25 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.3969, allocations: 8.406 kB / 0.5771 GB, free: 31.25 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001656/0.397, allocations: 154.3 kB / 0.5772 GB, free: 31.21 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004612/0.4016, allocations: 0.7453 MB / 0.5779 GB, free: 31.09 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001769/0.4034, allocations: 1.103 MB / 0.579 GB, free: 30.48 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003481/0.4038, allocations: 421.4 kB / 0.5794 GB, free: 30.1 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002003/0.404, allocations: 104.2 kB / 0.5795 GB, free: 30.06 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002564/0.4066, allocations: 1.39 MB / 0.5809 GB, free: 29.53 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/0.4066, allocations: 0 / 0.5809 GB, free: 29.53 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001185/0.4067, allocations: 40.53 kB / 0.5809 GB, free: 29.5 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.844e-05/0.4068, allocations: 22.56 kB / 0.5809 GB, free: 29.5 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00282/0.4096, allocations: 1.313 MB / 0.5822 GB, free: 29.06 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.008381/0.418, allocations: 4.825 MB / 0.5869 GB, free: 26.26 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008469/0.4265, allocations: 2.85 MB / 0.5897 GB, free: 25.11 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002193/0.4287, allocations: 0.8993 MB / 0.5906 GB, free: 24.74 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001372/0.4289, allocations: 20.47 kB / 0.5906 GB, free: 24.74 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00227/0.4312, allocations: 1.042 MB / 0.5916 GB, free: 24.34 MB / 430.1 MB Notification: Performance of pre-optimization done (n=122): time 2.926e-06/0.4312, allocations: 0 / 0.5916 GB, free: 24.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=122): time 0.04343/0.4746, allocations: 9.669 MB / 0.6011 GB, free: 22.7 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.711e-05/0.4747, allocations: 115.8 kB / 0.6012 GB, free: 22.57 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002257/0.477, allocations: 1.396 MB / 0.6025 GB, free: 22 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003333/0.4773, allocations: 50.98 kB / 0.6026 GB, free: 21.95 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003756/0.4777, allocations: 0.5758 MB / 0.6032 GB, free: 21.5 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004628/0.4782, allocations: 450.1 kB / 0.6036 GB, free: 21.14 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005928/0.4788, allocations: 333 kB / 0.6039 GB, free: 20.96 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.845e-05/0.4788, allocations: 302.2 kB / 0.6042 GB, free: 20.66 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002117/0.4809, allocations: 0.9555 MB / 0.6051 GB, free: 20.19 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002385/0.4833, allocations: 1.159 MB / 0.6063 GB, free: 19.52 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004358/0.4877, allocations: 2.06 MB / 0.6083 GB, free: 18.38 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.224e-05/0.4877, allocations: 2 kB / 0.6083 GB, free: 18.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.01768/0.5054, allocations: 5.397 MB / 0.6135 GB, free: 15.74 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.227e-05/0.5055, allocations: 10.86 kB / 0.6135 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.591e-05/0.5055, allocations: 6.094 kB / 0.6136 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009469/0.515, allocations: 2.88 MB / 0.6164 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001375/0.5164, allocations: 279.6 kB / 0.6166 GB, free: 13.03 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006305/0.5227, allocations: 2.861 MB / 0.6194 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002499/0.5253, allocations: 251 kB / 0.6197 GB, free: 9.895 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000145/0.5254, allocations: 63.98 kB / 0.6197 GB, free: 9.832 MB / 430.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.0005428/0.526, allocations: 285.5 kB / 0.62 GB, free: 9.543 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002798/0.5263, allocations: 162 kB / 0.6202 GB, free: 9.383 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01482/0.5411, allocations: 4.731 MB / 0.6248 GB, free: 4.633 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-05/0.5411, allocations: 12 kB / 0.6248 GB, free: 4.621 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.5412, allocations: 0 / 0.6248 GB, free: 4.621 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.238e-05/0.5412, allocations: 7.984 kB / 0.6248 GB, free: 4.613 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 postOpt removeSimpleEquations (simulation): time 0.01853/0.5597, allocations: 6.803 MB / 0.6314 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.43e-05/0.5598, allocations: 5.5 kB / 0.6314 GB, free: 13.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009797/0.5608, allocations: 131.8 kB / 0.6316 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008181/0.569, allocations: 2.147 MB / 0.6337 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000278/0.5693, allocations: 27.98 kB / 0.6337 GB, free: 11.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02705/0.5963, allocations: 10.07 MB / 0.6435 GB, free: 1.141 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.5964, allocations: 0 / 0.6435 GB, free: 1.141 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01925/0.6156, allocations: 5.875 MB / 0.6493 GB, free: 11.23 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007176/0.6164, allocations: 266.9 kB / 0.6495 GB, free: 10.95 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003283/0.6167, allocations: 29.62 kB / 0.6495 GB, free: 10.92 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001689/0.6184, allocations: 139.8 kB / 0.6497 GB, free: 10.78 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008505/0.6193, allocations: 253.1 kB / 0.6499 GB, free: 10.54 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001032/0.6194, allocations: 33.05 kB / 0.65 GB, free: 10.5 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001451/0.6209, allocations: 0.9418 MB / 0.6509 GB, free: 9.562 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6209, allocations: 4 kB / 0.6509 GB, free: 9.559 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001529/0.6224, allocations: 0.519 MB / 0.6514 GB, free: 9.039 MB / 462.1 MB 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.01981/0.6422, allocations: 6.468 MB / 0.6577 GB, free: 2.523 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01059/0.6529, allocations: 2.884 MB / 0.6605 GB, free: 15.66 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.804e-06/0.6529, allocations: 4 kB / 0.6605 GB, free: 15.65 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007032/0.66, allocations: 1.904 MB / 0.6624 GB, free: 13.73 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00171/0.6617, allocations: 132.7 kB / 0.6625 GB, free: 13.6 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06393/0.7257, allocations: 19.8 MB / 0.6818 GB, free: 9.078 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001463/0.7272, allocations: 1.223 MB / 0.683 GB, free: 7.824 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00122/0.7284, allocations: 137.7 kB / 0.6832 GB, free: 7.688 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001415/0.7299, allocations: 0.5891 MB / 0.6837 GB, free: 7.098 MB / 494.1 MB Notification: Performance of SimCode: time 7.41e-07/0.7299, allocations: 0 / 0.6837 GB, free: 7.098 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1052/0.8351, allocations: 42.59 MB / 0.7253 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/13.01, allocations: 11.03 kB / 0.7253 GB, free: 12.78 MB / 0.5294 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)