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.12/0.12, allocations: 12.2 MB / 27.17 MB, free: 1.926 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.0009172/0.0009173, allocations: 105.8 kB / 30.68 MB, free: 4.996 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.606/1.606, allocations: 205.4 MB / 239.5 MB, free: 12.18 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.001327/0.001326, allocations: 181.7 kB / 290.6 MB, free: 13.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.5539/0.5539, allocations: 78.55 MB / 420.1 MB, free: 48.93 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.0008884/0.0008887, allocations: 32 kB / 0.4896 GB, free: 2.535 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4289/0.4298, allocations: 69.21 MB / 0.5572 GB, free: 42.27 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SEXS): time 0.008202/0.438, allocations: 7.428 MB / 0.5644 GB, free: 39.72 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006296/0.4444, allocations: 2.396 MB / 0.5667 GB, free: 38.02 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002301/0.4467, allocations: 14 kB / 0.5668 GB, free: 38.02 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001153/0.4479, allocations: 219.6 kB / 0.567 GB, free: 37.93 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004036/0.4519, allocations: 0.9946 MB / 0.5679 GB, free: 37.29 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001615/0.4536, allocations: 0.5517 MB / 0.5685 GB, free: 37.03 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003663/0.4572, allocations: 2.016 MB / 0.5704 GB, free: 36.06 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006829/0.4579, allocations: 320.2 kB / 0.5708 GB, free: 35.91 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001565/0.4595, allocations: 0.7449 MB / 0.5715 GB, free: 35.59 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00113/0.4607, allocations: 0.9818 MB / 0.5724 GB, free: 35.18 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001914/0.4609, allocations: 88.44 kB / 0.5725 GB, free: 35.18 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007942/0.4617, allocations: 290 kB / 0.5728 GB, free: 35.12 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003224/0.462, allocations: 352.1 kB / 0.5731 GB, free: 34.93 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003384/0.4623, allocations: 285.3 kB / 0.5734 GB, free: 34.75 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001419/0.4638, allocations: 1.639 MB / 0.575 GB, free: 34.28 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.4638, allocations: 4 kB / 0.575 GB, free: 34.28 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.945e-06/0.4638, allocations: 2.781 kB / 0.575 GB, free: 34.28 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.807e-05/0.4638, allocations: 0 / 0.575 GB, free: 34.28 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.01175/0.4756, allocations: 3.516 MB / 0.5784 GB, free: 32.99 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.4756, allocations: 16.05 kB / 0.5785 GB, free: 32.98 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005077/0.4762, allocations: 149.2 kB / 0.5786 GB, free: 32.88 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004635/0.4808, allocations: 0.7611 MB / 0.5794 GB, free: 32.71 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002069/0.4829, allocations: 1.046 MB / 0.5804 GB, free: 32.05 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000371/0.4833, allocations: 442 kB / 0.5808 GB, free: 31.66 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001802/0.4835, allocations: 106.1 kB / 0.5809 GB, free: 31.62 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00257/0.486, allocations: 1.46 MB / 0.5823 GB, free: 31.09 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/0.4861, allocations: 0 / 0.5823 GB, free: 31.09 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001062/0.4862, allocations: 36.75 kB / 0.5824 GB, free: 31.06 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.722e-05/0.4862, allocations: 23.41 kB / 0.5824 GB, free: 31.06 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002648/0.4889, allocations: 1.396 MB / 0.5837 GB, free: 30.61 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.007827/0.4967, allocations: 4.906 MB / 0.5885 GB, free: 27.8 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00738/0.5041, allocations: 3.409 MB / 0.5919 GB, free: 26.58 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002009/0.5062, allocations: 0.9804 MB / 0.5928 GB, free: 26.2 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001563/0.5063, allocations: 24.19 kB / 0.5928 GB, free: 26.19 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002214/0.5086, allocations: 1.117 MB / 0.5939 GB, free: 25.79 MB / 430.1 MB Notification: Performance of pre-optimization done (n=122): time 8.075e-06/0.5086, allocations: 0 / 0.5939 GB, free: 25.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=122): time 0.04243/0.551, allocations: 11.69 MB / 0.6054 GB, free: 23.18 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.912e-05/0.5511, allocations: 116.2 kB / 0.6055 GB, free: 23.05 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003528/0.5547, allocations: 1.38 MB / 0.6068 GB, free: 22.29 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004586/0.5552, allocations: 55.3 kB / 0.6069 GB, free: 22.23 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006189/0.5558, allocations: 0.5719 MB / 0.6074 GB, free: 21.72 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008004/0.5566, allocations: 450.3 kB / 0.6078 GB, free: 21.33 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004468/0.5571, allocations: 35.44 kB / 0.6079 GB, free: 21.3 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001852/0.5573, allocations: 368.6 kB / 0.6082 GB, free: 20.95 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002728/0.56, allocations: 1.036 MB / 0.6092 GB, free: 20.46 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002862/0.5629, allocations: 1.232 MB / 0.6105 GB, free: 19.78 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002825/0.5657, allocations: 1.11 MB / 0.6115 GB, free: 19.25 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.82e-05/0.5658, allocations: 5.328 kB / 0.6115 GB, free: 19.24 MB / 430.1 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.01696/0.5827, allocations: 6.42 MB / 0.6178 GB, free: 13.62 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.67e-05/0.5828, allocations: 15.94 kB / 0.6178 GB, free: 13.6 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.681e-05/0.5829, allocations: 7.938 kB / 0.6178 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008851/0.5917, allocations: 3.258 MB / 0.621 GB, free: 10.33 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001474/0.5932, allocations: 278.7 kB / 0.6213 GB, free: 10.06 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006539/0.5998, allocations: 3.174 MB / 0.6244 GB, free: 6.863 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00272/0.6025, allocations: 290.3 kB / 0.6247 GB, free: 6.578 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003613/0.6029, allocations: 63.98 kB / 0.6247 GB, free: 6.516 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 ($whenCondition1,$whenCondition2) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {33 32} Notification: Performance of prepare postOptimizeDAE: time 0.0009645/0.6039, allocations: 303.8 kB / 0.625 GB, free: 6.211 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005846/0.6045, allocations: 158 kB / 0.6252 GB, free: 6.055 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01442/0.6189, allocations: 5.756 MB / 0.6308 GB, free: 284 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.085e-05/0.619, allocations: 12 kB / 0.6308 GB, free: 272 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.517e-05/0.619, allocations: 7.984 kB / 0.6308 GB, free: 264 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.862e-05/0.6191, allocations: 7.922 kB / 0.6308 GB, free: 256 kB / 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.02126/0.6403, allocations: 7.84 MB / 0.6385 GB, free: 8.273 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.935e-05/0.6404, allocations: 4 kB / 0.6385 GB, free: 8.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009714/0.6414, allocations: 135.8 kB / 0.6386 GB, free: 8.137 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00766/0.6491, allocations: 2.513 MB / 0.641 GB, free: 5.621 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003306/0.6494, allocations: 27.98 kB / 0.6411 GB, free: 5.594 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02569/0.6751, allocations: 10.32 MB / 0.6511 GB, free: 11.14 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.6752, allocations: 4 kB / 0.6512 GB, free: 11.13 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0193/0.6945, allocations: 6.973 MB / 0.658 GB, free: 4.121 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008608/0.6954, allocations: 278.6 kB / 0.6582 GB, free: 3.828 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007586/0.6962, allocations: 28 kB / 0.6583 GB, free: 3.801 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00214/0.6984, allocations: 179.8 kB / 0.6584 GB, free: 3.625 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001052/0.6994, allocations: 264.9 kB / 0.6587 GB, free: 3.367 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002549/0.6997, allocations: 32 kB / 0.6587 GB, free: 3.336 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002202/0.7019, allocations: 0.9301 MB / 0.6596 GB, free: 2.406 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.702, allocations: 4 kB / 0.6596 GB, free: 2.402 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002882/0.7048, allocations: 0.5152 MB / 0.6601 GB, free: 1.887 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.02112/0.726, allocations: 7.581 MB / 0.6675 GB, free: 10.27 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01064/0.7367, allocations: 3.165 MB / 0.6706 GB, free: 7.102 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/0.7367, allocations: 0 / 0.6706 GB, free: 7.102 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006883/0.7436, allocations: 2.147 MB / 0.6727 GB, free: 4.941 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002322/0.746, allocations: 130.5 kB / 0.6728 GB, free: 4.812 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03376/0.7798, allocations: 13.7 MB / 0.6862 GB, free: 6.535 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00112/0.781, allocations: 1.211 MB / 0.6874 GB, free: 5.289 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008467/0.7818, allocations: 133.7 kB / 0.6875 GB, free: 5.156 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001151/0.783, allocations: 0.5852 MB / 0.6881 GB, free: 4.57 MB / 494.1 MB Notification: Performance of SimCode: time 1.352e-06/0.783, allocations: 0 / 0.6881 GB, free: 4.57 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1306/0.9137, allocations: 38.94 MB / 0.7261 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003193/0.9141, allocations: 201 kB / 0.7263 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.722/4.636, allocations: 0 / 0.7263 GB, free: 13.5 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/linux/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) Environment - environmentSimulation: