Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_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_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.0009355/0.0009355, allocations: 99.23 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.231/1.231, allocations: 223.2 MB / 238.9 MB, free: 5.477 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.001085/0.001085, allocations: 185 kB / 290.2 MB, free: 2.168 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4059/0.4059, allocations: 78.53 MB / 419.8 MB, free: 4.258 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003257/0.0003258, allocations: 11.98 kB / 499.7 MB, free: 6.359 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1058, allocations: 69.36 MB / 0.5557 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test): time 0.1869/0.2928, allocations: 6.96 MB / 0.5625 GB, free: 37.23 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004276/0.2971, allocations: 2.587 MB / 0.565 GB, free: 36.89 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001105/0.2982, allocations: 19.75 kB / 0.565 GB, free: 36.89 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008334/0.2991, allocations: 238.5 kB / 0.5653 GB, free: 36.81 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002664/0.3017, allocations: 1.075 MB / 0.5663 GB, free: 36.7 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001385/0.3031, allocations: 0.6125 MB / 0.5669 GB, free: 36.65 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002139/0.3053, allocations: 1.475 MB / 0.5683 GB, free: 36.28 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004423/0.3057, allocations: 311.5 kB / 0.5686 GB, free: 36.16 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000897/0.3067, allocations: 0.7937 MB / 0.5694 GB, free: 35.82 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001219/0.3079, allocations: 0.995 MB / 0.5704 GB, free: 35.41 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003633/0.3083, allocations: 88.53 kB / 0.5705 GB, free: 35.41 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007367/0.309, allocations: 280.8 kB / 0.5707 GB, free: 35.36 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003088/0.3093, allocations: 374.7 kB / 0.5711 GB, free: 35.16 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003336/0.3097, allocations: 283.7 kB / 0.5714 GB, free: 34.98 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001387/0.3111, allocations: 1.625 MB / 0.573 GB, free: 34.53 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.3111, allocations: 1.75 kB / 0.573 GB, free: 34.53 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3111, allocations: 0 / 0.573 GB, free: 34.53 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.62e-05/0.3111, allocations: 0 / 0.573 GB, free: 34.53 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.01216/0.3233, allocations: 3.612 MB / 0.5765 GB, free: 33.25 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.3234, allocations: 10.98 kB / 0.5765 GB, free: 33.25 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004368/0.3277, allocations: 0.7528 MB / 0.5772 GB, free: 33.09 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001977/0.3297, allocations: 1.138 MB / 0.5783 GB, free: 32.41 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003079/0.3301, allocations: 409.2 kB / 0.5787 GB, free: 32.05 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001824/0.3302, allocations: 107.3 kB / 0.5788 GB, free: 32.01 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002425/0.3327, allocations: 1.468 MB / 0.5803 GB, free: 31.47 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.258e-05/0.3327, allocations: 3.062 kB / 0.5803 GB, free: 31.47 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001124/0.3328, allocations: 33.91 kB / 0.5803 GB, free: 31.44 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.67e-05/0.3329, allocations: 27.44 kB / 0.5803 GB, free: 31.44 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002666/0.3355, allocations: 1.455 MB / 0.5817 GB, free: 30.97 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.007564/0.3431, allocations: 5.039 MB / 0.5867 GB, free: 28.04 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008477/0.3516, allocations: 3.504 MB / 0.5901 GB, free: 26.82 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001607/0.3518, allocations: 21.67 kB / 0.5901 GB, free: 26.81 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.3518, allocations: 48.34 kB / 0.5902 GB, free: 26.76 MB / 430.1 MB Notification: Performance of pre-optimization done (n=123): time 3.046e-06/0.3518, allocations: 0 / 0.5902 GB, free: 26.76 MB / 430.1 MB Notification: Performance of matching and sorting (n=123): time 0.04286/0.3947, allocations: 12.05 MB / 0.6019 GB, free: 24.89 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.025e-05/0.3948, allocations: 121.1 kB / 0.602 GB, free: 24.76 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002428/0.3972, allocations: 1.446 MB / 0.6035 GB, free: 24.2 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002659/0.3975, allocations: 51.8 kB / 0.6035 GB, free: 24.15 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003731/0.3979, allocations: 0.5949 MB / 0.6041 GB, free: 23.68 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004288/0.3983, allocations: 452.7 kB / 0.6045 GB, free: 23.32 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.3984, allocations: 35.31 kB / 0.6046 GB, free: 23.29 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.714e-05/0.3986, allocations: 369.8 kB / 0.6049 GB, free: 22.96 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002152/0.4007, allocations: 1.037 MB / 0.6059 GB, free: 22.6 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002227/0.403, allocations: 1.229 MB / 0.6071 GB, free: 22.07 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002236/0.4052, allocations: 1.126 MB / 0.6082 GB, free: 21.59 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.4052, allocations: 1.156 kB / 0.6082 GB, free: 21.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.01706/0.4223, allocations: 6.39 MB / 0.6145 GB, free: 17.71 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002212/0.4225, allocations: 1.346 MB / 0.6158 GB, free: 16.28 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/0.4226, allocations: 4.562 kB / 0.6158 GB, free: 16.28 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008643/0.4312, allocations: 3.023 MB / 0.6187 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001367/0.4326, allocations: 293.5 kB / 0.619 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005745/0.4384, allocations: 3.01 MB / 0.6219 GB, free: 9.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002527/0.4409, allocations: 298.4 kB / 0.6222 GB, free: 9.637 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001905/0.4411, allocations: 65.42 kB / 0.6223 GB, free: 9.574 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.4412, allocations: 4 kB / 0.6223 GB, free: 9.57 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01581/0.457, allocations: 6.196 MB / 0.6283 GB, free: 3.367 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.457, allocations: 4 kB / 0.6284 GB, free: 3.363 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008452/0.4655, allocations: 3.008 MB / 0.6313 GB, free: 360 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001363/0.4669, allocations: 279.6 kB / 0.6316 GB, free: 80 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006641/0.4735, allocations: 3 MB / 0.6345 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002353/0.4759, allocations: 279.2 kB / 0.6348 GB, free: 12.78 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002414/0.4762, allocations: 63.98 kB / 0.6348 GB, free: 12.71 MB / 446.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.0008838/0.4771, allocations: 385.2 kB / 0.6352 GB, free: 12.33 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004516/0.4775, allocations: 154 kB / 0.6353 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01673/0.4943, allocations: 5.863 MB / 0.6411 GB, free: 6.297 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.992e-05/0.4943, allocations: 16 kB / 0.6411 GB, free: 6.281 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.437e-06/0.4943, allocations: 5.812 kB / 0.6411 GB, free: 6.277 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-05/0.4944, allocations: 3.984 kB / 0.6411 GB, free: 6.273 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.01976/0.5141, allocations: 7.924 MB / 0.6488 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.258e-05/0.5142, allocations: 0 / 0.6488 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008724/0.5151, allocations: 145.1 kB / 0.649 GB, free: 14.06 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007773/0.5229, allocations: 2.514 MB / 0.6514 GB, free: 11.54 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002487/0.5231, allocations: 27.95 kB / 0.6514 GB, free: 11.52 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02698/0.5501, allocations: 10.87 MB / 0.6621 GB, free: 0.5078 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.5502, allocations: 0 / 0.6621 GB, free: 0.5078 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01969/0.5699, allocations: 7.198 MB / 0.6691 GB, free: 9.277 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006713/0.5706, allocations: 282.6 kB / 0.6694 GB, free: 8.98 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000466/0.5711, allocations: 28 kB / 0.6694 GB, free: 8.953 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001922/0.573, allocations: 197.4 kB / 0.6696 GB, free: 8.762 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000736/0.5737, allocations: 249.3 kB / 0.6698 GB, free: 8.52 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001195/0.5739, allocations: 28 kB / 0.6698 GB, free: 8.492 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001725/0.5756, allocations: 0.9969 MB / 0.6708 GB, free: 7.496 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.5756, allocations: 0 / 0.6708 GB, free: 7.496 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002371/0.578, allocations: 0.8232 MB / 0.6716 GB, free: 6.672 MB / 478.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.0003437/0.5784, allocations: 163.6 kB / 0.6718 GB, free: 6.5 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01502/0.5934, allocations: 5.387 MB / 0.677 GB, free: 1.121 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.5934, allocations: 0 / 0.677 GB, free: 1.121 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006115/0.5995, allocations: 2.169 MB / 0.6791 GB, free: 14.95 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/0.6006, allocations: 132.5 kB / 0.6793 GB, free: 14.82 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005767/0.6064, allocations: 3.642 MB / 0.6828 GB, free: 11.22 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007689/0.6072, allocations: 1.269 MB / 0.6841 GB, free: 9.922 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008344/0.608, allocations: 193.2 kB / 0.6843 GB, free: 9.734 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003454/0.6084, allocations: 89.3 kB / 0.6843 GB, free: 9.648 MB / 494.1 MB Notification: Performance of SimCode: time 1.753e-06/0.6084, allocations: 0 / 0.6843 GB, free: 9.648 MB / 494.1 MB Notification: Performance of Templates: time 0.04409/0.6525, allocations: 30.71 MB / 0.7143 GB, free: 11.05 MB / 0.5137 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test.makefile Environment - environmentSimulation: (rm -f OpenIPSL_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test.pipe 2>&1) Environment - environmentSimulation: