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.001868/0.001868, 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.454/1.454, allocations: 222.9 MB / 238.9 MB, free: 4.742 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.001441/0.001442, allocations: 184.5 kB / 289.1 MB, free: 2.488 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.539/0.539, allocations: 92.61 MB / 431.9 MB, free: 8.742 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002302/0.002302, allocations: 79.88 kB / 0.502 GB, free: 7.34 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3571, allocations: 71.4 MB / 0.5718 GB, free: 36.45 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.006551/0.3637, allocations: 8.626 MB / 0.5802 GB, free: 31.03 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004311/0.368, allocations: 2.608 MB / 0.5827 GB, free: 29.2 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008108/0.3689, allocations: 15.28 kB / 0.5828 GB, free: 29.2 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000728/0.3696, allocations: 242.2 kB / 0.583 GB, free: 29.1 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002024/0.3717, allocations: 0.9953 MB / 0.584 GB, free: 28.46 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001167/0.3729, allocations: 0.6372 MB / 0.5846 GB, free: 28.13 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001529/0.3744, allocations: 2.074 MB / 0.5866 GB, free: 27.14 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004261/0.3748, allocations: 376.5 kB / 0.587 GB, free: 26.95 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007919/0.3756, allocations: 0.7901 MB / 0.5877 GB, free: 26.59 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009048/0.3765, allocations: 1.054 MB / 0.5888 GB, free: 26.12 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002312/0.3768, allocations: 110.8 kB / 0.5889 GB, free: 26.11 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006731/0.3775, allocations: 322.8 kB / 0.5892 GB, free: 26.05 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002885/0.3778, allocations: 384.2 kB / 0.5895 GB, free: 25.83 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005886/0.3784, allocations: 0.8327 MB / 0.5904 GB, free: 25.29 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001552/0.3799, allocations: 2.201 MB / 0.5925 GB, free: 24.34 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3799, allocations: 0 / 0.5925 GB, free: 24.34 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.61e-07/0.38, allocations: 0 / 0.5925 GB, free: 24.34 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.728e-05/0.38, allocations: 0 / 0.5925 GB, free: 24.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.01254/0.3925, allocations: 3.555 MB / 0.596 GB, free: 22.86 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.3926, allocations: 9.438 kB / 0.596 GB, free: 22.86 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004761/0.3974, allocations: 0.751 MB / 0.5967 GB, free: 22.69 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001865/0.3992, allocations: 1.111 MB / 0.5978 GB, free: 21.97 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003866/0.3996, allocations: 423.9 kB / 0.5982 GB, free: 21.58 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002073/0.3999, allocations: 113.1 kB / 0.5983 GB, free: 21.54 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002952/0.4028, allocations: 1.43 MB / 0.5997 GB, free: 21 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/0.4029, allocations: 4 kB / 0.5997 GB, free: 20.99 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001193/0.403, allocations: 41.06 kB / 0.5998 GB, free: 20.96 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.306e-05/0.403, allocations: 27.77 kB / 0.5998 GB, free: 20.96 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002991/0.406, allocations: 1.344 MB / 0.6011 GB, free: 20.5 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.009192/0.4152, allocations: 4.939 MB / 0.6059 GB, free: 17.65 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00829/0.4235, allocations: 2.894 MB / 0.6087 GB, free: 16.47 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002053/0.4256, allocations: 0.9157 MB / 0.6096 GB, free: 16.1 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001478/0.4258, allocations: 27.7 kB / 0.6097 GB, free: 16.09 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002307/0.4281, allocations: 1.062 MB / 0.6107 GB, free: 15.68 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 4.659e-06/0.4281, allocations: 0 / 0.6107 GB, free: 15.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.04141/0.4695, allocations: 9.8 MB / 0.6203 GB, free: 11.71 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.257e-05/0.4696, allocations: 120.8 kB / 0.6204 GB, free: 11.58 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002264/0.4719, allocations: 1.41 MB / 0.6218 GB, free: 10.19 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003914/0.4723, allocations: 53.7 kB / 0.6218 GB, free: 10.13 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004202/0.4727, allocations: 0.5963 MB / 0.6224 GB, free: 9.527 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006275/0.4734, allocations: 465.4 kB / 0.6228 GB, free: 9.066 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008523/0.4742, allocations: 335.5 kB / 0.6232 GB, free: 8.734 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.691e-05/0.4743, allocations: 301.1 kB / 0.6234 GB, free: 8.438 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001959/0.4762, allocations: 0.9722 MB / 0.6244 GB, free: 7.465 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002018/0.4783, allocations: 1.17 MB / 0.6255 GB, free: 6.246 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003789/0.4821, allocations: 2.077 MB / 0.6276 GB, free: 4.129 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.156e-06/0.4821, allocations: 7.875 kB / 0.6276 GB, free: 4.121 MB / 430.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.008369/0.4905, allocations: 3.711 MB / 0.6312 GB, free: 404 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.4905, allocations: 4 kB / 0.6312 GB, free: 400 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.4905, allocations: 7.938 kB / 0.6312 GB, free: 392 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01052/0.5011, allocations: 2.978 MB / 0.6341 GB, free: 13.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001495/0.5026, allocations: 275.6 kB / 0.6344 GB, free: 13.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007984/0.5106, allocations: 2.992 MB / 0.6373 GB, free: 10.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002702/0.5133, allocations: 250.3 kB / 0.6375 GB, free: 9.867 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002792/0.5136, allocations: 63.98 kB / 0.6376 GB, free: 9.805 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.0007929/0.5144, allocations: 302.3 kB / 0.6379 GB, free: 9.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005058/0.5149, allocations: 165.9 kB / 0.6381 GB, free: 9.336 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01761/0.5326, allocations: 4.823 MB / 0.6428 GB, free: 4.488 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.946e-05/0.5326, allocations: 12 kB / 0.6428 GB, free: 4.477 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.457e-06/0.5326, allocations: 0 / 0.6428 GB, free: 4.477 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-05/0.5327, allocations: 11.92 kB / 0.6428 GB, free: 4.465 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.02107/0.5538, allocations: 6.887 MB / 0.6495 GB, free: 13.44 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.015e-05/0.5538, allocations: 4.031 kB / 0.6495 GB, free: 13.44 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001116/0.5549, allocations: 147.7 kB / 0.6497 GB, free: 13.29 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008137/0.5631, allocations: 2.142 MB / 0.6517 GB, free: 11.14 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002915/0.5634, allocations: 27.98 kB / 0.6518 GB, free: 11.12 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02596/0.5894, allocations: 9.17 MB / 0.6607 GB, free: 1.805 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.5894, allocations: 4 kB / 0.6607 GB, free: 1.801 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0197/0.6091, allocations: 5.95 MB / 0.6665 GB, free: 11.82 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006884/0.6098, allocations: 270.8 kB / 0.6668 GB, free: 11.54 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003967/0.6103, allocations: 23.94 kB / 0.6668 GB, free: 11.51 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001739/0.612, allocations: 139.8 kB / 0.667 GB, free: 11.38 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000916/0.6129, allocations: 265.2 kB / 0.6672 GB, free: 11.11 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001276/0.6131, allocations: 35.98 kB / 0.6672 GB, free: 11.07 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001697/0.6148, allocations: 0.9503 MB / 0.6682 GB, free: 10.12 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.456e-06/0.6148, allocations: 112 / 0.6682 GB, free: 10.12 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001735/0.6165, allocations: 0.5306 MB / 0.6687 GB, free: 9.594 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.0003763/0.6169, allocations: 159.8 kB / 0.6688 GB, free: 9.43 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009156/0.6261, allocations: 2.852 MB / 0.6716 GB, free: 6.574 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.6261, allocations: 0 / 0.6716 GB, free: 6.574 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006353/0.6325, allocations: 1.892 MB / 0.6735 GB, free: 4.672 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001173/0.6337, allocations: 137.2 kB / 0.6736 GB, free: 4.539 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006753/0.6404, allocations: 3.582 MB / 0.6771 GB, free: 0.9336 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001021/0.6415, allocations: 1.227 MB / 0.6783 GB, free: 15.67 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006574/0.6421, allocations: 142 kB / 0.6784 GB, free: 15.53 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003963/0.6425, allocations: 83.42 kB / 0.6785 GB, free: 15.45 MB / 494.1 MB Notification: Performance of SimCode: time 5.21e-07/0.6426, allocations: 0 / 0.6785 GB, free: 15.45 MB / 494.1 MB Notification: Performance of Templates: time 0.04798/0.6905, allocations: 27.22 MB / 0.7051 GB, free: 4.254 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)