Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test.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.CGMES.TG.GovHydroIEEE0_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test") translateModel(OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.286/1.286, allocations: 223.3 MB / 239 MB, free: 5.602 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.000949/0.0009489, allocations: 179.5 kB / 290.3 MB, free: 2.293 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4806/0.4806, allocations: 91.92 MB / 433.3 MB, free: 10.37 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000335/0.000335, allocations: 8 kB / 0.5042 GB, free: 7.648 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3512/0.3515, allocations: 72.47 MB / 0.5749 GB, free: 36.56 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test): time 0.008065/0.3596, allocations: 7.346 MB / 0.5821 GB, free: 31.77 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00604/0.3657, allocations: 2.542 MB / 0.5846 GB, free: 29.98 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001325/0.3671, allocations: 14.28 kB / 0.5846 GB, free: 29.98 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009681/0.3681, allocations: 240.3 kB / 0.5848 GB, free: 29.88 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003079/0.3712, allocations: 0.9366 MB / 0.5858 GB, free: 29.28 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001919/0.3731, allocations: 0.6157 MB / 0.5864 GB, free: 28.99 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002477/0.3756, allocations: 1.992 MB / 0.5883 GB, free: 28.01 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005844/0.3762, allocations: 302.7 kB / 0.5886 GB, free: 27.88 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00108/0.3773, allocations: 0.7867 MB / 0.5894 GB, free: 27.56 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001437/0.3787, allocations: 1.003 MB / 0.5903 GB, free: 27.15 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003276/0.3791, allocations: 88.91 kB / 0.5904 GB, free: 27.15 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000871/0.38, allocations: 314.7 kB / 0.5907 GB, free: 27.08 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003967/0.3804, allocations: 360.5 kB / 0.5911 GB, free: 26.89 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004035/0.3808, allocations: 285.3 kB / 0.5913 GB, free: 26.71 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001905/0.3827, allocations: 1.67 MB / 0.593 GB, free: 26.23 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.3827, allocations: 1.219 kB / 0.593 GB, free: 26.23 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3828, allocations: 0 / 0.593 GB, free: 26.23 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.909e-05/0.3828, allocations: 0 / 0.593 GB, free: 26.23 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.01712/0.3999, allocations: 3.4 MB / 0.5963 GB, free: 24.94 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.4, allocations: 9.844 kB / 0.5963 GB, free: 24.94 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007756/0.4078, allocations: 0.7516 MB / 0.597 GB, free: 24.77 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003219/0.411, allocations: 1.135 MB / 0.5981 GB, free: 24.1 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004656/0.4115, allocations: 398 kB / 0.5985 GB, free: 23.75 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002922/0.4118, allocations: 114.6 kB / 0.5986 GB, free: 23.7 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004258/0.4161, allocations: 1.472 MB / 0.6001 GB, free: 23.16 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.841e-05/0.4161, allocations: 0.6094 kB / 0.6001 GB, free: 23.16 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001625/0.4163, allocations: 44.11 kB / 0.6001 GB, free: 23.12 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.166e-05/0.4163, allocations: 21.34 kB / 0.6001 GB, free: 23.12 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004406/0.4207, allocations: 1.461 MB / 0.6016 GB, free: 22.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.01154/0.4323, allocations: 4.899 MB / 0.6063 GB, free: 19.86 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0129/0.4452, allocations: 3.506 MB / 0.6098 GB, free: 18.62 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003063/0.4483, allocations: 1.005 MB / 0.6107 GB, free: 18.25 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001975/0.4486, allocations: 32.12 kB / 0.6108 GB, free: 18.24 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.4486, allocations: 45.09 kB / 0.6108 GB, free: 18.19 MB / 430.1 MB Notification: Performance of pre-optimization done (n=123): time 4.378e-06/0.4486, allocations: 0 / 0.6108 GB, free: 18.19 MB / 430.1 MB Notification: Performance of matching and sorting (n=123): time 0.04197/0.4906, allocations: 12.05 MB / 0.6226 GB, free: 12.55 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/0.4907, allocations: 119.8 kB / 0.6227 GB, free: 12.41 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002049/0.4927, allocations: 1.446 MB / 0.6241 GB, free: 10.96 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002678/0.493, allocations: 57.64 kB / 0.6242 GB, free: 10.89 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003296/0.4933, allocations: 0.6003 MB / 0.6248 GB, free: 10.29 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003628/0.4937, allocations: 453.5 kB / 0.6252 GB, free: 9.84 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.4938, allocations: 32 kB / 0.6252 GB, free: 9.809 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.611e-05/0.4939, allocations: 373.9 kB / 0.6256 GB, free: 9.438 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001791/0.4957, allocations: 1.035 MB / 0.6266 GB, free: 8.402 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001866/0.4976, allocations: 1.234 MB / 0.6278 GB, free: 7.121 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001898/0.4995, allocations: 1.127 MB / 0.6289 GB, free: 5.996 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.4995, allocations: 0 / 0.6289 GB, free: 5.996 MB / 430.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.01511/0.5146, allocations: 6.391 MB / 0.6351 GB, free: 15.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001408/0.5148, allocations: 194.9 kB / 0.6353 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.5148, allocations: 4 kB / 0.6353 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008972/0.5238, allocations: 3.026 MB / 0.6383 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001443/0.5253, allocations: 295.5 kB / 0.6386 GB, free: 12.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006186/0.5315, allocations: 3.001 MB / 0.6415 GB, free: 9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002282/0.5338, allocations: 302.4 kB / 0.6418 GB, free: 8.703 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001496/0.534, allocations: 59.98 kB / 0.6418 GB, free: 8.645 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.117e-06/0.534, allocations: 4 kB / 0.6418 GB, free: 8.641 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01616/0.5501, allocations: 6.203 MB / 0.6479 GB, free: 2.426 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.5502, allocations: 4.312 kB / 0.6479 GB, free: 2.422 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008495/0.5587, allocations: 3.019 MB / 0.6509 GB, free: 15.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001333/0.56, allocations: 275.6 kB / 0.6511 GB, free: 15.13 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005981/0.566, allocations: 3 MB / 0.654 GB, free: 12.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002169/0.5682, allocations: 274.6 kB / 0.6543 GB, free: 11.83 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001652/0.5684, allocations: 67.97 kB / 0.6544 GB, free: 11.77 MB / 462.1 MB Warning: Assuming fixed start value for the following 2 variables: govHydroIEEE0_1.waterway.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] govHydroIEEE0_1.GovernorB.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (164): * Single equations (assignments): 163 * 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 {30 26} Notification: Performance of prepare postOptimizeDAE: time 0.0007815/0.5692, allocations: 389.2 kB / 0.6547 GB, free: 11.38 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003193/0.5695, allocations: 154 kB / 0.6549 GB, free: 11.22 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01577/0.5853, allocations: 5.858 MB / 0.6606 GB, free: 5.344 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.786e-05/0.5853, allocations: 16 kB / 0.6606 GB, free: 5.328 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/0.5854, allocations: 3.953 kB / 0.6606 GB, free: 5.324 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.034e-05/0.5854, allocations: 7.969 kB / 0.6606 GB, free: 5.316 MB / 462.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.01901/0.6044, allocations: 7.916 MB / 0.6684 GB, free: 13.26 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/0.6044, allocations: 0 / 0.6684 GB, free: 13.26 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008087/0.6052, allocations: 139.8 kB / 0.6685 GB, free: 13.12 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00711/0.6124, allocations: 2.521 MB / 0.671 GB, free: 10.59 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001393/0.6125, allocations: 23.98 kB / 0.671 GB, free: 10.57 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02334/0.6359, allocations: 10.3 MB / 0.681 GB, free: 124 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.6359, allocations: 0 / 0.681 GB, free: 124 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01878/0.6547, allocations: 7.19 MB / 0.6881 GB, free: 8.902 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006775/0.6554, allocations: 278.8 kB / 0.6883 GB, free: 8.609 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005727/0.656, allocations: 31.94 kB / 0.6884 GB, free: 8.578 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001845/0.6579, allocations: 195.8 kB / 0.6885 GB, free: 8.387 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007746/0.6586, allocations: 245.3 kB / 0.6888 GB, free: 8.148 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001408/0.6588, allocations: 35.98 kB / 0.6888 GB, free: 8.113 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001756/0.6606, allocations: 0.9931 MB / 0.6898 GB, free: 7.121 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.6606, allocations: 0 / 0.6898 GB, free: 7.121 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002465/0.663, allocations: 0.8271 MB / 0.6906 GB, free: 6.293 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (gENCLS.delta,gENCLS.eq,generator.w,generator.delta,generator.Epd,generator.Epq,generator.PSIkd,generator.PSIkq,govHydroIEEE0_1.GovernorA.TF.x_scaled[1],govHydroIEEE0_1.GovernorB.x_scaled[1],govHydroIEEE0_1.waterway.x_scaled[1],gENCLS.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 79 * 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.0003409/0.6634, allocations: 164.1 kB / 0.6908 GB, free: 6.121 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01461/0.678, allocations: 5.386 MB / 0.696 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/0.6781, allocations: 4 kB / 0.696 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005917/0.684, allocations: 2.167 MB / 0.6981 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001479/0.6855, allocations: 151.6 kB / 0.6983 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006019/0.6915, allocations: 3.61 MB / 0.7018 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007946/0.6923, allocations: 1.23 MB / 0.703 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000938/0.6933, allocations: 193.8 kB / 0.7032 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003655/0.6937, allocations: 87.42 kB / 0.7033 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of SimCode: time 7.01e-07/0.6937, allocations: 3.938 kB / 0.7033 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of Templates: time 0.04515/0.7388, allocations: 30.76 MB / 0.7333 GB, free: 10.5 MB / 0.5294 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test.pipe 2>&1)