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.001267/0.001267, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.313/1.313, allocations: 222.9 MB / 238.9 MB, free: 4.754 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.001235/0.001235, allocations: 192.4 kB / 289.1 MB, free: 2.492 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.51/0.51, allocations: 91.88 MB / 431.2 MB, free: 9.398 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001686/0.001686, allocations: 71.89 kB / 0.5013 GB, free: 8.023 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.3426, allocations: 71.27 MB / 0.5709 GB, free: 36.45 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SEXS): time 0.006579/0.3492, allocations: 8.401 MB / 0.5791 GB, free: 31.42 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004362/0.3536, allocations: 2.568 MB / 0.5816 GB, free: 29.62 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001049/0.3547, allocations: 15.38 kB / 0.5816 GB, free: 29.62 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007663/0.3554, allocations: 246.6 kB / 0.5819 GB, free: 29.52 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002085/0.3576, allocations: 0.9944 MB / 0.5829 GB, free: 28.88 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001141/0.3587, allocations: 0.6164 MB / 0.5835 GB, free: 28.56 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001651/0.3604, allocations: 2.018 MB / 0.5854 GB, free: 27.6 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004311/0.3608, allocations: 355.5 kB / 0.5858 GB, free: 27.42 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009697/0.3618, allocations: 0.7707 MB / 0.5865 GB, free: 27.07 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009348/0.3628, allocations: 1.035 MB / 0.5875 GB, free: 26.61 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000234/0.363, allocations: 103.3 kB / 0.5876 GB, free: 26.61 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007146/0.3637, allocations: 329.2 kB / 0.5879 GB, free: 26.54 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003047/0.364, allocations: 375.2 kB / 0.5883 GB, free: 26.32 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006652/0.3647, allocations: 0.8048 MB / 0.5891 GB, free: 25.8 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001702/0.3664, allocations: 2.129 MB / 0.5912 GB, free: 24.89 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3664, allocations: 3.281 kB / 0.5912 GB, free: 24.89 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3664, allocations: 0 / 0.5912 GB, free: 24.89 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.115e-05/0.3665, allocations: 0 / 0.5912 GB, free: 24.89 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.0122/0.3787, allocations: 3.51 MB / 0.5946 GB, free: 23.43 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.3787, allocations: 13.5 kB / 0.5946 GB, free: 23.43 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000186/0.3789, allocations: 150.4 kB / 0.5948 GB, free: 23.32 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004752/0.3837, allocations: 0.7464 MB / 0.5955 GB, free: 23.15 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002047/0.3858, allocations: 1.098 MB / 0.5966 GB, free: 22.44 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003645/0.3862, allocations: 421.7 kB / 0.597 GB, free: 22.05 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001992/0.3864, allocations: 108.9 kB / 0.5971 GB, free: 22.02 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002781/0.3892, allocations: 1.388 MB / 0.5984 GB, free: 21.48 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.926e-05/0.3892, allocations: 3.938 kB / 0.5984 GB, free: 21.48 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001166/0.3893, allocations: 37.25 kB / 0.5985 GB, free: 21.45 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.388e-05/0.3893, allocations: 21.78 kB / 0.5985 GB, free: 21.45 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002795/0.3921, allocations: 1.312 MB / 0.5998 GB, free: 21.01 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.008917/0.4011, allocations: 4.823 MB / 0.6045 GB, free: 18.21 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008234/0.4093, allocations: 2.854 MB / 0.6073 GB, free: 17.04 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002194/0.4116, allocations: 0.8942 MB / 0.6081 GB, free: 16.68 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001541/0.4117, allocations: 24.55 kB / 0.6081 GB, free: 16.67 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002247/0.414, allocations: 1.046 MB / 0.6092 GB, free: 16.27 MB / 430.1 MB Notification: Performance of pre-optimization done (n=122): time 3.486e-06/0.414, allocations: 4 kB / 0.6092 GB, free: 16.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=122): time 0.04046/0.4545, allocations: 9.666 MB / 0.6186 GB, free: 12.87 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.561e-05/0.4546, allocations: 115.6 kB / 0.6187 GB, free: 12.74 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002313/0.4569, allocations: 1.4 MB / 0.6201 GB, free: 11.87 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003899/0.4573, allocations: 49.7 kB / 0.6201 GB, free: 11.82 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003039/0.4576, allocations: 0.5766 MB / 0.6207 GB, free: 11.23 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003881/0.458, allocations: 449.6 kB / 0.6211 GB, free: 10.79 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005432/0.4586, allocations: 335.4 kB / 0.6215 GB, free: 10.46 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.783e-05/0.4586, allocations: 301.1 kB / 0.6217 GB, free: 10.16 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001808/0.4604, allocations: 0.9604 MB / 0.6227 GB, free: 9.199 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001905/0.4623, allocations: 1.158 MB / 0.6238 GB, free: 7.992 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003497/0.4659, allocations: 2.046 MB / 0.6258 GB, free: 5.906 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.745e-06/0.4659, allocations: 4 kB / 0.6258 GB, free: 5.902 MB / 430.1 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.0155/0.4814, allocations: 5.395 MB / 0.6311 GB, free: 500 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.087e-05/0.4815, allocations: 8 kB / 0.6311 GB, free: 492 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/0.4815, allocations: 8 kB / 0.6311 GB, free: 484 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009901/0.4914, allocations: 2.876 MB / 0.6339 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00153/0.493, allocations: 279.6 kB / 0.6342 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007053/0.5, allocations: 2.857 MB / 0.637 GB, free: 10.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00266/0.5027, allocations: 254.3 kB / 0.6372 GB, free: 10.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001904/0.5029, allocations: 63.98 kB / 0.6373 GB, free: 10.12 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.0007057/0.5036, allocations: 293.5 kB / 0.6375 GB, free: 9.828 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003424/0.504, allocations: 158 kB / 0.6377 GB, free: 9.672 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01558/0.5196, allocations: 4.729 MB / 0.6423 GB, free: 4.906 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.396e-05/0.5196, allocations: 12 kB / 0.6423 GB, free: 4.895 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.208e-05/0.5197, allocations: 4 kB / 0.6423 GB, free: 4.891 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.824e-05/0.5197, allocations: 7.984 kB / 0.6423 GB, free: 4.883 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.01926/0.539, allocations: 6.803 MB / 0.649 GB, free: 13.95 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.545e-05/0.539, allocations: 0 / 0.649 GB, free: 13.95 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009495/0.54, allocations: 135.8 kB / 0.6491 GB, free: 13.81 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007681/0.5477, allocations: 2.142 MB / 0.6512 GB, free: 11.66 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002597/0.548, allocations: 27.98 kB / 0.6512 GB, free: 11.64 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02423/0.5722, allocations: 9.183 MB / 0.6602 GB, free: 2.316 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.5722, allocations: 4 kB / 0.6602 GB, free: 2.312 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01869/0.5909, allocations: 5.874 MB / 0.6659 GB, free: 12.41 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007603/0.5917, allocations: 270.8 kB / 0.6662 GB, free: 12.12 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003039/0.5921, allocations: 20 kB / 0.6662 GB, free: 12.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001606/0.5937, allocations: 135.8 kB / 0.6663 GB, free: 11.97 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000866/0.5945, allocations: 253 kB / 0.6666 GB, free: 11.72 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001064/0.5947, allocations: 32 kB / 0.6666 GB, free: 11.69 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001512/0.5962, allocations: 0.9379 MB / 0.6675 GB, free: 10.75 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5962, allocations: 4 kB / 0.6675 GB, free: 10.75 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001635/0.5978, allocations: 0.519 MB / 0.668 GB, free: 10.23 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 (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.01885/0.6167, allocations: 6.468 MB / 0.6744 GB, free: 3.715 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009153/0.6259, allocations: 2.81 MB / 0.6771 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.6259, allocations: 0 / 0.6771 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006025/0.632, allocations: 1.865 MB / 0.6789 GB, free: 15.02 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001566/0.6336, allocations: 129.1 kB / 0.679 GB, free: 14.9 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04571/0.6793, allocations: 20.29 MB / 0.6989 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008074/0.6802, allocations: 1.211 MB / 0.7 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007374/0.6809, allocations: 137.7 kB / 0.7002 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008315/0.6817, allocations: 0.5813 MB / 0.7007 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of SimCode: time 1.153e-06/0.6818, allocations: 0 / 0.7007 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08039/0.7621, allocations: 39.43 MB / 0.7392 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001997/0.7624, allocations: 218.3 kB / 0.7395 GB, free: 332 kB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.958/3.72, allocations: 0 / 0.7395 GB, free: 332 kB / 0.5294 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)