Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.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.SCRX,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_SCRX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_SCRX",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.0009854/0.0009854, allocations: 98.03 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.401/1.401, allocations: 223.3 MB / 239.4 MB, free: 5.391 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.001038/0.001039, allocations: 172.5 kB / 290.6 MB, free: 2.059 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5392/0.5392, allocations: 91.93 MB / 433.7 MB, free: 10.29 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004298/0.0004301, allocations: 16 kB / 0.5049 GB, free: 7.16 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3916/0.392, allocations: 72.46 MB / 0.5756 GB, free: 36.74 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.006352/0.3984, allocations: 8.112 MB / 0.5836 GB, free: 31.18 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005405/0.4039, allocations: 2.587 MB / 0.5861 GB, free: 29.36 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002008/0.4059, allocations: 15.66 kB / 0.5861 GB, free: 29.35 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001298/0.4073, allocations: 248.8 kB / 0.5863 GB, free: 29.25 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003255/0.4105, allocations: 0.983 MB / 0.5873 GB, free: 28.62 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001505/0.4121, allocations: 0.6284 MB / 0.5879 GB, free: 28.29 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002263/0.4143, allocations: 2.077 MB / 0.5899 GB, free: 27.31 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005307/0.4149, allocations: 376.8 kB / 0.5903 GB, free: 27.12 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001027/0.4159, allocations: 0.7526 MB / 0.591 GB, free: 26.79 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001051/0.417, allocations: 1.01 MB / 0.592 GB, free: 26.34 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002269/0.4172, allocations: 92.5 kB / 0.5921 GB, free: 26.34 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00072/0.4179, allocations: 321.3 kB / 0.5924 GB, free: 26.26 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002885/0.4182, allocations: 356.1 kB / 0.5928 GB, free: 26.06 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006908/0.4189, allocations: 0.8217 MB / 0.5936 GB, free: 25.52 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001878/0.4208, allocations: 2.139 MB / 0.5957 GB, free: 24.76 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.4208, allocations: 1.125 kB / 0.5957 GB, free: 24.76 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.4208, allocations: 0 / 0.5957 GB, free: 24.76 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.945e-05/0.4209, allocations: 0 / 0.5957 GB, free: 24.76 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.01219/0.4331, allocations: 3.333 MB / 0.5989 GB, free: 23.46 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/0.4331, allocations: 9.25 kB / 0.5989 GB, free: 23.46 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005258/0.4337, allocations: 156 kB / 0.5991 GB, free: 23.36 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005023/0.4387, allocations: 0.7537 MB / 0.5998 GB, free: 23.2 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002309/0.441, allocations: 1.113 MB / 0.6009 GB, free: 22.48 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004352/0.4415, allocations: 443.4 kB / 0.6013 GB, free: 22.08 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002423/0.4417, allocations: 109 kB / 0.6014 GB, free: 22.05 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003175/0.4449, allocations: 1.515 MB / 0.6029 GB, free: 21.49 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.203e-05/0.445, allocations: 0 / 0.6029 GB, free: 21.49 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001234/0.4451, allocations: 41.11 kB / 0.6029 GB, free: 21.46 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.511e-05/0.4451, allocations: 22.59 kB / 0.603 GB, free: 21.46 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003275/0.4484, allocations: 1.441 MB / 0.6044 GB, free: 20.98 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.009752/0.4582, allocations: 5.018 MB / 0.6093 GB, free: 18.13 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009486/0.4677, allocations: 3.466 MB / 0.6126 GB, free: 16.87 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002375/0.4701, allocations: 0.9974 MB / 0.6136 GB, free: 16.49 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001387/0.4703, allocations: 25.3 kB / 0.6136 GB, free: 16.48 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002459/0.4727, allocations: 1.14 MB / 0.6148 GB, free: 16.07 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 3.657e-06/0.4728, allocations: 1.625 kB / 0.6148 GB, free: 16.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.04482/0.5176, allocations: 11.97 MB / 0.6265 GB, free: 9.109 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.07e-05/0.5177, allocations: 115.8 kB / 0.6266 GB, free: 8.969 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002091/0.5198, allocations: 1.415 MB / 0.6279 GB, free: 7.543 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004103/0.5202, allocations: 53.7 kB / 0.628 GB, free: 7.484 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003414/0.5205, allocations: 0.604 MB / 0.6286 GB, free: 6.875 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004295/0.521, allocations: 457.4 kB / 0.629 GB, free: 6.422 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002109/0.5212, allocations: 173.6 kB / 0.6292 GB, free: 6.246 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.095e-05/0.5213, allocations: 305.1 kB / 0.6295 GB, free: 5.945 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002032/0.5233, allocations: 1.05 MB / 0.6305 GB, free: 4.895 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002099/0.5254, allocations: 1.26 MB / 0.6317 GB, free: 3.59 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004022/0.5294, allocations: 2.238 MB / 0.6339 GB, free: 1.309 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/0.5295, allocations: 0 / 0.6339 GB, free: 1.309 MB / 430.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.01027/0.5397, allocations: 4.113 MB / 0.6379 GB, free: 13.18 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.05e-05/0.5398, allocations: 7.984 kB / 0.6379 GB, free: 13.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/0.5398, allocations: 4 kB / 0.638 GB, free: 13.17 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01156/0.5514, allocations: 3.357 MB / 0.6412 GB, free: 9.812 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001528/0.553, allocations: 271.6 kB / 0.6415 GB, free: 9.547 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008905/0.5619, allocations: 3.316 MB / 0.6447 GB, free: 6.199 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003024/0.565, allocations: 290.3 kB / 0.645 GB, free: 5.914 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000328/0.5653, allocations: 71.91 kB / 0.6451 GB, free: 5.844 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 (161): * Single equations (assignments): 160 * 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 {(34,42)} Notification: Performance of prepare postOptimizeDAE: time 0.000961/0.5663, allocations: 297.5 kB / 0.6454 GB, free: 5.543 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005737/0.5669, allocations: 161.9 kB / 0.6455 GB, free: 5.383 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01911/0.586, allocations: 5.862 MB / 0.6512 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.901e-05/0.5861, allocations: 19.98 kB / 0.6513 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/0.5861, allocations: 0 / 0.6513 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.386e-05/0.5862, allocations: 11.91 kB / 0.6513 GB, free: 15.47 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.02261/0.6088, allocations: 7.941 MB / 0.659 GB, free: 7.391 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.618e-05/0.6088, allocations: 0 / 0.659 GB, free: 7.391 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001031/0.6099, allocations: 147.8 kB / 0.6592 GB, free: 7.246 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008869/0.6188, allocations: 2.513 MB / 0.6616 GB, free: 4.727 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003335/0.6191, allocations: 24 kB / 0.6616 GB, free: 4.703 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02888/0.648, allocations: 10.33 MB / 0.6717 GB, free: 10.22 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.6481, allocations: 0 / 0.6717 GB, free: 10.22 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02293/0.671, allocations: 7.079 MB / 0.6786 GB, free: 3.113 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007962/0.6719, allocations: 278.6 kB / 0.6789 GB, free: 2.82 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006346/0.6725, allocations: 32 kB / 0.6789 GB, free: 2.789 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002164/0.6747, allocations: 175.8 kB / 0.6791 GB, free: 2.617 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001006/0.6757, allocations: 261.2 kB / 0.6793 GB, free: 2.355 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001876/0.6759, allocations: 32 kB / 0.6794 GB, free: 2.324 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001856/0.6778, allocations: 0.9542 MB / 0.6803 GB, free: 1.371 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6778, allocations: 4 kB / 0.6803 GB, free: 1.367 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002043/0.6798, allocations: 0.527 MB / 0.6808 GB, free: 0.8398 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,sCRX.imLeadLag.TF.x_scaled[1],sCRX.simpleLagLim.state) * 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 (83): * Single equations (assignments): 82 * 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.02227/0.7021, allocations: 7.688 MB / 0.6883 GB, free: 9.113 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01082/0.713, allocations: 3.219 MB / 0.6915 GB, free: 5.895 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.713, allocations: 3.938 kB / 0.6915 GB, free: 5.891 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007318/0.7203, allocations: 2.171 MB / 0.6936 GB, free: 3.707 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002093/0.7225, allocations: 131.6 kB / 0.6937 GB, free: 3.578 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05544/0.7779, allocations: 22.43 MB / 0.7156 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001046/0.779, allocations: 1.227 MB / 0.7168 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007705/0.7798, allocations: 138 kB / 0.717 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001027/0.7809, allocations: 0.6008 MB / 0.7176 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of SimCode: time 2.875e-06/0.7809, allocations: 0 / 0.7176 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07159/0.8525, allocations: 39.77 MB / 0.7564 GB, free: 2.711 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002561/0.8528, allocations: 211.6 kB / 0.7566 GB, free: 2.457 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.254/4.107, allocations: 0 / 0.7566 GB, free: 2.457 MB / 0.545 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_SCRX_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_SCRX.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe 2>&1)