Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.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.SEXS,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_SEXS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SEXS,fileNamePrefix="OpenIPSL_dev_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.007373/0.007373, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.46/1.46, allocations: 222.9 MB / 239.4 MB, free: 4.512 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.001679/0.001679, allocations: 184.5 kB / 289.7 MB, free: 2.234 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5281/0.5281, allocations: 91.9 MB / 431.8 MB, free: 9.168 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002281/0.002281, allocations: 78 kB / 0.5723 GB, free: 34.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1133, allocations: 71.28 MB / 0.6419 GB, free: 4.164 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SEXS): time 0.009573/0.1229, allocations: 8.048 MB / 0.6497 GB, free: 12.07 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005182/0.1281, allocations: 2.513 MB / 0.6522 GB, free: 9.555 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007872/0.1289, allocations: 12 kB / 0.6522 GB, free: 9.543 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008022/0.1298, allocations: 313.4 kB / 0.6525 GB, free: 9.234 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002588/0.1324, allocations: 1.118 MB / 0.6536 GB, free: 8.113 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001502/0.1339, allocations: 0.6698 MB / 0.6543 GB, free: 7.449 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002648/0.1366, allocations: 2.131 MB / 0.6563 GB, free: 5.312 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006064/0.1372, allocations: 401.9 kB / 0.6567 GB, free: 4.898 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001161/0.1384, allocations: 0.856 MB / 0.6576 GB, free: 4.039 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001358/0.1397, allocations: 1.093 MB / 0.6586 GB, free: 2.941 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000284/0.14, allocations: 176 kB / 0.6588 GB, free: 2.77 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007507/0.1408, allocations: 403.7 kB / 0.6592 GB, free: 2.375 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004142/0.1412, allocations: 454.2 kB / 0.6596 GB, free: 1.93 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008606/0.1421, allocations: 0.874 MB / 0.6605 GB, free: 1.051 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002599/0.1447, allocations: 2.233 MB / 0.6626 GB, free: 14.81 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1447, allocations: 0 / 0.6626 GB, free: 14.81 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1447, allocations: 0 / 0.6626 GB, free: 14.81 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.867e-05/0.1447, allocations: 0 / 0.6626 GB, free: 14.81 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: 234 * Number of variables: 234 Notification: Performance of Generate backend data structure: time 0.01249/0.1572, allocations: 3.561 MB / 0.6661 GB, free: 11.18 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.1573, allocations: 12.03 kB / 0.6661 GB, free: 11.17 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002171/0.1575, allocations: 151.8 kB / 0.6663 GB, free: 11.02 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004659/0.1622, allocations: 0.7521 MB / 0.667 GB, free: 10.26 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002048/0.1642, allocations: 1.109 MB / 0.6681 GB, free: 9.102 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005088/0.1648, allocations: 428.6 kB / 0.6685 GB, free: 8.617 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002425/0.165, allocations: 107.9 kB / 0.6686 GB, free: 8.512 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002919/0.1679, allocations: 1.389 MB / 0.67 GB, free: 7.102 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.168, allocations: 0 / 0.67 GB, free: 7.102 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000126/0.1681, allocations: 36 kB / 0.67 GB, free: 7.066 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.406e-05/0.1681, allocations: 24 kB / 0.67 GB, free: 7.043 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002977/0.1711, allocations: 1.308 MB / 0.6713 GB, free: 5.734 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.009152/0.1803, allocations: 4.818 MB / 0.676 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008757/0.1891, allocations: 2.853 MB / 0.6788 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002039/0.1911, allocations: 0.9 MB / 0.6797 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001252/0.1913, allocations: 16.98 kB / 0.6797 GB, free: 12.78 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002245/0.1935, allocations: 1.046 MB / 0.6807 GB, free: 11.71 MB / 494.1 MB Notification: Performance of pre-optimization done (n=122): time 2.925e-06/0.1935, allocations: 0 / 0.6807 GB, free: 11.71 MB / 494.1 MB Notification: Performance of matching and sorting (n=122): time 0.04109/0.2346, allocations: 9.688 MB / 0.6902 GB, free: 1.984 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.088e-05/0.2348, allocations: 115.8 kB / 0.6903 GB, free: 1.848 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00233/0.2371, allocations: 1.402 MB / 0.6917 GB, free: 444 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002839/0.2374, allocations: 53.7 kB / 0.6917 GB, free: 384 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005531/0.238, allocations: 0.5735 MB / 0.6923 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006012/0.2386, allocations: 472 kB / 0.6927 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006686/0.2393, allocations: 331.5 kB / 0.693 GB, free: 15 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.2394, allocations: 301.1 kB / 0.6933 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002244/0.2417, allocations: 0.9604 MB / 0.6943 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002366/0.244, allocations: 1.158 MB / 0.6954 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004434/0.2485, allocations: 2.054 MB / 0.6974 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/0.2485, allocations: 0 / 0.6974 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of matching and sorting (n=231) (initialization): time 0.01778/0.2663, allocations: 5.407 MB / 0.7027 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.001e-05/0.2664, allocations: 9.094 kB / 0.7027 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.628e-05/0.2664, allocations: 4 kB / 0.7027 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01011/0.2765, allocations: 2.876 MB / 0.7055 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001462/0.278, allocations: 279.6 kB / 0.7058 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007194/0.2852, allocations: 2.861 MB / 0.7086 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002311/0.2875, allocations: 254.8 kB / 0.7088 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001694/0.2877, allocations: 63.98 kB / 0.7089 GB, free: 14.65 MB / 0.5137 GB 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.0006191/0.2883, allocations: 298.6 kB / 0.7091 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000331/0.2887, allocations: 162.9 kB / 0.7093 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01622/0.3049, allocations: 4.729 MB / 0.7139 GB, free: 9.438 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.489e-05/0.305, allocations: 12 kB / 0.7139 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.209e-05/0.305, allocations: 4 kB / 0.7139 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.2e-05/0.305, allocations: 7.984 kB / 0.7139 GB, free: 9.414 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.01967/0.3247, allocations: 6.792 MB / 0.7206 GB, free: 2.484 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-05/0.3248, allocations: 4 kB / 0.7206 GB, free: 2.48 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009008/0.3257, allocations: 135.8 kB / 0.7207 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007524/0.3332, allocations: 2.142 MB / 0.7228 GB, free: 208 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001974/0.3334, allocations: 27.98 kB / 0.7228 GB, free: 180 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02702/0.3605, allocations: 10.08 MB / 0.7327 GB, free: 5.945 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.3605, allocations: 0 / 0.7327 GB, free: 5.945 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01916/0.3797, allocations: 5.885 MB / 0.7384 GB, free: 32 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005996/0.3803, allocations: 271.7 kB / 0.7387 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004197/0.3807, allocations: 27.98 kB / 0.7387 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001788/0.3825, allocations: 135.8 kB / 0.7388 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008811/0.3834, allocations: 253.1 kB / 0.7391 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001365/0.3836, allocations: 35.98 kB / 0.7391 GB, free: 15.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001715/0.3853, allocations: 0.9379 MB / 0.74 GB, free: 14.37 MB / 0.545 GB Notification: Performance of sort global known variables: time 5.21e-07/0.3853, allocations: 4 kB / 0.74 GB, free: 14.36 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001701/0.387, allocations: 0.5191 MB / 0.7405 GB, free: 13.84 MB / 0.545 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.0198/0.4069, allocations: 6.48 MB / 0.7469 GB, free: 7.316 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009466/0.4164, allocations: 2.846 MB / 0.7496 GB, free: 4.469 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.71e-06/0.4164, allocations: 0 / 0.7496 GB, free: 4.469 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006552/0.423, allocations: 1.921 MB / 0.7515 GB, free: 2.535 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001473/0.4245, allocations: 130.9 kB / 0.7516 GB, free: 2.41 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3025/0.727, allocations: 18.67 MB / 0.7699 GB, free: 118.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007545/0.7278, allocations: 1.211 MB / 0.7711 GB, free: 117.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007124/0.7285, allocations: 135.5 kB / 0.7712 GB, free: 117.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007193/0.7293, allocations: 0.5952 MB / 0.7718 GB, free: 117.9 MB / 0.5606 GB Notification: Performance of SimCode: time 9.92e-07/0.7293, allocations: 0 / 0.7718 GB, free: 117.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1158/0.845, allocations: 43.1 MB / 0.8139 GB, free: 88.91 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.39/16.24, allocations: 3.75 kB / 0.8139 GB, free: 88.91 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_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_dev_OpenIPSL_Tests_Controls_PSSE_ES_SEXS.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe 2>&1)