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/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/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/package.mo): time 0.09552/0.09552, allocations: 12.2 MB / 27.47 MB, free: 0.9336 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.0007133/0.0007135, allocations: 95.53 kB / 30.99 MB, free: 4.535 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.304/1.304, allocations: 205.4 MB / 239.8 MB, free: 12.1 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.001074/0.001075, allocations: 181.7 kB / 291 MB, free: 13.38 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4693/0.4693, allocations: 78.55 MB / 420.5 MB, free: 48.83 MB / 334.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.0009392/0.0009394, allocations: 28 kB / 0.4902 GB, free: 2.137 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4341/0.4351, allocations: 69.22 MB / 0.5578 GB, free: 42.84 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SEXS): time 0.007827/0.4429, allocations: 7.925 MB / 0.5655 GB, free: 39.39 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005791/0.4488, allocations: 2.515 MB / 0.568 GB, free: 37.62 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001119/0.4499, allocations: 15.06 kB / 0.568 GB, free: 37.62 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008554/0.4508, allocations: 243.3 kB / 0.5682 GB, free: 37.52 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002743/0.4535, allocations: 1.053 MB / 0.5693 GB, free: 36.85 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00151/0.455, allocations: 0.6301 MB / 0.5699 GB, free: 36.51 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002338/0.4574, allocations: 2.161 MB / 0.572 GB, free: 35.52 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004829/0.4579, allocations: 351.1 kB / 0.5723 GB, free: 35.34 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009005/0.4588, allocations: 0.745 MB / 0.5731 GB, free: 35.01 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009226/0.4597, allocations: 1.003 MB / 0.574 GB, free: 34.57 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001821/0.4599, allocations: 89.06 kB / 0.5741 GB, free: 34.57 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006596/0.4606, allocations: 308.6 kB / 0.5744 GB, free: 34.5 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002913/0.4609, allocations: 358.8 kB / 0.5748 GB, free: 34.3 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005786/0.4615, allocations: 0.8069 MB / 0.5755 GB, free: 33.77 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001681/0.4632, allocations: 2.091 MB / 0.5776 GB, free: 33.02 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.4632, allocations: 0 / 0.5776 GB, free: 33.02 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.4632, allocations: 0 / 0.5776 GB, free: 33.02 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.974e-05/0.4632, allocations: 0 / 0.5776 GB, free: 33.02 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.01216/0.4754, allocations: 3.501 MB / 0.581 GB, free: 31.73 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.357e-05/0.4754, allocations: 12.67 kB / 0.581 GB, free: 31.73 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003251/0.4758, allocations: 153.2 kB / 0.5812 GB, free: 31.62 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00435/0.4801, allocations: 0.7455 MB / 0.5819 GB, free: 31.46 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001881/0.482, allocations: 1.105 MB / 0.583 GB, free: 30.75 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004074/0.4825, allocations: 430.8 kB / 0.5834 GB, free: 30.36 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002117/0.4827, allocations: 119.2 kB / 0.5835 GB, free: 30.32 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002765/0.4855, allocations: 1.472 MB / 0.5849 GB, free: 29.77 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/0.4855, allocations: 2.906 kB / 0.5849 GB, free: 29.77 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001228/0.4856, allocations: 37.75 kB / 0.585 GB, free: 29.74 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.213e-05/0.4856, allocations: 22.66 kB / 0.585 GB, free: 29.74 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002809/0.4885, allocations: 1.399 MB / 0.5864 GB, free: 29.29 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.00779/0.4963, allocations: 4.91 MB / 0.5912 GB, free: 26.49 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008699/0.505, allocations: 3.422 MB / 0.5945 GB, free: 25.26 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001941/0.5069, allocations: 0.9861 MB / 0.5955 GB, free: 24.87 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001172/0.5071, allocations: 23.8 kB / 0.5955 GB, free: 24.86 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002334/0.5094, allocations: 1.12 MB / 0.5966 GB, free: 24.46 MB / 430.1 MB Notification: Performance of pre-optimization done (n=122): time 2.846e-06/0.5094, allocations: 0 / 0.5966 GB, free: 24.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=122): time 0.04545/0.5549, allocations: 11.77 MB / 0.6081 GB, free: 21.54 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.774e-05/0.555, allocations: 119.9 kB / 0.6082 GB, free: 21.4 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002513/0.5575, allocations: 1.396 MB / 0.6095 GB, free: 20.63 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003032/0.5578, allocations: 51.14 kB / 0.6096 GB, free: 20.58 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004175/0.5582, allocations: 0.5795 MB / 0.6102 GB, free: 20.07 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004882/0.5587, allocations: 439.1 kB / 0.6106 GB, free: 19.69 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002693/0.559, allocations: 177.8 kB / 0.6108 GB, free: 19.57 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.21e-05/0.5591, allocations: 302.3 kB / 0.611 GB, free: 19.27 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002341/0.5614, allocations: 1.04 MB / 0.6121 GB, free: 18.79 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002425/0.5639, allocations: 1.246 MB / 0.6133 GB, free: 18.1 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004411/0.5683, allocations: 2.211 MB / 0.6154 GB, free: 16.59 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/0.5683, allocations: 4 kB / 0.6154 GB, free: 16.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.01687/0.5852, allocations: 6.445 MB / 0.6217 GB, free: 10.12 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.5852, allocations: 4 kB / 0.6217 GB, free: 10.12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/0.5852, allocations: 4 kB / 0.6217 GB, free: 10.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009255/0.5945, allocations: 3.262 MB / 0.6249 GB, free: 6.848 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/0.5958, allocations: 275.6 kB / 0.6252 GB, free: 6.578 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006413/0.6022, allocations: 3.182 MB / 0.6283 GB, free: 3.375 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00235/0.6046, allocations: 294.3 kB / 0.6286 GB, free: 3.086 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001308/0.6047, allocations: 63.97 kB / 0.6286 GB, free: 3.023 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.0005997/0.6053, allocations: 290.4 kB / 0.6289 GB, free: 2.73 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002313/0.6055, allocations: 162 kB / 0.6291 GB, free: 2.57 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01653/0.6221, allocations: 5.78 MB / 0.6347 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.61e-05/0.6221, allocations: 12 kB / 0.6347 GB, free: 12.76 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/0.6221, allocations: 0 / 0.6347 GB, free: 12.76 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.659e-05/0.6222, allocations: 7.969 kB / 0.6347 GB, free: 12.75 MB / 446.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.02002/0.6422, allocations: 7.848 MB / 0.6424 GB, free: 4.766 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/0.6422, allocations: 0 / 0.6424 GB, free: 4.766 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007422/0.643, allocations: 135.8 kB / 0.6425 GB, free: 4.633 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00789/0.6509, allocations: 2.517 MB / 0.645 GB, free: 2.113 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001086/0.651, allocations: 28 kB / 0.645 GB, free: 2.086 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02511/0.6761, allocations: 10.34 MB / 0.6551 GB, free: 7.602 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.6761, allocations: 0 / 0.6551 GB, free: 7.602 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01962/0.6958, allocations: 6.996 MB / 0.6619 GB, free: 0.5703 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006797/0.6965, allocations: 278.7 kB / 0.6622 GB, free: 284 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000212/0.6967, allocations: 24 kB / 0.6622 GB, free: 260 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0016/0.6983, allocations: 179.8 kB / 0.6624 GB, free: 80 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008624/0.6992, allocations: 249 kB / 0.6626 GB, free: 15.84 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.739e-05/0.6993, allocations: 35.98 kB / 0.6627 GB, free: 15.8 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001474/0.7008, allocations: 0.9418 MB / 0.6636 GB, free: 14.86 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.7008, allocations: 0 / 0.6636 GB, free: 14.86 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001444/0.7022, allocations: 0.5152 MB / 0.6641 GB, free: 14.34 MB / 478.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.02034/0.7226, allocations: 7.599 MB / 0.6715 GB, free: 6.707 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00938/0.732, allocations: 3.168 MB / 0.6746 GB, free: 3.539 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.732, allocations: 7.938 kB / 0.6746 GB, free: 3.531 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006395/0.7384, allocations: 2.153 MB / 0.6767 GB, free: 1.367 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001471/0.7399, allocations: 129.7 kB / 0.6768 GB, free: 1.238 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04644/0.7864, allocations: 21.96 MB / 0.6983 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008139/0.7872, allocations: 1.204 MB / 0.6995 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006027/0.7879, allocations: 141.7 kB / 0.6996 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008008/0.7887, allocations: 0.5929 MB / 0.7002 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of SimCode: time 1.342e-06/0.7887, allocations: 3.828 kB / 0.7002 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05622/0.8449, allocations: 38.78 MB / 0.738 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001733/0.8451, allocations: 211.1 kB / 0.7382 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.872/3.717, allocations: 4 kB / 0.7383 GB, free: 1.582 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SEXS_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SEXS.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe 2>&1)