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.0009636/0.0009638, allocations: 100.9 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.326/1.326, allocations: 223.2 MB / 238.9 MB, free: 5.492 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.001424/0.001423, allocations: 185.1 kB / 290.2 MB, free: 2.18 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.518/0.518, allocations: 79.45 MB / 420.7 MB, free: 3.996 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003798/0.0003799, allocations: 16 kB / 0.4891 GB, free: 5.508 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4198/0.4202, allocations: 69.51 MB / 0.557 GB, free: 37.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.006786/0.427, allocations: 7.229 MB / 0.564 GB, free: 37.14 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005085/0.4322, allocations: 2.523 MB / 0.5665 GB, free: 36.71 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00132/0.4335, allocations: 16.25 kB / 0.5665 GB, free: 36.71 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008669/0.4344, allocations: 218.2 kB / 0.5667 GB, free: 36.62 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002676/0.4371, allocations: 0.9749 MB / 0.5677 GB, free: 36.07 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001485/0.4386, allocations: 0.5677 MB / 0.5682 GB, free: 35.82 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002331/0.4409, allocations: 1.339 MB / 0.5695 GB, free: 35.1 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005531/0.4415, allocations: 351.3 kB / 0.5699 GB, free: 34.96 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001142/0.4426, allocations: 0.738 MB / 0.5706 GB, free: 34.64 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001154/0.4438, allocations: 0.9709 MB / 0.5715 GB, free: 34.23 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002232/0.444, allocations: 89.88 kB / 0.5716 GB, free: 34.23 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00072/0.4448, allocations: 289 kB / 0.5719 GB, free: 34.17 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002781/0.4451, allocations: 349 kB / 0.5722 GB, free: 33.98 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002824/0.4454, allocations: 287.7 kB / 0.5725 GB, free: 33.8 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00144/0.4468, allocations: 1.648 MB / 0.5741 GB, free: 33.34 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.4468, allocations: 0 / 0.5741 GB, free: 33.34 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.4468, allocations: 0 / 0.5741 GB, free: 33.34 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.943e-05/0.4469, allocations: 1.219 kB / 0.5741 GB, free: 33.34 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.0115/0.4584, allocations: 3.345 MB / 0.5774 GB, free: 32.1 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.4584, allocations: 11.16 kB / 0.5774 GB, free: 32.1 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004946/0.4589, allocations: 155.5 kB / 0.5775 GB, free: 32 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004855/0.4638, allocations: 0.7592 MB / 0.5783 GB, free: 31.83 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002281/0.4661, allocations: 1.063 MB / 0.5793 GB, free: 31.16 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004157/0.4665, allocations: 439.6 kB / 0.5797 GB, free: 30.77 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000253/0.4668, allocations: 108.7 kB / 0.5798 GB, free: 30.73 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002794/0.4696, allocations: 1.501 MB / 0.5813 GB, free: 30.17 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.4697, allocations: 3.406 kB / 0.5813 GB, free: 30.17 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000119/0.4698, allocations: 39.44 kB / 0.5813 GB, free: 30.14 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.96e-05/0.4698, allocations: 24 kB / 0.5814 GB, free: 30.14 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002825/0.4726, allocations: 1.434 MB / 0.5828 GB, free: 29.68 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.009373/0.482, allocations: 5.132 MB / 0.5878 GB, free: 26.7 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009392/0.4915, allocations: 3.463 MB / 0.5912 GB, free: 25.46 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002855/0.4918, allocations: 25.3 kB / 0.5912 GB, free: 25.45 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002581/0.4944, allocations: 1.137 MB / 0.5923 GB, free: 25.03 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 3.957e-06/0.4944, allocations: 0 / 0.5923 GB, free: 25.03 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.04538/0.5398, allocations: 11.9 MB / 0.6039 GB, free: 23.16 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.612e-05/0.5399, allocations: 116.7 kB / 0.604 GB, free: 23.04 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002595/0.5425, allocations: 1.402 MB / 0.6054 GB, free: 22.47 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003933/0.5429, allocations: 50.8 kB / 0.6055 GB, free: 22.42 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004427/0.5434, allocations: 0.607 MB / 0.606 GB, free: 21.94 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006065/0.544, allocations: 463 kB / 0.6065 GB, free: 21.57 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000135/0.5441, allocations: 36.69 kB / 0.6065 GB, free: 21.55 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.5443, allocations: 375.8 kB / 0.6069 GB, free: 21.21 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002375/0.5466, allocations: 1.045 MB / 0.6079 GB, free: 20.84 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002571/0.5492, allocations: 1.242 MB / 0.6091 GB, free: 20.3 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002654/0.5519, allocations: 1.124 MB / 0.6102 GB, free: 19.83 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.687e-05/0.5519, allocations: 1.891 kB / 0.6102 GB, free: 19.83 MB / 430.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.01105/0.563, allocations: 4.133 MB / 0.6142 GB, free: 17.89 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.685e-05/0.5631, allocations: 11.98 kB / 0.6143 GB, free: 17.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.05e-05/0.5631, allocations: 7.953 kB / 0.6143 GB, free: 17.87 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009723/0.5728, allocations: 3.36 MB / 0.6175 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001564/0.5744, allocations: 268.2 kB / 0.6178 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007051/0.5815, allocations: 3.312 MB / 0.621 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003104/0.5847, allocations: 294.2 kB / 0.6213 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002289/0.5849, allocations: 67.97 kB / 0.6214 GB, free: 10.55 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.0007811/0.5857, allocations: 301.5 kB / 0.6217 GB, free: 10.25 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003874/0.5861, allocations: 158.8 kB / 0.6218 GB, free: 10.09 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01597/0.6021, allocations: 5.857 MB / 0.6275 GB, free: 4.215 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.521e-05/0.6021, allocations: 16.61 kB / 0.6276 GB, free: 4.199 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/0.6021, allocations: 0.5625 kB / 0.6276 GB, free: 4.199 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.645e-05/0.6022, allocations: 7.969 kB / 0.6276 GB, free: 4.191 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.02012/0.6223, allocations: 7.992 MB / 0.6354 GB, free: 12.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.875e-05/0.6224, allocations: 5.594 kB / 0.6354 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001015/0.6234, allocations: 148.4 kB / 0.6355 GB, free: 11.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008032/0.6314, allocations: 2.511 MB / 0.638 GB, free: 9.383 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003128/0.6318, allocations: 28 kB / 0.638 GB, free: 9.355 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02627/0.6581, allocations: 10.88 MB / 0.6486 GB, free: 14.34 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.6581, allocations: 0 / 0.6486 GB, free: 14.34 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02047/0.6786, allocations: 7.088 MB / 0.6555 GB, free: 7.203 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007501/0.6794, allocations: 282.6 kB / 0.6558 GB, free: 6.906 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006281/0.68, allocations: 33.11 kB / 0.6558 GB, free: 6.875 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002108/0.6821, allocations: 179.8 kB / 0.656 GB, free: 6.699 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009889/0.6831, allocations: 257.3 kB / 0.6563 GB, free: 6.445 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002057/0.6834, allocations: 36.55 kB / 0.6563 GB, free: 6.41 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001873/0.6853, allocations: 0.9425 MB / 0.6572 GB, free: 5.469 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6853, allocations: 4 kB / 0.6572 GB, free: 5.465 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002348/0.6876, allocations: 0.5307 MB / 0.6577 GB, free: 4.934 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.02109/0.7087, allocations: 7.828 MB / 0.6654 GB, free: 13.06 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01009/0.7189, allocations: 3.208 MB / 0.6685 GB, free: 9.863 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/0.7189, allocations: 0.875 kB / 0.6685 GB, free: 9.863 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007066/0.726, allocations: 2.162 MB / 0.6706 GB, free: 7.688 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001522/0.7276, allocations: 121.2 kB / 0.6707 GB, free: 7.566 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01004/0.7376, allocations: 6.364 MB / 0.677 GB, free: 1.156 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009839/0.7387, allocations: 1.258 MB / 0.6782 GB, free: 15.87 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008757/0.7396, allocations: 143.7 kB / 0.6783 GB, free: 15.73 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001106/0.7407, allocations: 0.6021 MB / 0.6789 GB, free: 15.13 MB / 494.1 MB Notification: Performance of SimCode: time 1.122e-06/0.7407, allocations: 0 / 0.6789 GB, free: 15.13 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08612/0.8268, allocations: 38.3 MB / 0.7163 GB, free: 9.172 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002006/0.8271, allocations: 189.5 kB / 0.7165 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.913/3.74, allocations: 0 / 0.7165 GB, free: 8.934 MB / 0.5137 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/linux/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) Environment - environmentSimulation: