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.07842/0.07842, allocations: 12.2 MB / 27.15 MB, free: 1.137 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.0009408/0.0009408, allocations: 104.1 kB / 30.66 MB, free: 4.875 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.367/1.367, allocations: 205.4 MB / 239.5 MB, free: 10.69 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.001021/0.001021, allocations: 181 kB / 290.6 MB, free: 8.102 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4039/0.4039, allocations: 78.5 MB / 420.1 MB, free: 6.57 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.0008343/0.0008345, allocations: 28.06 kB / 0.4895 GB, free: 37.8 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1371, allocations: 69.25 MB / 0.5571 GB, free: 8.727 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SEXS): time 0.007677/0.1448, allocations: 7.071 MB / 0.564 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00481/0.1497, allocations: 2.453 MB / 0.5664 GB, free: 15.17 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001051/0.1507, allocations: 12 kB / 0.5664 GB, free: 15.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009821/0.1517, allocations: 226.3 kB / 0.5666 GB, free: 14.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002985/0.1548, allocations: 1.051 MB / 0.5677 GB, free: 13.89 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00132/0.1561, allocations: 0.5497 MB / 0.5682 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002096/0.1582, allocations: 1.409 MB / 0.5696 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004708/0.1587, allocations: 328.2 kB / 0.5699 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008451/0.1595, allocations: 0.7316 MB / 0.5706 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001036/0.1606, allocations: 0.9571 MB / 0.5715 GB, free: 9.895 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000168/0.1607, allocations: 88 kB / 0.5716 GB, free: 9.809 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006064/0.1614, allocations: 283.7 kB / 0.5719 GB, free: 9.531 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003089/0.1617, allocations: 350.6 kB / 0.5722 GB, free: 9.188 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000259/0.1619, allocations: 284.8 kB / 0.5725 GB, free: 8.902 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00148/0.1634, allocations: 1.601 MB / 0.5741 GB, free: 7.297 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.1634, allocations: 0 / 0.5741 GB, free: 7.297 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1635, allocations: 0 / 0.5741 GB, free: 7.297 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.018e-05/0.1635, allocations: 0 / 0.5741 GB, free: 7.297 MB / 398.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.0129/0.1764, allocations: 3.525 MB / 0.5775 GB, free: 3.715 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.1764, allocations: 11.98 kB / 0.5775 GB, free: 3.703 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000378/0.1768, allocations: 147.8 kB / 0.5777 GB, free: 3.551 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004839/0.1817, allocations: 0.7511 MB / 0.5784 GB, free: 2.797 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002325/0.184, allocations: 1.055 MB / 0.5794 GB, free: 1.691 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004796/0.1845, allocations: 436.6 kB / 0.5798 GB, free: 1.195 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002208/0.1848, allocations: 108 kB / 0.5799 GB, free: 1.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002848/0.1876, allocations: 1.451 MB / 0.5814 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.1877, allocations: 0 / 0.5814 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001169/0.1878, allocations: 36 kB / 0.5814 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.103e-05/0.1878, allocations: 24 kB / 0.5814 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002865/0.1907, allocations: 1.398 MB / 0.5828 GB, free: 14.16 MB / 414.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.008645/0.1993, allocations: 5.023 MB / 0.5877 GB, free: 8.902 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008937/0.2083, allocations: 3.417 MB / 0.591 GB, free: 5.352 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001623/0.2085, allocations: 24.98 kB / 0.5911 GB, free: 5.328 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00227/0.2108, allocations: 1.124 MB / 0.5921 GB, free: 4.18 MB / 414.1 MB Notification: Performance of pre-optimization done (n=122): time 2.805e-06/0.2108, allocations: 0 / 0.5921 GB, free: 4.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=122): time 0.04256/0.2534, allocations: 11.69 MB / 0.6036 GB, free: 8.449 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.112e-05/0.2535, allocations: 119.9 kB / 0.6037 GB, free: 8.305 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002174/0.2557, allocations: 1.378 MB / 0.605 GB, free: 6.914 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002919/0.256, allocations: 49.7 kB / 0.6051 GB, free: 6.859 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004502/0.2564, allocations: 0.5805 MB / 0.6056 GB, free: 6.273 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004969/0.2569, allocations: 445.7 kB / 0.6061 GB, free: 5.832 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001205/0.2571, allocations: 36 kB / 0.6061 GB, free: 5.797 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.2572, allocations: 377.9 kB / 0.6065 GB, free: 5.422 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002198/0.2594, allocations: 1.035 MB / 0.6075 GB, free: 4.387 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002375/0.2618, allocations: 1.225 MB / 0.6087 GB, free: 3.117 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002331/0.2642, allocations: 1.107 MB / 0.6097 GB, free: 2.012 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.224e-06/0.2642, allocations: 4 kB / 0.6098 GB, free: 2.008 MB / 430.1 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.01892/0.2831, allocations: 6.426 MB / 0.616 GB, free: 11.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.263e-05/0.2832, allocations: 8 kB / 0.616 GB, free: 11.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.757e-05/0.2832, allocations: 4 kB / 0.616 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01059/0.2938, allocations: 3.255 MB / 0.6192 GB, free: 8.293 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001468/0.2953, allocations: 279.6 kB / 0.6195 GB, free: 8.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007376/0.3027, allocations: 3.177 MB / 0.6226 GB, free: 4.816 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002405/0.3052, allocations: 294.3 kB / 0.6229 GB, free: 4.527 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000166/0.3053, allocations: 63.98 kB / 0.6229 GB, free: 4.465 MB / 446.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.0006443/0.306, allocations: 285.6 kB / 0.6232 GB, free: 4.176 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002888/0.3063, allocations: 162 kB / 0.6234 GB, free: 4.016 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01746/0.3238, allocations: 5.768 MB / 0.629 GB, free: 14.22 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.992e-05/0.3238, allocations: 12 kB / 0.629 GB, free: 14.21 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.3238, allocations: 4 kB / 0.629 GB, free: 14.21 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.08e-05/0.3239, allocations: 3.984 kB / 0.629 GB, free: 14.2 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 postOpt removeSimpleEquations (simulation): time 0.02061/0.3445, allocations: 7.893 MB / 0.6367 GB, free: 6.16 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.29e-05/0.3445, allocations: 3.938 kB / 0.6367 GB, free: 6.156 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008837/0.3454, allocations: 131.8 kB / 0.6368 GB, free: 6.027 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008282/0.3537, allocations: 2.521 MB / 0.6393 GB, free: 3.504 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002154/0.354, allocations: 27.98 kB / 0.6393 GB, free: 3.477 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02698/0.381, allocations: 10.89 MB / 0.65 GB, free: 8.438 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.381, allocations: 0 / 0.65 GB, free: 8.438 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01938/0.4004, allocations: 7.016 MB / 0.6568 GB, free: 1.371 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006113/0.401, allocations: 274.7 kB / 0.6571 GB, free: 1.082 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002357/0.4013, allocations: 23.95 kB / 0.6571 GB, free: 1.059 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001566/0.4029, allocations: 183.8 kB / 0.6573 GB, free: 0.8789 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007273/0.4036, allocations: 253 kB / 0.6575 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001037/0.4037, allocations: 39.98 kB / 0.6576 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.2283/0.6321, allocations: 0.9204 MB / 0.6585 GB, free: 94.71 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6321, allocations: 0.75 kB / 0.6585 GB, free: 94.71 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002175/0.6343, allocations: 0.5183 MB / 0.659 GB, free: 94.71 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 (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.01997/0.6543, allocations: 7.745 MB / 0.6665 GB, free: 93.8 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01009/0.6644, allocations: 3.157 MB / 0.6696 GB, free: 93.72 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.6645, allocations: 3.938 kB / 0.6696 GB, free: 93.72 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007108/0.6716, allocations: 2.149 MB / 0.6717 GB, free: 93.46 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001233/0.6728, allocations: 118.6 kB / 0.6718 GB, free: 93.46 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007462/0.6803, allocations: 6.268 MB / 0.678 GB, free: 89.13 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005297/0.6809, allocations: 1.241 MB / 0.6792 GB, free: 88.39 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000542/0.6814, allocations: 141.4 kB / 0.6793 GB, free: 88.36 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007051/0.6822, allocations: 0.5877 MB / 0.6799 GB, free: 88.36 MB / 478.1 MB Notification: Performance of SimCode: time 8.61e-07/0.6822, allocations: 0 / 0.6799 GB, free: 88.36 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04924/0.7314, allocations: 37.46 MB / 0.7165 GB, free: 57.71 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000116/0.7316, allocations: 187.4 kB / 0.7166 GB, free: 57.47 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.805/3.536, allocations: 4.062 kB / 0.7166 GB, free: 57.47 MB / 478.1 MB (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: