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.007421/0.007421, allocations: 99.81 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.337/1.337, allocations: 222.9 MB / 239.4 MB, free: 4.531 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.001333/0.001332, allocations: 196.4 kB / 289.7 MB, free: 2.25 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4388/0.4388, allocations: 78.53 MB / 418.4 MB, free: 3.141 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 79.81 kB / 0.5532 GB, free: 1.418 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2974, allocations: 68.16 MB / 0.6197 GB, free: 9.316 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SEXS): time 0.00747/0.3049, allocations: 8.045 MB / 0.6276 GB, free: 2.082 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004798/0.3098, allocations: 2.509 MB / 0.63 GB, free: 15.57 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001411/0.3112, allocations: 12 kB / 0.6301 GB, free: 15.55 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001098/0.3123, allocations: 309.4 kB / 0.6303 GB, free: 15.25 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003524/0.3159, allocations: 1.253 MB / 0.6316 GB, free: 14 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001617/0.3175, allocations: 0.6632 MB / 0.6322 GB, free: 13.34 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002968/0.3205, allocations: 2.287 MB / 0.6345 GB, free: 11.04 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006506/0.3212, allocations: 397.8 kB / 0.6348 GB, free: 10.64 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001218/0.3224, allocations: 0.8677 MB / 0.6357 GB, free: 9.766 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001494/0.3239, allocations: 1.105 MB / 0.6368 GB, free: 8.656 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004891/0.3244, allocations: 176 kB / 0.6369 GB, free: 8.48 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009369/0.3253, allocations: 399.8 kB / 0.6373 GB, free: 8.09 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005728/0.3259, allocations: 454.2 kB / 0.6377 GB, free: 7.645 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001198/0.3271, allocations: 0.8856 MB / 0.6386 GB, free: 6.754 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002911/0.3301, allocations: 2.238 MB / 0.6408 GB, free: 4.512 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3301, allocations: 4 kB / 0.6408 GB, free: 4.508 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3301, allocations: 4 kB / 0.6408 GB, free: 4.504 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.931e-05/0.3302, allocations: 0 / 0.6408 GB, free: 4.504 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.01386/0.344, allocations: 3.768 MB / 0.6445 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.3441, allocations: 8.031 kB / 0.6445 GB, free: 0.668 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001872/0.3443, allocations: 155.8 kB / 0.6446 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00465/0.349, allocations: 0.756 MB / 0.6454 GB, free: 15.75 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001973/0.3509, allocations: 1.109 MB / 0.6465 GB, free: 14.59 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004039/0.3514, allocations: 420.7 kB / 0.6469 GB, free: 14.11 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002114/0.3516, allocations: 111.9 kB / 0.647 GB, free: 14 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002761/0.3544, allocations: 1.381 MB / 0.6483 GB, free: 12.6 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/0.3544, allocations: 0 / 0.6483 GB, free: 12.6 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001198/0.3545, allocations: 39.98 kB / 0.6484 GB, free: 12.56 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.647e-05/0.3545, allocations: 24 kB / 0.6484 GB, free: 12.54 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002801/0.3573, allocations: 1.312 MB / 0.6497 GB, free: 11.23 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.008095/0.3654, allocations: 4.818 MB / 0.6544 GB, free: 6.195 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00832/0.3738, allocations: 2.853 MB / 0.6571 GB, free: 3.203 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001893/0.3757, allocations: 0.8956 MB / 0.658 GB, free: 2.297 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00012/0.3758, allocations: 24.98 kB / 0.658 GB, free: 2.273 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002168/0.378, allocations: 1.046 MB / 0.6591 GB, free: 1.203 MB / 462.1 MB Notification: Performance of pre-optimization done (n=122): time 3.286e-06/0.378, allocations: 0 / 0.6591 GB, free: 1.203 MB / 462.1 MB Notification: Performance of matching and sorting (n=122): time 0.04118/0.4192, allocations: 9.676 MB / 0.6685 GB, free: 7.492 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.04e-05/0.4193, allocations: 123.8 kB / 0.6686 GB, free: 7.344 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002374/0.4217, allocations: 1.386 MB / 0.67 GB, free: 5.945 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002739/0.422, allocations: 57.69 kB / 0.67 GB, free: 5.883 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005182/0.4225, allocations: 0.5852 MB / 0.6706 GB, free: 5.293 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005699/0.4231, allocations: 468 kB / 0.6711 GB, free: 4.832 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007353/0.4239, allocations: 331.5 kB / 0.6714 GB, free: 4.504 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.931e-05/0.424, allocations: 305.1 kB / 0.6717 GB, free: 4.203 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002202/0.4262, allocations: 0.9565 MB / 0.6726 GB, free: 3.246 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002297/0.4285, allocations: 1.155 MB / 0.6737 GB, free: 2.043 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004316/0.4328, allocations: 2.046 MB / 0.6757 GB, free: 15.95 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.351e-05/0.4328, allocations: 4 kB / 0.6757 GB, free: 15.95 MB / 494.1 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.01732/0.4502, allocations: 5.403 MB / 0.681 GB, free: 10.53 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.4502, allocations: 8 kB / 0.681 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.4502, allocations: 4 kB / 0.681 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009644/0.4599, allocations: 2.88 MB / 0.6838 GB, free: 7.637 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001385/0.4613, allocations: 283.6 kB / 0.6841 GB, free: 7.359 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007008/0.4683, allocations: 2.858 MB / 0.6869 GB, free: 4.473 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002367/0.4707, allocations: 254.8 kB / 0.6871 GB, free: 4.223 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002589/0.471, allocations: 67.91 kB / 0.6872 GB, free: 4.156 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.0007573/0.4717, allocations: 301.5 kB / 0.6875 GB, free: 3.852 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000479/0.4722, allocations: 162.9 kB / 0.6876 GB, free: 3.691 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01605/0.4883, allocations: 4.729 MB / 0.6923 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.978e-05/0.4884, allocations: 16 kB / 0.6923 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.494e-05/0.4884, allocations: 4 kB / 0.6923 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.726e-05/0.4884, allocations: 11.91 kB / 0.6923 GB, free: 14.9 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.02015/0.5086, allocations: 6.792 MB / 0.6989 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.091e-05/0.5086, allocations: 3.984 kB / 0.6989 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001091/0.5097, allocations: 135.8 kB / 0.6991 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007998/0.5178, allocations: 2.142 MB / 0.7011 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003539/0.5182, allocations: 32 kB / 0.7012 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0268/0.545, allocations: 10.07 MB / 0.711 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/0.545, allocations: 4 kB / 0.711 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01893/0.564, allocations: 5.873 MB / 0.7168 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006563/0.5647, allocations: 279.6 kB / 0.717 GB, free: 5.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004805/0.5651, allocations: 20 kB / 0.717 GB, free: 5.211 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001839/0.567, allocations: 139.8 kB / 0.7172 GB, free: 5.074 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008824/0.5679, allocations: 257 kB / 0.7174 GB, free: 4.824 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001602/0.5681, allocations: 35.98 kB / 0.7175 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001656/0.5697, allocations: 0.9418 MB / 0.7184 GB, free: 3.848 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.21e-07/0.5698, allocations: 0 / 0.7184 GB, free: 3.848 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001656/0.5714, allocations: 0.523 MB / 0.7189 GB, free: 3.324 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.01876/0.5902, allocations: 6.476 MB / 0.7252 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009171/0.5994, allocations: 2.849 MB / 0.728 GB, free: 9.961 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.5994, allocations: 192 / 0.728 GB, free: 9.961 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006302/0.6057, allocations: 1.916 MB / 0.7299 GB, free: 8.031 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001421/0.6072, allocations: 131.3 kB / 0.73 GB, free: 7.902 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0442/0.6514, allocations: 18.67 MB / 0.7482 GB, free: 4.887 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008425/0.6523, allocations: 1.211 MB / 0.7494 GB, free: 3.641 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006356/0.6529, allocations: 141.7 kB / 0.7495 GB, free: 3.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009369/0.6539, allocations: 0.5969 MB / 0.7501 GB, free: 2.906 MB / 0.545 GB Notification: Performance of SimCode: time 6.51e-07/0.6539, allocations: 0 / 0.7501 GB, free: 2.906 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3009/0.9549, allocations: 43.06 MB / 0.7922 GB, free: 128.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.69/15.65, allocations: 12 kB / 0.7922 GB, free: 128.6 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)