Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.conf.json 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 4.0.0+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 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SEXS,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_SEXS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SEXS,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_SEXS",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009874/0.0009874, allocations: 97.72 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 223.3 MB / 239.4 MB, free: 5.516 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.001344/0.001344, allocations: 168.6 kB / 290.6 MB, free: 2.195 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5421/0.5421, allocations: 91.93 MB / 433.7 MB, free: 10.31 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004126/0.0004128, allocations: 12 kB / 0.5049 GB, free: 7.168 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3844/0.3849, allocations: 72.46 MB / 0.5756 GB, free: 36.76 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SEXS): time 0.007201/0.3921, allocations: 7.911 MB / 0.5834 GB, free: 31.37 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005289/0.3974, allocations: 2.533 MB / 0.5858 GB, free: 29.59 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001707/0.3992, allocations: 12.97 kB / 0.5859 GB, free: 29.59 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001319/0.4005, allocations: 250.1 kB / 0.5861 GB, free: 29.48 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003487/0.404, allocations: 0.985 MB / 0.5871 GB, free: 28.85 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001639/0.4057, allocations: 0.6107 MB / 0.5877 GB, free: 28.54 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002783/0.4085, allocations: 2.02 MB / 0.5896 GB, free: 27.58 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007414/0.4092, allocations: 353.6 kB / 0.59 GB, free: 27.4 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001475/0.4107, allocations: 0.7356 MB / 0.5907 GB, free: 27.08 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001677/0.4124, allocations: 0.9993 MB / 0.5917 GB, free: 26.64 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006602/0.4131, allocations: 87.09 kB / 0.5917 GB, free: 26.64 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001297/0.4144, allocations: 315.2 kB / 0.592 GB, free: 26.56 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007354/0.4151, allocations: 353.9 kB / 0.5924 GB, free: 26.36 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001587/0.4167, allocations: 0.8004 MB / 0.5932 GB, free: 25.84 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002943/0.4197, allocations: 2.08 MB / 0.5952 GB, free: 25.09 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.4197, allocations: 1.125 kB / 0.5952 GB, free: 25.09 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.4197, allocations: 0 / 0.5952 GB, free: 25.09 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001058/0.4198, allocations: 0 / 0.5952 GB, free: 25.09 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.01262/0.4325, allocations: 3.294 MB / 0.5984 GB, free: 23.82 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.531e-05/0.4325, allocations: 8.812 kB / 0.5984 GB, free: 23.82 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004471/0.433, allocations: 153.8 kB / 0.5986 GB, free: 23.71 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005012/0.438, allocations: 0.7558 MB / 0.5993 GB, free: 23.55 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00227/0.4403, allocations: 1.095 MB / 0.6004 GB, free: 22.84 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004368/0.4407, allocations: 437.8 kB / 0.6008 GB, free: 22.45 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002242/0.441, allocations: 108 kB / 0.6009 GB, free: 22.41 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003129/0.4441, allocations: 1.469 MB / 0.6023 GB, free: 21.87 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.268e-05/0.4442, allocations: 1.062 kB / 0.6023 GB, free: 21.87 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001203/0.4443, allocations: 40.5 kB / 0.6024 GB, free: 21.84 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.625e-05/0.4443, allocations: 22.66 kB / 0.6024 GB, free: 21.84 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003256/0.4476, allocations: 1.399 MB / 0.6038 GB, free: 21.39 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.009442/0.457, allocations: 4.915 MB / 0.6086 GB, free: 18.57 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009365/0.4664, allocations: 3.415 MB / 0.6119 GB, free: 17.34 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002487/0.4689, allocations: 0.985 MB / 0.6129 GB, free: 16.96 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001992/0.4692, allocations: 21.33 kB / 0.6129 GB, free: 16.95 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00289/0.4721, allocations: 1.123 MB / 0.614 GB, free: 16.55 MB / 430.1 MB Notification: Performance of pre-optimization done (n=122): time 4.96e-06/0.4721, allocations: 0 / 0.614 GB, free: 16.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=122): time 0.04627/0.5184, allocations: 11.77 MB / 0.6255 GB, free: 10.16 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.188e-05/0.5185, allocations: 115.8 kB / 0.6256 GB, free: 10.02 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002752/0.5212, allocations: 1.398 MB / 0.6269 GB, free: 8.609 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000444/0.5217, allocations: 49.7 kB / 0.627 GB, free: 8.555 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005373/0.5223, allocations: 0.5766 MB / 0.6275 GB, free: 7.973 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007583/0.523, allocations: 437.7 kB / 0.628 GB, free: 7.539 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005541/0.5236, allocations: 177.7 kB / 0.6281 GB, free: 7.359 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.283e-05/0.5237, allocations: 305.1 kB / 0.6284 GB, free: 7.059 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002447/0.5261, allocations: 1.039 MB / 0.6294 GB, free: 6.02 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002465/0.5286, allocations: 1.237 MB / 0.6306 GB, free: 4.738 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004678/0.5333, allocations: 2.214 MB / 0.6328 GB, free: 2.48 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.154e-05/0.5333, allocations: 0 / 0.6328 GB, free: 2.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.02044/0.5538, allocations: 6.449 MB / 0.6391 GB, free: 12.01 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.558e-05/0.5539, allocations: 7.938 kB / 0.6391 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.899e-05/0.5539, allocations: 4 kB / 0.6391 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01162/0.5655, allocations: 3.262 MB / 0.6423 GB, free: 8.734 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001566/0.5671, allocations: 283.6 kB / 0.6426 GB, free: 8.457 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008468/0.5756, allocations: 3.177 MB / 0.6457 GB, free: 5.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002949/0.5786, allocations: 294.3 kB / 0.646 GB, free: 4.961 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003535/0.579, allocations: 63.98 kB / 0.646 GB, free: 4.898 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 ($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.001109/0.5801, allocations: 293.5 kB / 0.6463 GB, free: 4.602 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006446/0.5808, allocations: 158 kB / 0.6464 GB, free: 4.445 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01933/0.6001, allocations: 5.776 MB / 0.6521 GB, free: 14.64 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3e-05/0.6002, allocations: 12 kB / 0.6521 GB, free: 14.62 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.597e-05/0.6002, allocations: 3.984 kB / 0.6521 GB, free: 14.62 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.389e-05/0.6003, allocations: 11.97 kB / 0.6521 GB, free: 14.61 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.02439/0.6247, allocations: 7.847 MB / 0.6598 GB, free: 6.629 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.807e-05/0.6247, allocations: 4.031 kB / 0.6598 GB, free: 6.625 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009853/0.6257, allocations: 131.8 kB / 0.6599 GB, free: 6.496 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008897/0.6346, allocations: 2.517 MB / 0.6624 GB, free: 3.973 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003314/0.635, allocations: 27.98 kB / 0.6624 GB, free: 3.945 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02928/0.6643, allocations: 10.33 MB / 0.6725 GB, free: 9.473 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.6644, allocations: 0 / 0.6725 GB, free: 9.473 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02296/0.6874, allocations: 7.003 MB / 0.6793 GB, free: 2.441 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008549/0.6883, allocations: 278.7 kB / 0.6796 GB, free: 2.148 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007091/0.689, allocations: 24 kB / 0.6796 GB, free: 2.125 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002284/0.6913, allocations: 179.8 kB / 0.6798 GB, free: 1.949 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001017/0.6923, allocations: 249 kB / 0.68 GB, free: 1.707 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002375/0.6926, allocations: 35.98 kB / 0.6801 GB, free: 1.672 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002068/0.6947, allocations: 0.9418 MB / 0.681 GB, free: 0.7305 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6947, allocations: 0 / 0.681 GB, free: 0.7305 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002351/0.697, allocations: 0.5153 MB / 0.6815 GB, free: 220 kB / 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.02309/0.7201, allocations: 7.6 MB / 0.6889 GB, free: 8.566 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01138/0.7316, allocations: 3.173 MB / 0.692 GB, free: 5.391 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/0.7316, allocations: 0 / 0.692 GB, free: 5.391 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007587/0.7392, allocations: 2.146 MB / 0.6941 GB, free: 3.23 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002197/0.7415, allocations: 129.3 kB / 0.6942 GB, free: 3.105 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05756/0.7991, allocations: 21.96 MB / 0.7157 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001107/0.8002, allocations: 1.207 MB / 0.7168 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000855/0.8011, allocations: 137.7 kB / 0.717 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001146/0.8023, allocations: 0.593 MB / 0.7176 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of SimCode: time 1.052e-06/0.8023, allocations: 4 kB / 0.7176 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07287/0.8752, allocations: 38.78 MB / 0.7554 GB, free: 3.777 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002045/0.8754, allocations: 212.8 kB / 0.7556 GB, free: 3.52 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.172/4.047, allocations: 0 / 0.7556 GB, free: 3.52 MB / 0.545 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_SEXS_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_SEXS.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe 2>&1)