Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.SCRX,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_SCRX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,fileNamePrefix="OpenIPSL_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.001218/0.001219, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.246/1.246, allocations: 222.9 MB / 239 MB, free: 4.738 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.001227/0.001227, allocations: 200.4 kB / 289.2 MB, free: 2.469 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4096/0.4096, allocations: 78.53 MB / 417.9 MB, free: 3.379 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001628/0.001628, allocations: 71.89 kB / 497 MB, free: 6.602 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1278, allocations: 68.17 MB / 0.552 GB, free: 2.383 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.2194/0.3472, allocations: 8.6 MB / 0.5604 GB, free: 35.05 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004656/0.3519, allocations: 2.592 MB / 0.5629 GB, free: 34.36 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000878/0.3528, allocations: 18.19 kB / 0.5629 GB, free: 34.36 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008136/0.3537, allocations: 249.9 kB / 0.5631 GB, free: 34.35 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002289/0.356, allocations: 1.055 MB / 0.5642 GB, free: 34.12 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/NonElectrical/Logical/NegCurLogic.mo:14:3-14:60:writable] Warning: In relation sCRX.negCurLogic.RC_rfd == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001166/0.3572, allocations: 0.6363 MB / 0.5648 GB, free: 34.06 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001938/0.3591, allocations: 2.324 MB / 0.5671 GB, free: 33.73 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004906/0.3596, allocations: 424.8 kB / 0.5675 GB, free: 33.64 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008566/0.3605, allocations: 0.8914 MB / 0.5683 GB, free: 33.42 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009306/0.3614, allocations: 1.12 MB / 0.5694 GB, free: 33.16 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002293/0.3617, allocations: 190.2 kB / 0.5696 GB, free: 33.15 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006063/0.3623, allocations: 415.1 kB / 0.57 GB, free: 33.13 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002803/0.3626, allocations: 470.9 kB / 0.5705 GB, free: 33.03 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005572/0.3631, allocations: 0.9005 MB / 0.5713 GB, free: 32.72 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001629/0.3648, allocations: 2.269 MB / 0.5736 GB, free: 32.23 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3648, allocations: 0 / 0.5736 GB, free: 32.23 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3648, allocations: 0 / 0.5736 GB, free: 32.23 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.782e-05/0.3648, allocations: 0 / 0.5736 GB, free: 32.23 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.01191/0.3767, allocations: 3.756 MB / 0.5772 GB, free: 31.12 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.3768, allocations: 11.41 kB / 0.5772 GB, free: 31.12 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001606/0.377, allocations: 164.7 kB / 0.5774 GB, free: 31.02 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004088/0.3811, allocations: 0.7515 MB / 0.5781 GB, free: 30.85 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001482/0.3825, allocations: 1.115 MB / 0.5792 GB, free: 30.13 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003191/0.3829, allocations: 423.8 kB / 0.5796 GB, free: 29.75 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001791/0.3831, allocations: 110.7 kB / 0.5797 GB, free: 29.71 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002395/0.3855, allocations: 1.437 MB / 0.5811 GB, free: 29.15 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.227e-05/0.3855, allocations: 0 / 0.5811 GB, free: 29.15 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001103/0.3856, allocations: 41.91 kB / 0.5812 GB, free: 29.12 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.742e-05/0.3856, allocations: 23.47 kB / 0.5812 GB, free: 29.12 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002637/0.3883, allocations: 1.346 MB / 0.5825 GB, free: 28.67 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.006995/0.3953, allocations: 4.928 MB / 0.5873 GB, free: 25.83 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007463/0.4028, allocations: 2.899 MB / 0.5902 GB, free: 24.65 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001666/0.4045, allocations: 0.9107 MB / 0.591 GB, free: 24.28 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001349/0.4046, allocations: 23.38 kB / 0.5911 GB, free: 24.27 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002093/0.4067, allocations: 1.054 MB / 0.5921 GB, free: 23.88 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 3.126e-06/0.4067, allocations: 0 / 0.5921 GB, free: 23.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.03922/0.4459, allocations: 9.801 MB / 0.6017 GB, free: 22.22 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.441e-05/0.446, allocations: 116.5 kB / 0.6018 GB, free: 22.09 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002714/0.4488, allocations: 1.414 MB / 0.6032 GB, free: 21.53 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002471/0.449, allocations: 52 kB / 0.6032 GB, free: 21.48 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004895/0.4495, allocations: 0.6006 MB / 0.6038 GB, free: 21 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005131/0.45, allocations: 457.7 kB / 0.6042 GB, free: 20.64 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009055/0.451, allocations: 334.7 kB / 0.6046 GB, free: 20.49 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.263e-05/0.451, allocations: 302.5 kB / 0.6048 GB, free: 20.19 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002124/0.4531, allocations: 0.9766 MB / 0.6058 GB, free: 19.72 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00227/0.4554, allocations: 1.174 MB / 0.6069 GB, free: 19.04 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004212/0.4596, allocations: 2.076 MB / 0.609 GB, free: 17.9 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.315e-05/0.4597, allocations: 1.094 kB / 0.609 GB, free: 17.9 MB / 430.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.009102/0.4688, allocations: 3.71 MB / 0.6126 GB, free: 16.05 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.517e-05/0.4688, allocations: 6.406 kB / 0.6126 GB, free: 16.05 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/0.4689, allocations: 3.969 kB / 0.6126 GB, free: 16.05 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009022/0.4779, allocations: 2.984 MB / 0.6155 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001288/0.4792, allocations: 267.6 kB / 0.6158 GB, free: 13.67 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00622/0.4855, allocations: 2.992 MB / 0.6187 GB, free: 10.65 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002452/0.4879, allocations: 247.3 kB / 0.6189 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002667/0.4882, allocations: 67.92 kB / 0.619 GB, free: 10.34 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 (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.00071/0.4889, allocations: 297.5 kB / 0.6193 GB, free: 10.04 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004734/0.4894, allocations: 163.1 kB / 0.6194 GB, free: 9.883 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01406/0.5035, allocations: 4.819 MB / 0.6241 GB, free: 5.043 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.431e-05/0.5035, allocations: 16.5 kB / 0.6242 GB, free: 5.027 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.5036, allocations: 0 / 0.6242 GB, free: 5.027 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.251e-05/0.5036, allocations: 11.91 kB / 0.6242 GB, free: 5.016 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.01686/0.5204, allocations: 6.898 MB / 0.6309 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.277e-06/0.5205, allocations: 5.312 kB / 0.6309 GB, free: 13.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000813/0.5213, allocations: 135.8 kB / 0.631 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006998/0.5283, allocations: 2.151 MB / 0.6331 GB, free: 11.69 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001526/0.5285, allocations: 27.98 kB / 0.6332 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02468/0.5532, allocations: 10.07 MB / 0.643 GB, free: 1.438 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.5532, allocations: 0 / 0.643 GB, free: 1.438 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01815/0.5714, allocations: 5.943 MB / 0.6488 GB, free: 11.47 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006506/0.5721, allocations: 274.8 kB / 0.6491 GB, free: 11.18 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005779/0.5727, allocations: 27.94 kB / 0.6491 GB, free: 11.15 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001968/0.5746, allocations: 135.8 kB / 0.6492 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009348/0.5756, allocations: 257.4 kB / 0.6495 GB, free: 10.76 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001954/0.5758, allocations: 35.98 kB / 0.6495 GB, free: 10.73 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001692/0.5775, allocations: 0.9543 MB / 0.6504 GB, free: 9.773 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5775, allocations: 0 / 0.6504 GB, free: 9.773 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001948/0.5795, allocations: 0.5307 MB / 0.651 GB, free: 9.242 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,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.01799/0.5975, allocations: 6.563 MB / 0.6574 GB, free: 2.641 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009336/0.6068, allocations: 2.93 MB / 0.6602 GB, free: 15.72 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.6069, allocations: 0.875 kB / 0.6602 GB, free: 15.72 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005971/0.6129, allocations: 1.931 MB / 0.6621 GB, free: 13.78 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001734/0.6146, allocations: 129.9 kB / 0.6622 GB, free: 13.65 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0478/0.6625, allocations: 20.73 MB / 0.6825 GB, free: 8.129 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001006/0.6635, allocations: 1.227 MB / 0.6837 GB, free: 6.871 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008556/0.6644, allocations: 137.4 kB / 0.6838 GB, free: 6.738 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001178/0.6656, allocations: 0.6092 MB / 0.6844 GB, free: 6.133 MB / 494.1 MB Notification: Performance of SimCode: time 1.773e-06/0.6656, allocations: 0 / 0.6844 GB, free: 6.133 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08403/0.7496, allocations: 42.2 MB / 0.7256 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000183/0.7499, allocations: 209.1 kB / 0.7258 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.833/3.583, allocations: 4 kB / 0.7258 GB, free: 12.01 MB / 0.5294 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_SCRX_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_SCRX.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe 2>&1)