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.1873/0.1873, allocations: 12.59 MB / 28.22 MB, free: 0.7695 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.001781/0.001781, allocations: 111.4 kB / 31.84 MB, free: 3.895 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.222/3.222, allocations: 205.1 MB / 240.4 MB, free: 12.38 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.002217/0.002217, allocations: 180.5 kB / 290.7 MB, free: 13.4 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.8946/0.8946, allocations: 78.52 MB / 419.3 MB, free: 11.26 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.005591/0.005591, allocations: 136 kB / 0.5554 GB, free: 28.75 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2463/0.2519, allocations: 68.13 MB / 0.6219 GB, free: 15.92 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SEXS): time 0.01751/0.2695, allocations: 8.093 MB / 0.6298 GB, free: 7.785 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0102/0.2798, allocations: 2.478 MB / 0.6322 GB, free: 5.297 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002704/0.2826, allocations: 12 kB / 0.6323 GB, free: 5.285 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00239/0.285, allocations: 313.4 kB / 0.6326 GB, free: 4.977 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007635/0.2927, allocations: 1.196 MB / 0.6337 GB, free: 3.777 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003542/0.2963, allocations: 0.668 MB / 0.6344 GB, free: 3.117 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.006562/0.3029, allocations: 2.275 MB / 0.6366 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001788/0.3048, allocations: 398 kB / 0.637 GB, free: 432 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002903/0.3077, allocations: 0.8638 MB / 0.6378 GB, free: 15.55 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003394/0.3111, allocations: 1.109 MB / 0.6389 GB, free: 14.44 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001122/0.3123, allocations: 176 kB / 0.6391 GB, free: 14.27 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002103/0.3144, allocations: 407.7 kB / 0.6395 GB, free: 13.87 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001216/0.3157, allocations: 458.2 kB / 0.6399 GB, free: 13.42 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002566/0.3183, allocations: 0.8741 MB / 0.6408 GB, free: 12.54 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006121/0.3244, allocations: 2.228 MB / 0.6429 GB, free: 10.31 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.666e-05/0.3245, allocations: 0 / 0.6429 GB, free: 10.31 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.935e-06/0.3246, allocations: 7.938 kB / 0.6429 GB, free: 10.3 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.451e-05/0.3247, allocations: 0 / 0.6429 GB, free: 10.3 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.03075/0.3554, allocations: 3.703 MB / 0.6466 GB, free: 6.539 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.007e-05/0.3556, allocations: 11.98 kB / 0.6466 GB, free: 6.527 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007957/0.3564, allocations: 155.8 kB / 0.6467 GB, free: 6.367 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01211/0.3685, allocations: 0.7471 MB / 0.6474 GB, free: 5.617 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005326/0.3739, allocations: 1.1 MB / 0.6485 GB, free: 4.465 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001116/0.3751, allocations: 420.7 kB / 0.6489 GB, free: 3.984 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008377/0.376, allocations: 111.8 kB / 0.649 GB, free: 3.875 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008085/0.3841, allocations: 1.389 MB / 0.6504 GB, free: 2.469 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.726e-05/0.3843, allocations: 4 kB / 0.6504 GB, free: 2.465 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004725/0.3848, allocations: 36 kB / 0.6504 GB, free: 2.43 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-05/0.3849, allocations: 20 kB / 0.6504 GB, free: 2.41 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007718/0.3926, allocations: 1.316 MB / 0.6517 GB, free: 1.094 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.02181/0.4145, allocations: 4.794 MB / 0.6564 GB, free: 12.08 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01765/0.4322, allocations: 2.868 MB / 0.6592 GB, free: 9.074 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00467/0.4369, allocations: 0.8918 MB / 0.6601 GB, free: 8.176 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003507/0.4374, allocations: 28.89 kB / 0.6601 GB, free: 8.148 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005256/0.4427, allocations: 1.042 MB / 0.6611 GB, free: 7.086 MB / 478.1 MB Notification: Performance of pre-optimization done (n=122): time 1.107e-05/0.4427, allocations: 0 / 0.6611 GB, free: 7.086 MB / 478.1 MB Notification: Performance of matching and sorting (n=122): time 0.08358/0.5263, allocations: 9.668 MB / 0.6706 GB, free: 13.38 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001332/0.5266, allocations: 119.8 kB / 0.6707 GB, free: 13.23 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004047/0.5306, allocations: 1.386 MB / 0.672 GB, free: 11.84 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006025/0.5313, allocations: 49.7 kB / 0.6721 GB, free: 11.78 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007911/0.5321, allocations: 0.5844 MB / 0.6727 GB, free: 11.19 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001058/0.5332, allocations: 445.7 kB / 0.6731 GB, free: 10.75 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001142/0.5343, allocations: 331.4 kB / 0.6734 GB, free: 10.42 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.5345, allocations: 301.1 kB / 0.6737 GB, free: 10.12 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003743/0.5383, allocations: 0.9604 MB / 0.6746 GB, free: 9.164 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004733/0.5431, allocations: 1.162 MB / 0.6758 GB, free: 7.953 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01238/0.5555, allocations: 2.05 MB / 0.6778 GB, free: 5.863 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-05/0.5556, allocations: 3.938 kB / 0.6778 GB, free: 5.859 MB / 494.1 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.02853/0.5842, allocations: 5.399 MB / 0.683 GB, free: 456 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.652e-05/0.5843, allocations: 4 kB / 0.683 GB, free: 452 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.569e-05/0.5843, allocations: 7.938 kB / 0.683 GB, free: 444 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01501/0.5993, allocations: 2.876 MB / 0.6858 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002616/0.602, allocations: 279.6 kB / 0.6861 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01382/0.6159, allocations: 2.861 MB / 0.6889 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003864/0.6199, allocations: 242.3 kB / 0.6891 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004633/0.6204, allocations: 63.98 kB / 0.6892 GB, free: 10.09 MB / 0.4981 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.001152/0.6215, allocations: 293.5 kB / 0.6895 GB, free: 9.793 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006981/0.6222, allocations: 158 kB / 0.6896 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02748/0.6497, allocations: 4.733 MB / 0.6943 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.143e-05/0.6499, allocations: 16 kB / 0.6943 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.546e-05/0.6499, allocations: 0 / 0.6943 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.723e-05/0.65, allocations: 3.984 kB / 0.6943 GB, free: 4.859 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.03151/0.6815, allocations: 6.796 MB / 0.7009 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.591e-05/0.6816, allocations: 0 / 0.7009 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001496/0.6831, allocations: 135.8 kB / 0.701 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01229/0.6954, allocations: 2.142 MB / 0.7031 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004488/0.6959, allocations: 31.98 kB / 0.7032 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04499/0.7409, allocations: 10.06 MB / 0.713 GB, free: 1.398 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.087e-06/0.741, allocations: 4 kB / 0.713 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5298/1.271, allocations: 5.865 MB / 0.7187 GB, free: 84.42 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001298/1.272, allocations: 269.6 kB / 0.719 GB, free: 84.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009534/1.273, allocations: 22.89 kB / 0.719 GB, free: 84.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003765/1.277, allocations: 135.5 kB / 0.7191 GB, free: 84.32 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002087/1.279, allocations: 260.6 kB / 0.7194 GB, free: 84.32 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005306/1.28, allocations: 36.59 kB / 0.7194 GB, free: 84.32 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004098/1.284, allocations: 0.9387 MB / 0.7203 GB, free: 84.21 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.202e-06/1.284, allocations: 0.75 kB / 0.7203 GB, free: 84.21 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004494/1.288, allocations: 0.5183 MB / 0.7208 GB, free: 84.21 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.04152/1.33, allocations: 6.471 MB / 0.7272 GB, free: 82.19 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.019/1.349, allocations: 2.852 MB / 0.7299 GB, free: 81.39 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.311e-05/1.349, allocations: 2.656 kB / 0.7299 GB, free: 81.39 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.01319/1.362, allocations: 1.905 MB / 0.7318 GB, free: 80.76 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003248/1.366, allocations: 132 kB / 0.7319 GB, free: 80.67 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07577/1.441, allocations: 18.61 MB / 0.7501 GB, free: 69.2 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007845/1.442, allocations: 1.207 MB / 0.7513 GB, free: 67.96 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0009789/1.443, allocations: 143.5 kB / 0.7514 GB, free: 67.82 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001077/1.444, allocations: 0.593 MB / 0.752 GB, free: 67.23 MB / 0.5137 GB Notification: Performance of SimCode: time 1.643e-06/1.444, allocations: 0 / 0.752 GB, free: 67.23 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1592/1.604, allocations: 44.9 MB / 0.7958 GB, free: 22.39 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.27/28.87, allocations: 10.81 kB / 0.7959 GB, free: 22.38 MB / 0.5137 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)