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: translateModel(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.375/1.375, allocations: 222.9 MB / 238.8 MB, free: 4.676 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.001326/0.001326, allocations: 192.3 kB / 289.1 MB, free: 2.434 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5017/0.5017, allocations: 91.9 MB / 431.2 MB, free: 9.457 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 75.88 kB / 0.5012 GB, free: 8.164 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3695/0.3709, allocations: 71.26 MB / 0.5708 GB, free: 36.3 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.007484/0.3785, allocations: 8.622 MB / 0.5792 GB, free: 31.18 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005007/0.3835, allocations: 2.611 MB / 0.5818 GB, free: 29.35 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001326/0.3849, allocations: 15.09 kB / 0.5818 GB, free: 29.35 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009249/0.3858, allocations: 249.7 kB / 0.582 GB, free: 29.25 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002457/0.3883, allocations: 0.9945 MB / 0.583 GB, free: 28.61 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001268/0.3896, allocations: 0.6306 MB / 0.5836 GB, free: 28.28 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001854/0.3915, allocations: 2.081 MB / 0.5856 GB, free: 27.29 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000475/0.392, allocations: 375.5 kB / 0.586 GB, free: 27.09 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009919/0.393, allocations: 0.7963 MB / 0.5868 GB, free: 26.74 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009548/0.3939, allocations: 1.053 MB / 0.5878 GB, free: 26.27 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002363/0.3942, allocations: 105.3 kB / 0.5879 GB, free: 26.27 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006509/0.3948, allocations: 331.5 kB / 0.5882 GB, free: 26.19 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002814/0.3951, allocations: 386.9 kB / 0.5886 GB, free: 25.97 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006161/0.3958, allocations: 0.8289 MB / 0.5894 GB, free: 25.44 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00166/0.3974, allocations: 2.19 MB / 0.5915 GB, free: 24.5 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.136e-05/0.3975, allocations: 3.906 kB / 0.5915 GB, free: 24.5 MB / 430.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.3975, allocations: 0 / 0.5915 GB, free: 24.5 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.892e-05/0.3975, allocations: 0 / 0.5915 GB, free: 24.5 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.01245/0.41, allocations: 3.553 MB / 0.595 GB, free: 23.01 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.41, allocations: 8.594 kB / 0.595 GB, free: 23.01 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004792/0.4148, allocations: 0.7525 MB / 0.5958 GB, free: 22.84 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001994/0.4169, allocations: 1.11 MB / 0.5968 GB, free: 22.12 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003755/0.4172, allocations: 427.4 kB / 0.5972 GB, free: 21.73 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002408/0.4175, allocations: 116.2 kB / 0.5974 GB, free: 21.69 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003188/0.4207, allocations: 1.426 MB / 0.5988 GB, free: 21.14 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.71e-05/0.4208, allocations: 0 / 0.5988 GB, free: 21.14 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001233/0.4209, allocations: 46.03 kB / 0.5988 GB, free: 21.11 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.794e-05/0.4209, allocations: 23.19 kB / 0.5988 GB, free: 21.11 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003062/0.424, allocations: 1.351 MB / 0.6001 GB, free: 20.65 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.009727/0.4337, allocations: 4.932 MB / 0.605 GB, free: 17.8 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007974/0.4417, allocations: 2.895 MB / 0.6078 GB, free: 16.62 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001994/0.4438, allocations: 0.9147 MB / 0.6087 GB, free: 16.25 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001544/0.4439, allocations: 32 kB / 0.6087 GB, free: 16.24 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002223/0.4462, allocations: 1.053 MB / 0.6097 GB, free: 15.84 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 3.046e-06/0.4462, allocations: 4 kB / 0.6097 GB, free: 15.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.03934/0.4855, allocations: 9.81 MB / 0.6193 GB, free: 12.38 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/0.4856, allocations: 116.2 kB / 0.6194 GB, free: 12.25 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002198/0.4878, allocations: 1.41 MB / 0.6208 GB, free: 11.1 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003442/0.4882, allocations: 53.7 kB / 0.6209 GB, free: 11.04 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003276/0.4885, allocations: 0.5924 MB / 0.6214 GB, free: 10.44 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004576/0.489, allocations: 465.4 kB / 0.6219 GB, free: 9.98 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006264/0.4896, allocations: 339.5 kB / 0.6222 GB, free: 9.645 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.11e-05/0.4897, allocations: 305.1 kB / 0.6225 GB, free: 9.344 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001806/0.4915, allocations: 0.9683 MB / 0.6234 GB, free: 8.375 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001889/0.4934, allocations: 1.178 MB / 0.6246 GB, free: 7.148 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003508/0.4969, allocations: 2.077 MB / 0.6266 GB, free: 5.031 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/0.4969, allocations: 3.938 kB / 0.6266 GB, free: 5.027 MB / 430.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.007885/0.5048, allocations: 3.715 MB / 0.6302 GB, free: 1.297 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.5049, allocations: 4 kB / 0.6303 GB, free: 1.293 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.5049, allocations: 4 kB / 0.6303 GB, free: 1.289 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009195/0.5141, allocations: 2.974 MB / 0.6332 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001427/0.5155, allocations: 271.6 kB / 0.6334 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007205/0.5228, allocations: 2.992 MB / 0.6363 GB, free: 11.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00269/0.5255, allocations: 250.3 kB / 0.6366 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000195/0.5257, allocations: 63.98 kB / 0.6366 GB, free: 10.72 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.0007211/0.5264, allocations: 305.5 kB / 0.6369 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003675/0.5268, allocations: 165.9 kB / 0.6371 GB, free: 10.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01564/0.5424, allocations: 4.815 MB / 0.6418 GB, free: 5.406 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.017e-05/0.5425, allocations: 12 kB / 0.6418 GB, free: 5.395 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.357e-06/0.5425, allocations: 4 kB / 0.6418 GB, free: 5.391 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-05/0.5426, allocations: 15.91 kB / 0.6418 GB, free: 5.375 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.01918/0.5617, allocations: 6.891 MB / 0.6486 GB, free: 14.35 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.435e-05/0.5618, allocations: 0 / 0.6486 GB, free: 14.35 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001044/0.5629, allocations: 147.8 kB / 0.6487 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00761/0.5705, allocations: 2.138 MB / 0.6508 GB, free: 12.06 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003723/0.5709, allocations: 27.98 kB / 0.6508 GB, free: 12.03 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0242/0.5951, allocations: 9.171 MB / 0.6598 GB, free: 2.715 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.5952, allocations: 0 / 0.6598 GB, free: 2.715 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01924/0.6144, allocations: 5.958 MB / 0.6656 GB, free: 12.73 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007813/0.6152, allocations: 274.7 kB / 0.6658 GB, free: 12.44 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003498/0.6156, allocations: 20 kB / 0.6659 GB, free: 12.42 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001695/0.6173, allocations: 139.8 kB / 0.666 GB, free: 12.28 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009408/0.6183, allocations: 257.2 kB / 0.6662 GB, free: 12.02 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001074/0.6184, allocations: 35.98 kB / 0.6663 GB, free: 11.99 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001534/0.6199, allocations: 0.9542 MB / 0.6672 GB, free: 11.04 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.6199, allocations: 0 / 0.6672 GB, free: 11.04 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001879/0.6218, allocations: 0.5268 MB / 0.6677 GB, free: 10.51 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.0004223/0.6222, allocations: 159.8 kB / 0.6679 GB, free: 10.34 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008961/0.6312, allocations: 2.86 MB / 0.6707 GB, free: 7.48 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.897e-06/0.6313, allocations: 0 / 0.6707 GB, free: 7.48 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006218/0.6375, allocations: 1.886 MB / 0.6725 GB, free: 5.582 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001543/0.6391, allocations: 137.3 kB / 0.6726 GB, free: 5.449 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006351/0.6455, allocations: 3.585 MB / 0.6761 GB, free: 1.84 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000809/0.6463, allocations: 1.231 MB / 0.6773 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007051/0.647, allocations: 130 kB / 0.6775 GB, free: 456 kB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003628/0.6474, allocations: 87.41 kB / 0.6776 GB, free: 368 kB / 478.1 MB Notification: Performance of SimCode: time 1.052e-06/0.6474, allocations: 4 kB / 0.6776 GB, free: 364 kB / 478.1 MB Notification: Performance of Templates: time 0.04312/0.6905, allocations: 27.21 MB / 0.7041 GB, free: 5.168 MB / 0.4981 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.makefile (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 & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe 2>&1)