Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SEXS,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SEXS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SEXS,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SEXS",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08098/0.08098, allocations: 12.59 MB / 28.22 MB, free: 0.7656 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 111.4 kB / 31.84 MB, free: 3.898 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.267/1.267, allocations: 205.1 MB / 240.4 MB, free: 12.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 188.5 kB / 290.7 MB, free: 10.95 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3991/0.3991, allocations: 78.52 MB / 419.3 MB, free: 10.74 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003632/0.003632, allocations: 131.8 kB / 0.5554 GB, free: 17.79 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1123, allocations: 68.12 MB / 0.6219 GB, free: 13.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SEXS): time 0.008979/0.1213, allocations: 8.106 MB / 0.6298 GB, free: 5.496 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004876/0.1262, allocations: 2.486 MB / 0.6323 GB, free: 3 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008105/0.1271, allocations: 12 kB / 0.6323 GB, free: 2.988 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008238/0.1279, allocations: 305.4 kB / 0.6326 GB, free: 2.688 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002874/0.1308, allocations: 1.202 MB / 0.6337 GB, free: 1.484 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001434/0.1323, allocations: 0.6548 MB / 0.6344 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002718/0.135, allocations: 2.279 MB / 0.6366 GB, free: 14.55 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005734/0.1356, allocations: 401.9 kB / 0.637 GB, free: 14.13 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001089/0.1367, allocations: 0.8639 MB / 0.6378 GB, free: 13.27 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00136/0.138, allocations: 1.109 MB / 0.6389 GB, free: 12.15 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002862/0.1383, allocations: 176 kB / 0.6391 GB, free: 11.98 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007517/0.1391, allocations: 403.7 kB / 0.6395 GB, free: 11.59 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004139/0.1395, allocations: 454.2 kB / 0.6399 GB, free: 11.14 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000856/0.1404, allocations: 0.8779 MB / 0.6408 GB, free: 10.26 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002508/0.1429, allocations: 2.237 MB / 0.643 GB, free: 8.012 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.1429, allocations: 3.984 kB / 0.643 GB, free: 8.008 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1429, allocations: 0 / 0.643 GB, free: 8.008 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.306e-05/0.143, allocations: 3.938 kB / 0.643 GB, free: 8.004 MB / 462.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.01303/0.156, allocations: 3.772 MB / 0.6466 GB, free: 4.172 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.1561, allocations: 11.98 kB / 0.6467 GB, free: 4.16 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002053/0.1563, allocations: 151.8 kB / 0.6468 GB, free: 4.004 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00447/0.1608, allocations: 0.7599 MB / 0.6475 GB, free: 3.242 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002037/0.1628, allocations: 1.109 MB / 0.6486 GB, free: 2.082 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004952/0.1633, allocations: 420.7 kB / 0.649 GB, free: 1.602 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002095/0.1635, allocations: 107.9 kB / 0.6491 GB, free: 1.496 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002897/0.1665, allocations: 1.389 MB / 0.6505 GB, free: 92 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.1665, allocations: 4 kB / 0.6505 GB, free: 88 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001174/0.1666, allocations: 36 kB / 0.6505 GB, free: 52 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.505e-05/0.1666, allocations: 23.94 kB / 0.6505 GB, free: 28 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002997/0.1696, allocations: 1.316 MB / 0.6518 GB, free: 14.71 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.008832/0.1785, allocations: 4.806 MB / 0.6565 GB, free: 9.688 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008565/0.1871, allocations: 2.857 MB / 0.6593 GB, free: 6.688 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002269/0.1894, allocations: 0.8956 MB / 0.6602 GB, free: 5.785 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001388/0.1896, allocations: 24.97 kB / 0.6602 GB, free: 5.762 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00217/0.1917, allocations: 1.034 MB / 0.6612 GB, free: 4.707 MB / 478.1 MB Notification: Performance of pre-optimization done (n=122): time 2.826e-06/0.1918, allocations: 0 / 0.6612 GB, free: 4.707 MB / 478.1 MB Notification: Performance of matching and sorting (n=122): time 0.03945/0.2312, allocations: 9.676 MB / 0.6707 GB, free: 10.98 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.085e-05/0.2313, allocations: 119.8 kB / 0.6708 GB, free: 10.84 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002311/0.2336, allocations: 1.398 MB / 0.6722 GB, free: 9.434 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002729/0.2339, allocations: 49.7 kB / 0.6722 GB, free: 9.379 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005246/0.2345, allocations: 0.5851 MB / 0.6728 GB, free: 8.789 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000561/0.235, allocations: 468 kB / 0.6732 GB, free: 8.328 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006443/0.2357, allocations: 331.5 kB / 0.6735 GB, free: 8 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.2358, allocations: 305.1 kB / 0.6738 GB, free: 7.699 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0022/0.238, allocations: 0.9604 MB / 0.6748 GB, free: 6.738 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002382/0.2404, allocations: 1.162 MB / 0.6759 GB, free: 5.527 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004442/0.2449, allocations: 2.05 MB / 0.6779 GB, free: 3.438 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/0.2449, allocations: 0 / 0.6779 GB, free: 3.438 MB / 494.1 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.2233/0.4682, allocations: 5.401 MB / 0.6832 GB, free: 51.71 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.783e-05/0.4683, allocations: 7.531 kB / 0.6832 GB, free: 51.71 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-05/0.4683, allocations: 3.656 kB / 0.6832 GB, free: 51.71 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01022/0.4785, allocations: 2.879 MB / 0.686 GB, free: 51.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001358/0.4799, allocations: 279.7 kB / 0.6863 GB, free: 51.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006725/0.4867, allocations: 2.856 MB / 0.6891 GB, free: 51.14 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002085/0.4888, allocations: 248.9 kB / 0.6893 GB, free: 51.14 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001707/0.489, allocations: 67.05 kB / 0.6894 GB, free: 51.14 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.0005258/0.4895, allocations: 296.2 kB / 0.6896 GB, free: 51 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002877/0.4898, allocations: 162.3 kB / 0.6898 GB, free: 51 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01533/0.5051, allocations: 4.731 MB / 0.6944 GB, free: 50.04 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.741e-05/0.5052, allocations: 14.44 kB / 0.6944 GB, free: 50.04 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.5052, allocations: 5.125 kB / 0.6944 GB, free: 50.04 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.881e-05/0.5052, allocations: 5 kB / 0.6944 GB, free: 50.04 MB / 494.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.01695/0.5222, allocations: 6.794 MB / 0.7011 GB, free: 47.71 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-05/0.5222, allocations: 0.875 kB / 0.7011 GB, free: 47.71 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000795/0.523, allocations: 136.4 kB / 0.7012 GB, free: 47.68 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00698/0.53, allocations: 2.149 MB / 0.7033 GB, free: 46.74 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001896/0.5302, allocations: 23.53 kB / 0.7033 GB, free: 46.72 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02225/0.5525, allocations: 10.08 MB / 0.7132 GB, free: 40.57 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/0.5525, allocations: 4 kB / 0.7132 GB, free: 40.56 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01633/0.5689, allocations: 5.874 MB / 0.7189 GB, free: 35.94 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005404/0.5695, allocations: 277 kB / 0.7192 GB, free: 35.66 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003519/0.5698, allocations: 24 kB / 0.7192 GB, free: 35.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001551/0.5714, allocations: 135.8 kB / 0.7193 GB, free: 35.51 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007836/0.5722, allocations: 261 kB / 0.7196 GB, free: 35.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001115/0.5723, allocations: 36 kB / 0.7196 GB, free: 35.22 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001217/0.5735, allocations: 0.9417 MB / 0.7205 GB, free: 34.28 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5735, allocations: 0 / 0.7205 GB, free: 34.28 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00141/0.575, allocations: 0.5184 MB / 0.721 GB, free: 33.77 MB / 494.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.01618/0.5911, allocations: 6.474 MB / 0.7274 GB, free: 27.27 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007612/0.5988, allocations: 2.847 MB / 0.7301 GB, free: 24.43 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.5988, allocations: 0 / 0.7301 GB, free: 24.43 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005324/0.6041, allocations: 1.916 MB / 0.732 GB, free: 22.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00103/0.6052, allocations: 142.3 kB / 0.7321 GB, free: 22.37 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03621/0.6414, allocations: 18.67 MB / 0.7504 GB, free: 3.414 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000451/0.6419, allocations: 1.214 MB / 0.7516 GB, free: 2.172 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005242/0.6424, allocations: 137.7 kB / 0.7517 GB, free: 2.035 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006596/0.6431, allocations: 0.5969 MB / 0.7523 GB, free: 1.438 MB / 494.1 MB Notification: Performance of SimCode: time 4.91e-07/0.6431, allocations: 0 / 0.7523 GB, free: 1.438 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08556/0.7287, allocations: 43.1 MB / 0.7944 GB, free: 6.398 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.56/14.29, allocations: 11.58 kB / 0.7944 GB, free: 6.391 MB / 0.5294 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_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_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SEXS.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe 2>&1)