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.1178/0.1178, allocations: 12.19 MB / 27.43 MB, free: 1.379 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.001247/0.001247, allocations: 119.4 kB / 30.94 MB, free: 4.656 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.542/1.542, allocations: 205.1 MB / 239.4 MB, free: 10.91 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.001706/0.001706, allocations: 192.5 kB / 289.6 MB, free: 15.83 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4817/0.4817, allocations: 78.5 MB / 418.1 MB, free: 31.75 MB / 318.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.002933/0.002933, allocations: 127.8 kB / 498.5 MB, free: 380 kB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3997/0.4026, allocations: 68.04 MB / 0.5533 GB, free: 37.87 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SEXS): time 0.009674/0.4124, allocations: 8.427 MB / 0.5615 GB, free: 31.7 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005725/0.4181, allocations: 2.522 MB / 0.564 GB, free: 29.9 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002004/0.4202, allocations: 13.66 kB / 0.564 GB, free: 29.9 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001454/0.4216, allocations: 253.3 kB / 0.5642 GB, free: 29.79 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00413/0.4258, allocations: 1.05 MB / 0.5652 GB, free: 29.12 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001732/0.4276, allocations: 0.6273 MB / 0.5659 GB, free: 28.78 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003123/0.4307, allocations: 2.26 MB / 0.5681 GB, free: 27.71 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008186/0.4316, allocations: 398.8 kB / 0.5684 GB, free: 27.51 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001423/0.433, allocations: 0.8669 MB / 0.5693 GB, free: 27.09 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001618/0.4346, allocations: 1.106 MB / 0.5704 GB, free: 26.56 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006851/0.4353, allocations: 174.9 kB / 0.5705 GB, free: 26.56 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001198/0.4365, allocations: 399.2 kB / 0.5709 GB, free: 26.49 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006609/0.4372, allocations: 458.5 kB / 0.5714 GB, free: 26.2 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001542/0.4388, allocations: 0.888 MB / 0.5722 GB, free: 25.61 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003174/0.442, allocations: 2.201 MB / 0.5744 GB, free: 24.64 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.442, allocations: 0 / 0.5744 GB, free: 24.64 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.442, allocations: 0 / 0.5744 GB, free: 24.64 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001098/0.4421, allocations: 2.75 kB / 0.5744 GB, free: 24.64 MB / 414.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.01589/0.458, allocations: 3.717 MB / 0.578 GB, free: 23.15 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.514e-05/0.4581, allocations: 13.61 kB / 0.578 GB, free: 23.15 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005748/0.4587, allocations: 150 kB / 0.5782 GB, free: 23.05 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005556/0.4642, allocations: 0.7453 MB / 0.5789 GB, free: 22.88 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003455/0.4677, allocations: 1.097 MB / 0.58 GB, free: 22.17 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005558/0.4683, allocations: 425.6 kB / 0.5804 GB, free: 21.78 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005659/0.4689, allocations: 112.9 kB / 0.5805 GB, free: 21.74 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004503/0.4734, allocations: 1.386 MB / 0.5818 GB, free: 21.21 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.735e-05/0.4735, allocations: 0 / 0.5818 GB, free: 21.21 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002381/0.4737, allocations: 40.31 kB / 0.5819 GB, free: 21.18 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.621e-05/0.4737, allocations: 22.45 kB / 0.5819 GB, free: 21.18 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003622/0.4774, allocations: 1.309 MB / 0.5832 GB, free: 20.74 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.01295/0.4903, allocations: 4.826 MB / 0.5879 GB, free: 17.94 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008305/0.4987, allocations: 2.86 MB / 0.5907 GB, free: 16.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00221/0.5009, allocations: 0.8994 MB / 0.5916 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002383/0.5012, allocations: 30.75 kB / 0.5916 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002531/0.5037, allocations: 1.033 MB / 0.5926 GB, free: 15.15 MB / 414.1 MB Notification: Performance of pre-optimization done (n=122): time 5.621e-06/0.5038, allocations: 5.156 kB / 0.5926 GB, free: 15.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=122): time 0.04119/0.545, allocations: 9.669 MB / 0.602 GB, free: 8.352 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.361e-05/0.5451, allocations: 119.9 kB / 0.6022 GB, free: 8.207 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002628/0.5477, allocations: 1.39 MB / 0.6035 GB, free: 6.805 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004622/0.5482, allocations: 53.64 kB / 0.6036 GB, free: 6.746 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004973/0.5487, allocations: 0.5766 MB / 0.6041 GB, free: 6.164 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007236/0.5494, allocations: 445.7 kB / 0.6045 GB, free: 5.723 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001346/0.5508, allocations: 331.4 kB / 0.6049 GB, free: 5.395 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.205e-05/0.5509, allocations: 305.1 kB / 0.6052 GB, free: 5.094 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002091/0.553, allocations: 0.9604 MB / 0.6061 GB, free: 4.133 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002135/0.5551, allocations: 1.155 MB / 0.6072 GB, free: 2.934 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003926/0.5591, allocations: 2.046 MB / 0.6092 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.916e-06/0.5591, allocations: 4 kB / 0.6092 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.01735/0.5764, allocations: 5.399 MB / 0.6145 GB, free: 11.42 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.754e-05/0.5765, allocations: 4 kB / 0.6145 GB, free: 11.42 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.993e-05/0.5766, allocations: 4 kB / 0.6145 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01043/0.587, allocations: 2.891 MB / 0.6173 GB, free: 8.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001605/0.5886, allocations: 275.6 kB / 0.6176 GB, free: 8.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007769/0.5964, allocations: 2.861 MB / 0.6204 GB, free: 5.367 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002876/0.5994, allocations: 242.3 kB / 0.6206 GB, free: 5.129 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004843/0.5999, allocations: 63.98 kB / 0.6207 GB, free: 5.066 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.001121/0.601, allocations: 303 kB / 0.621 GB, free: 4.762 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007894/0.6018, allocations: 154 kB / 0.6211 GB, free: 4.609 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01623/0.6181, allocations: 4.738 MB / 0.6257 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.577e-05/0.6181, allocations: 12 kB / 0.6258 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.136e-05/0.6182, allocations: 0 / 0.6258 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-05/0.6182, allocations: 7.969 kB / 0.6258 GB, free: 15.82 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.021/0.6392, allocations: 6.796 MB / 0.6324 GB, free: 8.891 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.401e-05/0.6393, allocations: 0 / 0.6324 GB, free: 8.891 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001102/0.6404, allocations: 139.8 kB / 0.6325 GB, free: 8.754 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007615/0.6481, allocations: 2.146 MB / 0.6346 GB, free: 6.605 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00036/0.6485, allocations: 27.98 kB / 0.6347 GB, free: 6.578 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02816/0.6766, allocations: 10.08 MB / 0.6445 GB, free: 12.34 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/0.6767, allocations: 7.922 kB / 0.6445 GB, free: 12.34 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01985/0.6965, allocations: 5.867 MB / 0.6502 GB, free: 6.438 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008545/0.6974, allocations: 270.8 kB / 0.6505 GB, free: 6.152 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007321/0.6982, allocations: 24 kB / 0.6505 GB, free: 6.129 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002202/0.7004, allocations: 131.8 kB / 0.6506 GB, free: 6 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001146/0.7016, allocations: 261 kB / 0.6509 GB, free: 5.746 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002745/0.7019, allocations: 32 kB / 0.6509 GB, free: 5.715 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002125/0.704, allocations: 0.9418 MB / 0.6518 GB, free: 4.773 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.704, allocations: 0 / 0.6518 GB, free: 4.773 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002696/0.7067, allocations: 0.5191 MB / 0.6523 GB, free: 4.254 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 (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.02028/0.727, allocations: 6.471 MB / 0.6587 GB, free: 13.74 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01059/0.7377, allocations: 2.884 MB / 0.6615 GB, free: 10.85 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.7377, allocations: 3.938 kB / 0.6615 GB, free: 10.85 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006641/0.7444, allocations: 1.91 MB / 0.6634 GB, free: 8.926 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002333/0.7467, allocations: 129.1 kB / 0.6635 GB, free: 8.797 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05431/0.8011, allocations: 20.28 MB / 0.6833 GB, free: 3.723 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001293/0.8024, allocations: 1.211 MB / 0.6845 GB, free: 2.477 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001034/0.8035, allocations: 141.7 kB / 0.6846 GB, free: 2.336 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001225/0.8047, allocations: 0.593 MB / 0.6852 GB, free: 1.742 MB / 494.1 MB Notification: Performance of SimCode: time 9.22e-07/0.8047, allocations: 0 / 0.6852 GB, free: 1.742 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08468/0.8894, allocations: 41.21 MB / 0.7254 GB, free: 8.621 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003609/0.8898, allocations: 216 kB / 0.7256 GB, free: 8.363 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.379/4.269, allocations: 0 / 0.7256 GB, free: 8.363 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)