Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL_Tests_Controls_PSSE_ES_SEXS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SEXS,fileNamePrefix="OpenIPSL_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.001473/0.001472, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.423/1.423, allocations: 222.9 MB / 238.8 MB, free: 4.73 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.001298/0.001298, allocations: 192.5 kB / 289.1 MB, free: 2.484 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4514/0.4514, allocations: 78.52 MB / 417.8 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001406, allocations: 71.89 kB / 496.9 MB, free: 6.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1377, allocations: 68.17 MB / 0.5518 GB, free: 2.504 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SEXS): time 0.2611/0.3989, allocations: 8.374 MB / 0.56 GB, free: 35.04 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005686/0.4046, allocations: 2.568 MB / 0.5625 GB, free: 34.36 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001611/0.4062, allocations: 15.94 kB / 0.5625 GB, free: 34.36 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001058/0.4073, allocations: 242 kB / 0.5627 GB, free: 34.35 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003126/0.4105, allocations: 1.073 MB / 0.5638 GB, free: 34.12 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001413/0.4119, allocations: 0.6142 MB / 0.5644 GB, free: 34.06 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002623/0.4146, allocations: 2.171 MB / 0.5665 GB, free: 33.77 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000551/0.4151, allocations: 350.8 kB / 0.5668 GB, free: 33.69 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001042/0.4162, allocations: 0.7814 MB / 0.5676 GB, free: 33.47 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009609/0.4171, allocations: 1.042 MB / 0.5686 GB, free: 33.21 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002061/0.4174, allocations: 101.9 kB / 0.5687 GB, free: 33.21 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006567/0.418, allocations: 324.8 kB / 0.569 GB, free: 33.19 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002753/0.4183, allocations: 377.6 kB / 0.5694 GB, free: 33.09 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006078/0.4189, allocations: 0.8107 MB / 0.5702 GB, free: 32.79 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001663/0.4206, allocations: 2.14 MB / 0.5723 GB, free: 32.3 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.4206, allocations: 0 / 0.5723 GB, free: 32.3 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.4206, allocations: 0 / 0.5723 GB, free: 32.3 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.81e-05/0.4207, allocations: 0.8125 kB / 0.5723 GB, free: 32.3 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.01303/0.4337, allocations: 3.721 MB / 0.5759 GB, free: 31.21 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.4337, allocations: 7.875 kB / 0.5759 GB, free: 31.21 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001775/0.4339, allocations: 153.7 kB / 0.576 GB, free: 31.17 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004491/0.4384, allocations: 0.7417 MB / 0.5768 GB, free: 31.05 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00192/0.4404, allocations: 1.1 MB / 0.5778 GB, free: 30.6 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003642/0.4407, allocations: 428.7 kB / 0.5783 GB, free: 30.24 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001916/0.4409, allocations: 108.9 kB / 0.5784 GB, free: 30.24 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002536/0.4435, allocations: 1.381 MB / 0.5797 GB, free: 29.87 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.4435, allocations: 4 kB / 0.5797 GB, free: 29.87 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001132/0.4436, allocations: 38.67 kB / 0.5797 GB, free: 29.84 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.645e-05/0.4437, allocations: 22.31 kB / 0.5798 GB, free: 29.84 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002568/0.4462, allocations: 1.308 MB / 0.581 GB, free: 29.4 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.007889/0.4541, allocations: 4.834 MB / 0.5858 GB, free: 26.6 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007879/0.462, allocations: 2.848 MB / 0.5885 GB, free: 25.45 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002118/0.4642, allocations: 0.8927 MB / 0.5894 GB, free: 25.09 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001471/0.4643, allocations: 21.73 kB / 0.5894 GB, free: 25.08 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00221/0.4666, allocations: 1.043 MB / 0.5905 GB, free: 24.68 MB / 430.1 MB Notification: Performance of pre-optimization done (n=122): time 4.097e-06/0.4666, allocations: 0 / 0.5905 GB, free: 24.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=122): time 0.04147/0.508, allocations: 9.667 MB / 0.5999 GB, free: 23.04 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/0.5081, allocations: 127.6 kB / 0.6 GB, free: 22.9 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002318/0.5105, allocations: 1.399 MB / 0.6014 GB, free: 22.33 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002859/0.5108, allocations: 51.95 kB / 0.6014 GB, free: 22.28 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003945/0.5112, allocations: 0.5721 MB / 0.602 GB, free: 21.83 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004516/0.5116, allocations: 445.5 kB / 0.6024 GB, free: 21.48 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006287/0.5122, allocations: 331.7 kB / 0.6027 GB, free: 21.33 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.893e-05/0.5123, allocations: 301.1 kB / 0.603 GB, free: 21.03 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002059/0.5144, allocations: 0.962 MB / 0.604 GB, free: 20.68 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002202/0.5166, allocations: 1.155 MB / 0.6051 GB, free: 20.14 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003938/0.5205, allocations: 2.056 MB / 0.6071 GB, free: 19.01 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.226e-06/0.5205, allocations: 1.188 kB / 0.6071 GB, free: 19.01 MB / 430.1 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.0164/0.537, allocations: 5.39 MB / 0.6124 GB, free: 16.38 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.921e-05/0.537, allocations: 11.64 kB / 0.6124 GB, free: 16.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/0.537, allocations: 4.812 kB / 0.6124 GB, free: 16.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008927/0.546, allocations: 2.883 MB / 0.6152 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001319/0.5473, allocations: 279.6 kB / 0.6155 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005845/0.5532, allocations: 2.861 MB / 0.6183 GB, free: 11.06 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002155/0.5553, allocations: 254.3 kB / 0.6185 GB, free: 10.81 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001335/0.5555, allocations: 59.98 kB / 0.6186 GB, free: 10.75 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.000539/0.556, allocations: 293.5 kB / 0.6188 GB, free: 10.45 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000236/0.5563, allocations: 158 kB / 0.619 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01406/0.5703, allocations: 4.729 MB / 0.6236 GB, free: 5.543 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/0.5704, allocations: 12 kB / 0.6236 GB, free: 5.531 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.5704, allocations: 0 / 0.6236 GB, free: 5.531 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.642e-05/0.5704, allocations: 9.188 kB / 0.6236 GB, free: 5.523 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 postOpt removeSimpleEquations (simulation): time 0.01672/0.5871, allocations: 6.796 MB / 0.6303 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.235e-06/0.5871, allocations: 7.938 kB / 0.6303 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008016/0.5879, allocations: 131.9 kB / 0.6304 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007361/0.5953, allocations: 2.141 MB / 0.6325 GB, free: 12.31 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001444/0.5955, allocations: 32.67 kB / 0.6325 GB, free: 12.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02335/0.6188, allocations: 9.18 MB / 0.6415 GB, free: 2.961 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.6189, allocations: 4 kB / 0.6415 GB, free: 2.957 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0182/0.6371, allocations: 5.864 MB / 0.6472 GB, free: 13.06 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006485/0.6377, allocations: 278.7 kB / 0.6475 GB, free: 12.77 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002521/0.638, allocations: 21.06 kB / 0.6475 GB, free: 12.75 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001576/0.6396, allocations: 135.8 kB / 0.6476 GB, free: 12.61 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008459/0.6404, allocations: 252.9 kB / 0.6479 GB, free: 12.37 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001118/0.6406, allocations: 35.98 kB / 0.6479 GB, free: 12.33 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001466/0.642, allocations: 0.9418 MB / 0.6488 GB, free: 11.39 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.642, allocations: 0 / 0.6488 GB, free: 11.39 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001441/0.6435, allocations: 0.519 MB / 0.6493 GB, free: 10.87 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.0185/0.662, allocations: 6.469 MB / 0.6556 GB, free: 4.359 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008773/0.6708, allocations: 2.812 MB / 0.6584 GB, free: 1.555 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.6708, allocations: 1.406 kB / 0.6584 GB, free: 1.555 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005971/0.6768, allocations: 1.859 MB / 0.6602 GB, free: 15.68 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001411/0.6782, allocations: 138.6 kB / 0.6603 GB, free: 15.55 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04304/0.7213, allocations: 20.27 MB / 0.6801 GB, free: 10.55 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007854/0.7221, allocations: 1.215 MB / 0.6813 GB, free: 9.309 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006015/0.7227, allocations: 139.5 kB / 0.6815 GB, free: 9.176 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008082/0.7235, allocations: 0.5891 MB / 0.682 GB, free: 8.586 MB / 494.1 MB Notification: Performance of SimCode: time 6.41e-07/0.7235, allocations: 0 / 0.682 GB, free: 8.586 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05755/0.7811, allocations: 39.41 MB / 0.7205 GB, free: 1.473 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001824/0.7813, allocations: 212.4 kB / 0.7207 GB, free: 1.215 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.777/3.558, allocations: 3.938 kB / 0.7207 GB, free: 1.211 MB / 0.5137 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_SEXS_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_SEXS.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe 2>&1)