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.0009989/0.0009989, allocations: 100 kB / 15.05 MB, free: 1.105 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.408/1.408, allocations: 223.2 MB / 238.9 MB, free: 5.504 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.001402/0.001402, allocations: 181.1 kB / 290.2 MB, free: 2.195 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4938/0.4938, allocations: 78.53 MB / 419.8 MB, free: 4.367 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003759/0.0003759, allocations: 12 kB / 499.8 MB, free: 6.297 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1634, allocations: 69.36 MB / 0.5558 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.3188/0.4822, allocations: 7.215 MB / 0.5628 GB, free: 37.39 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005341/0.4877, allocations: 2.513 MB / 0.5653 GB, free: 37.05 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001614/0.4893, allocations: 14.72 kB / 0.5653 GB, free: 37.05 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008916/0.4902, allocations: 227.1 kB / 0.5655 GB, free: 36.97 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003106/0.4933, allocations: 1.061 MB / 0.5665 GB, free: 36.73 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.001451/0.4948, allocations: 0.5563 MB / 0.5671 GB, free: 36.68 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002537/0.4973, allocations: 1.442 MB / 0.5685 GB, free: 36.29 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005352/0.4979, allocations: 347.5 kB / 0.5688 GB, free: 36.15 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001023/0.4989, allocations: 0.7495 MB / 0.5696 GB, free: 35.82 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009882/0.4999, allocations: 0.9723 MB / 0.5705 GB, free: 35.41 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001742/0.5001, allocations: 88.62 kB / 0.5706 GB, free: 35.41 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006557/0.5008, allocations: 285.5 kB / 0.5709 GB, free: 35.36 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002738/0.501, allocations: 348.9 kB / 0.5712 GB, free: 35.17 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002518/0.5013, allocations: 292.5 kB / 0.5715 GB, free: 34.98 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001273/0.5026, allocations: 1.645 MB / 0.5731 GB, free: 34.53 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.5026, allocations: 0 / 0.5731 GB, free: 34.53 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.5026, allocations: 0 / 0.5731 GB, free: 34.53 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.311e-05/0.5026, allocations: 0.7812 kB / 0.5731 GB, free: 34.53 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.0123/0.5149, allocations: 3.565 MB / 0.5766 GB, free: 33.25 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/0.515, allocations: 12.91 kB / 0.5766 GB, free: 33.25 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005596/0.5156, allocations: 157.8 kB / 0.5767 GB, free: 33.14 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004711/0.5203, allocations: 0.7558 MB / 0.5775 GB, free: 32.98 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002159/0.5225, allocations: 1.06 MB / 0.5785 GB, free: 32.31 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003669/0.5229, allocations: 442 kB / 0.5789 GB, free: 31.92 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000187/0.5231, allocations: 114.5 kB / 0.579 GB, free: 31.88 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002607/0.5257, allocations: 1.495 MB / 0.5805 GB, free: 31.32 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/0.5257, allocations: 0 / 0.5805 GB, free: 31.32 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001181/0.5258, allocations: 42.56 kB / 0.5805 GB, free: 31.29 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.664e-05/0.5259, allocations: 21.09 kB / 0.5805 GB, free: 31.29 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002664/0.5285, allocations: 1.431 MB / 0.5819 GB, free: 30.83 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.008694/0.5372, allocations: 5.136 MB / 0.587 GB, free: 27.85 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00915/0.5464, allocations: 3.455 MB / 0.5903 GB, free: 26.61 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002253/0.5467, allocations: 25.09 kB / 0.5904 GB, free: 26.6 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002455/0.5491, allocations: 1.131 MB / 0.5915 GB, free: 26.19 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 3.086e-06/0.5491, allocations: 0 / 0.5915 GB, free: 26.19 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.04418/0.5933, allocations: 11.91 MB / 0.6031 GB, free: 24.32 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.638e-05/0.5934, allocations: 117.9 kB / 0.6032 GB, free: 24.19 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002748/0.5962, allocations: 1.401 MB / 0.6046 GB, free: 23.62 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004142/0.5966, allocations: 51.48 kB / 0.6046 GB, free: 23.57 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004732/0.5971, allocations: 0.6013 MB / 0.6052 GB, free: 23.09 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000538/0.5976, allocations: 462.8 kB / 0.6056 GB, free: 22.73 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/0.5978, allocations: 40.09 kB / 0.6057 GB, free: 22.7 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.5979, allocations: 370.9 kB / 0.606 GB, free: 22.37 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002377/0.6003, allocations: 1.05 MB / 0.6071 GB, free: 22 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002533/0.6028, allocations: 1.238 MB / 0.6083 GB, free: 21.46 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002474/0.6053, allocations: 1.125 MB / 0.6094 GB, free: 20.98 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.6053, allocations: 0 / 0.6094 GB, free: 20.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.01007/0.6154, allocations: 4.138 MB / 0.6134 GB, free: 18.82 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.957e-05/0.6155, allocations: 7.984 kB / 0.6134 GB, free: 18.81 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/0.6155, allocations: 4.656 kB / 0.6134 GB, free: 18.81 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009215/0.6247, allocations: 3.353 MB / 0.6167 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001434/0.6262, allocations: 271.6 kB / 0.617 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006732/0.6329, allocations: 3.309 MB / 0.6202 GB, free: 11.85 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002642/0.6356, allocations: 294.3 kB / 0.6205 GB, free: 11.56 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000163/0.6358, allocations: 67.97 kB / 0.6205 GB, free: 11.5 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 ($whenCondition1,$whenCondition2) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {34 42} Notification: Performance of prepare postOptimizeDAE: time 0.0006529/0.6364, allocations: 290.2 kB / 0.6208 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002822/0.6367, allocations: 165.9 kB / 0.621 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01525/0.652, allocations: 5.858 MB / 0.6267 GB, free: 5.16 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.3e-05/0.652, allocations: 16 kB / 0.6267 GB, free: 5.145 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/0.6521, allocations: 0 / 0.6267 GB, free: 5.145 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-05/0.6521, allocations: 7.969 kB / 0.6267 GB, free: 5.137 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.01897/0.6711, allocations: 7.985 MB / 0.6345 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.504e-05/0.6711, allocations: 1.969 kB / 0.6345 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009657/0.6721, allocations: 139.8 kB / 0.6346 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007802/0.6799, allocations: 2.515 MB / 0.6371 GB, free: 10.35 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002991/0.6802, allocations: 28.55 kB / 0.6371 GB, free: 10.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02566/0.7059, allocations: 10.89 MB / 0.6478 GB, free: 15.28 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.706, allocations: 0 / 0.6478 GB, free: 15.28 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01973/0.7257, allocations: 7.092 MB / 0.6547 GB, free: 8.148 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000984/0.7267, allocations: 282.6 kB / 0.655 GB, free: 7.852 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003857/0.7271, allocations: 23.95 kB / 0.655 GB, free: 7.828 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001673/0.7288, allocations: 184.3 kB / 0.6552 GB, free: 7.648 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008817/0.7297, allocations: 257.3 kB / 0.6554 GB, free: 7.395 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001048/0.7298, allocations: 35.98 kB / 0.6554 GB, free: 7.359 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001616/0.7314, allocations: 0.9425 MB / 0.6564 GB, free: 6.418 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.7314, allocations: 0 / 0.6564 GB, free: 6.418 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001966/0.7334, allocations: 0.5268 MB / 0.6569 GB, free: 5.891 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.02012/0.7536, allocations: 7.821 MB / 0.6645 GB, free: 14.02 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009223/0.7628, allocations: 3.202 MB / 0.6676 GB, free: 10.84 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.7629, allocations: 4.125 kB / 0.6676 GB, free: 10.83 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006303/0.7692, allocations: 2.166 MB / 0.6698 GB, free: 8.652 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001258/0.7705, allocations: 119.8 kB / 0.6699 GB, free: 8.535 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008131/0.7786, allocations: 6.362 MB / 0.6761 GB, free: 2.129 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007211/0.7794, allocations: 1.258 MB / 0.6773 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005625/0.7799, allocations: 140.3 kB / 0.6774 GB, free: 0.707 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00078/0.7807, allocations: 0.5969 MB / 0.678 GB, free: 112 kB / 478.1 MB Notification: Performance of SimCode: time 9.62e-07/0.7807, allocations: 0 / 0.678 GB, free: 112 kB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06378/0.8445, allocations: 38.24 MB / 0.7154 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001737/0.8447, allocations: 188.6 kB / 0.7156 GB, free: 9.93 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.708/3.553, allocations: 0 / 0.7156 GB, free: 9.93 MB / 0.5137 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/linux/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) Environment - environmentSimulation: