Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.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.TG.TGOV1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 222.9 MB / 239.2 MB, free: 4.594 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.001323/0.001323, allocations: 188.5 kB / 289.5 MB, free: 2.316 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5183/0.5183, allocations: 91.89 MB / 431.6 MB, free: 9.277 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 83.88 kB / 0.5019 GB, free: 7.734 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3079, allocations: 71.25 MB / 0.5715 GB, free: 37.23 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1): time 0.006545/0.3145, allocations: 7.986 MB / 0.5793 GB, free: 32.17 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004723/0.3192, allocations: 2.508 MB / 0.5817 GB, free: 30.4 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001086/0.3204, allocations: 14.22 kB / 0.5817 GB, free: 30.4 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009274/0.3213, allocations: 313.2 kB / 0.582 GB, free: 30.24 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002044/0.3234, allocations: 0.993 MB / 0.583 GB, free: 29.59 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001374/0.3248, allocations: 0.7502 MB / 0.5837 GB, free: 29.21 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00187/0.3267, allocations: 2.115 MB / 0.5858 GB, free: 28.18 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005445/0.3272, allocations: 382.9 kB / 0.5862 GB, free: 28 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007496/0.328, allocations: 0.8405 MB / 0.587 GB, free: 27.58 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009442/0.329, allocations: 1.096 MB / 0.5881 GB, free: 27.06 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003249/0.3293, allocations: 173.8 kB / 0.5882 GB, free: 27.06 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006612/0.33, allocations: 348.9 kB / 0.5885 GB, free: 27 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003162/0.3303, allocations: 446.5 kB / 0.589 GB, free: 26.72 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000676/0.331, allocations: 0.8679 MB / 0.5898 GB, free: 26.13 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00183/0.3328, allocations: 2.145 MB / 0.5919 GB, free: 25.19 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.3328, allocations: 0.7188 kB / 0.5919 GB, free: 25.19 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3328, allocations: 0 / 0.5919 GB, free: 25.19 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.774e-05/0.3329, allocations: 5.625 kB / 0.5919 GB, free: 25.18 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.01224/0.3451, allocations: 3.507 MB / 0.5953 GB, free: 23.74 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.594e-05/0.3452, allocations: 9.156 kB / 0.5954 GB, free: 23.74 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004568/0.3498, allocations: 0.7392 MB / 0.5961 GB, free: 23.57 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002042/0.3518, allocations: 1.098 MB / 0.5972 GB, free: 22.86 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003938/0.3522, allocations: 416.5 kB / 0.5975 GB, free: 22.48 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002171/0.3525, allocations: 110.2 kB / 0.5977 GB, free: 22.44 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002723/0.3552, allocations: 1.368 MB / 0.599 GB, free: 21.92 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.051e-05/0.3552, allocations: 1.312 kB / 0.599 GB, free: 21.92 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001153/0.3553, allocations: 35.03 kB / 0.599 GB, free: 21.89 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.999e-05/0.3554, allocations: 22.12 kB / 0.599 GB, free: 21.89 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002844/0.3582, allocations: 1.3 MB / 0.6003 GB, free: 21.45 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.00848/0.3667, allocations: 4.671 MB / 0.6049 GB, free: 18.75 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007993/0.3747, allocations: 2.89 MB / 0.6077 GB, free: 17.57 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001807/0.3766, allocations: 0.9021 MB / 0.6086 GB, free: 17.21 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000115/0.3767, allocations: 25.19 kB / 0.6086 GB, free: 17.2 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002043/0.3787, allocations: 1.039 MB / 0.6096 GB, free: 16.81 MB / 430.1 MB Notification: Performance of pre-optimization done (n=124): time 3.657e-06/0.3788, allocations: 4 kB / 0.6096 GB, free: 16.81 MB / 430.1 MB Notification: Performance of matching and sorting (n=124): time 0.04081/0.4196, allocations: 9.906 MB / 0.6193 GB, free: 13.12 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.792e-05/0.4197, allocations: 124.8 kB / 0.6194 GB, free: 12.98 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001902/0.4216, allocations: 1.346 MB / 0.6207 GB, free: 11.81 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003178/0.4219, allocations: 49.7 kB / 0.6208 GB, free: 11.76 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003022/0.4222, allocations: 0.5725 MB / 0.6213 GB, free: 11.18 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003846/0.4226, allocations: 449.6 kB / 0.6218 GB, free: 10.73 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000505/0.4231, allocations: 327.4 kB / 0.6221 GB, free: 10.41 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.447e-05/0.4232, allocations: 305.1 kB / 0.6224 GB, free: 10.11 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00178/0.4249, allocations: 0.9526 MB / 0.6233 GB, free: 9.156 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001862/0.4268, allocations: 1.158 MB / 0.6244 GB, free: 7.949 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003528/0.4303, allocations: 2.05 MB / 0.6264 GB, free: 5.859 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.032e-06/0.4304, allocations: 0 / 0.6264 GB, free: 5.859 MB / 430.1 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.008914/0.4393, allocations: 3.827 MB / 0.6302 GB, free: 2.02 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.4393, allocations: 10.02 kB / 0.6302 GB, free: 2.012 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.4393, allocations: 7.938 kB / 0.6302 GB, free: 2.004 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008606/0.448, allocations: 2.683 MB / 0.6328 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00155/0.4495, allocations: 295.6 kB / 0.6331 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006268/0.4558, allocations: 2.688 MB / 0.6357 GB, free: 12.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002374/0.4582, allocations: 254.3 kB / 0.636 GB, free: 12.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001547/0.4584, allocations: 59.98 kB / 0.636 GB, free: 12 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 (174): * Single equations (assignments): 173 * 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 {(30,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0005661/0.459, allocations: 290.5 kB / 0.6363 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002765/0.4592, allocations: 154.1 kB / 0.6364 GB, free: 11.56 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01561/0.4749, allocations: 4.759 MB / 0.6411 GB, free: 6.766 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.6e-05/0.4749, allocations: 16 kB / 0.6411 GB, free: 6.75 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.4749, allocations: 0 / 0.6411 GB, free: 6.75 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.301e-05/0.4749, allocations: 3.984 kB / 0.6411 GB, free: 6.746 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.01852/0.4935, allocations: 6.864 MB / 0.6478 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.171e-05/0.4935, allocations: 0 / 0.6478 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008665/0.4944, allocations: 147.7 kB / 0.6479 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007513/0.5019, allocations: 2.146 MB / 0.65 GB, free: 13.44 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001938/0.5021, allocations: 28 kB / 0.6501 GB, free: 13.41 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02493/0.5271, allocations: 10.08 MB / 0.6599 GB, free: 3.191 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/0.5271, allocations: 4 kB / 0.6599 GB, free: 3.188 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0178/0.5449, allocations: 5.917 MB / 0.6657 GB, free: 13.23 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006131/0.5455, allocations: 270.8 kB / 0.6659 GB, free: 12.95 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002433/0.5458, allocations: 28 kB / 0.666 GB, free: 12.92 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0015/0.5473, allocations: 135.8 kB / 0.6661 GB, free: 12.79 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007623/0.5481, allocations: 253.3 kB / 0.6663 GB, free: 12.54 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-05/0.5482, allocations: 35.98 kB / 0.6664 GB, free: 12.51 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001332/0.5495, allocations: 0.925 MB / 0.6673 GB, free: 11.58 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.5495, allocations: 0 / 0.6673 GB, free: 11.58 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001352/0.5509, allocations: 0.5034 MB / 0.6678 GB, free: 11.08 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,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,tGOV1.imLeadLag.TF.x_scaled[1],tGOV1.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 (81): * Single equations (assignments): 80 * 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.0003207/0.5512, allocations: 143.1 kB / 0.6679 GB, free: 10.93 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009102/0.5603, allocations: 2.86 MB / 0.6707 GB, free: 8.066 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.032e-06/0.5604, allocations: 0 / 0.6707 GB, free: 8.066 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006188/0.5666, allocations: 1.923 MB / 0.6726 GB, free: 6.125 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00136/0.568, allocations: 129 kB / 0.6727 GB, free: 6 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005576/0.5735, allocations: 2.953 MB / 0.6756 GB, free: 3.02 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008306/0.5744, allocations: 1.207 MB / 0.6768 GB, free: 1.781 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006588/0.5751, allocations: 141.7 kB / 0.6769 GB, free: 1.641 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003202/0.5754, allocations: 95.53 kB / 0.677 GB, free: 1.547 MB / 478.1 MB Notification: Performance of SimCode: time 6.61e-07/0.5754, allocations: 7.875 kB / 0.677 GB, free: 1.539 MB / 478.1 MB Notification: Performance of Templates: time 0.04363/0.619, allocations: 29.11 MB / 0.7054 GB, free: 4.438 MB / 0.4981 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe 2>&1)