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.001008/0.001008, allocations: 92.23 kB / 16.02 MB, free: 80 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.376/1.376, allocations: 223.3 MB / 240 MB, free: 5.512 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.001104/0.001104, allocations: 183.4 kB / 291.3 MB, free: 2.168 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5119/0.5119, allocations: 91.93 MB / 434.3 MB, free: 10.26 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004137/0.0004137, allocations: 12 kB / 0.5054 GB, free: 7.25 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3307, allocations: 72.46 MB / 0.5762 GB, free: 36.77 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test): time 0.005463/0.3362, allocations: 7.846 MB / 0.5838 GB, free: 31.4 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004593/0.3408, allocations: 2.659 MB / 0.5864 GB, free: 29.53 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001447/0.3423, allocations: 15.78 kB / 0.5865 GB, free: 29.53 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001064/0.3434, allocations: 268.2 kB / 0.5867 GB, free: 29.42 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003056/0.3464, allocations: 1.008 MB / 0.5877 GB, free: 28.78 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001586/0.348, allocations: 0.6983 MB / 0.5884 GB, free: 28.41 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002525/0.3506, allocations: 2.149 MB / 0.5905 GB, free: 27.41 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006037/0.3512, allocations: 332.9 kB / 0.5908 GB, free: 27.25 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00124/0.3525, allocations: 0.7782 MB / 0.5916 GB, free: 26.92 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001483/0.354, allocations: 1.033 MB / 0.5926 GB, free: 26.48 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005343/0.3545, allocations: 86.78 kB / 0.5926 GB, free: 26.48 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001095/0.3556, allocations: 324.7 kB / 0.593 GB, free: 26.39 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005497/0.3562, allocations: 371.4 kB / 0.5933 GB, free: 26.19 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001176/0.3574, allocations: 0.8055 MB / 0.5941 GB, free: 25.66 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001594/0.359, allocations: 1.67 MB / 0.5957 GB, free: 25.19 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.359, allocations: 0 / 0.5957 GB, free: 25.19 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.359, allocations: 3.625 kB / 0.5957 GB, free: 25.19 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.591e-05/0.359, allocations: 4 kB / 0.5957 GB, free: 25.19 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.01242/0.3715, allocations: 3.371 MB / 0.599 GB, free: 23.9 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.3715, allocations: 9.125 kB / 0.599 GB, free: 23.9 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005128/0.3767, allocations: 0.7522 MB / 0.5998 GB, free: 23.73 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002729/0.3794, allocations: 1.197 MB / 0.6009 GB, free: 23 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003901/0.3798, allocations: 408.4 kB / 0.6013 GB, free: 22.64 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003018/0.3802, allocations: 97.66 kB / 0.6014 GB, free: 22.61 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003218/0.3834, allocations: 1.487 MB / 0.6029 GB, free: 22.06 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/0.3834, allocations: 0 / 0.6029 GB, free: 22.06 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001251/0.3836, allocations: 40.72 kB / 0.6029 GB, free: 22.03 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.346e-05/0.3836, allocations: 20.78 kB / 0.6029 GB, free: 22.03 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003315/0.3869, allocations: 1.459 MB / 0.6044 GB, free: 21.56 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.009617/0.3966, allocations: 4.923 MB / 0.6092 GB, free: 18.74 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00949/0.4061, allocations: 3.516 MB / 0.6126 GB, free: 17.5 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002321/0.4084, allocations: 1.005 MB / 0.6136 GB, free: 17.14 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001408/0.4086, allocations: 24.66 kB / 0.6136 GB, free: 17.13 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.4086, allocations: 49.16 kB / 0.6136 GB, free: 17.07 MB / 430.1 MB Notification: Performance of pre-optimization done (n=123): time 3.496e-06/0.4086, allocations: 0 / 0.6136 GB, free: 17.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=123): time 0.04549/0.4541, allocations: 12.12 MB / 0.6255 GB, free: 10.73 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.001e-05/0.4542, allocations: 123.7 kB / 0.6256 GB, free: 10.58 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002281/0.4565, allocations: 1.465 MB / 0.627 GB, free: 9.105 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003412/0.4569, allocations: 49.7 kB / 0.6271 GB, free: 9.051 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003431/0.4572, allocations: 0.5963 MB / 0.6277 GB, free: 8.449 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004428/0.4577, allocations: 449.6 kB / 0.6281 GB, free: 8.004 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002191/0.4579, allocations: 161.6 kB / 0.6282 GB, free: 7.84 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.703e-05/0.4579, allocations: 305.1 kB / 0.6285 GB, free: 7.539 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002027/0.46, allocations: 1.042 MB / 0.6296 GB, free: 6.496 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00214/0.4621, allocations: 1.245 MB / 0.6308 GB, free: 5.203 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02522/0.4874, allocations: 7.125 MB / 0.6377 GB, free: 14.03 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.906e-06/0.4874, allocations: 0 / 0.6377 GB, free: 14.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.007867/0.4953, allocations: 3.348 MB / 0.641 GB, free: 10.67 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001414/0.4955, allocations: 190.7 kB / 0.6412 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/0.4955, allocations: 4 kB / 0.6412 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01018/0.5057, allocations: 3.042 MB / 0.6442 GB, free: 7.379 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001602/0.5073, allocations: 291.5 kB / 0.6444 GB, free: 7.094 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007584/0.5149, allocations: 3.008 MB / 0.6474 GB, free: 4.059 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002966/0.5179, allocations: 298.5 kB / 0.6477 GB, free: 3.766 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003754/0.5183, allocations: 59.98 kB / 0.6477 GB, free: 3.707 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.5183, allocations: 4 kB / 0.6477 GB, free: 3.703 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007843/0.5262, allocations: 3.15 MB / 0.6508 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.661e-05/0.5263, allocations: 4 kB / 0.6508 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01041/0.5367, allocations: 3.019 MB / 0.6537 GB, free: 13.52 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001607/0.5383, allocations: 279.6 kB / 0.654 GB, free: 13.25 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007667/0.546, allocations: 2.996 MB / 0.6569 GB, free: 10.23 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002709/0.5488, allocations: 278.6 kB / 0.6572 GB, free: 9.953 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000336/0.5491, allocations: 59.98 kB / 0.6573 GB, free: 9.895 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 (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.0011/0.5502, allocations: 383.2 kB / 0.6576 GB, free: 9.512 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000636/0.5509, allocations: 162 kB / 0.6578 GB, free: 9.352 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01954/0.5704, allocations: 5.87 MB / 0.6635 GB, free: 3.465 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.246e-05/0.5705, allocations: 12 kB / 0.6635 GB, free: 3.453 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/0.5705, allocations: 4 kB / 0.6635 GB, free: 3.449 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.081e-05/0.5706, allocations: 3.984 kB / 0.6635 GB, free: 3.445 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.02337/0.5939, allocations: 7.927 MB / 0.6713 GB, free: 11.37 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-05/0.594, allocations: 3.938 kB / 0.6713 GB, free: 11.37 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009924/0.595, allocations: 143.8 kB / 0.6714 GB, free: 11.23 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008631/0.6036, allocations: 2.517 MB / 0.6739 GB, free: 8.703 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003212/0.604, allocations: 35.98 kB / 0.6739 GB, free: 8.668 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02804/0.6321, allocations: 10.31 MB / 0.684 GB, free: 14.21 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.6321, allocations: 3.938 kB / 0.684 GB, free: 14.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02175/0.6539, allocations: 7.206 MB / 0.691 GB, free: 6.973 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007179/0.6546, allocations: 278.7 kB / 0.6913 GB, free: 6.68 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005978/0.6552, allocations: 24 kB / 0.6913 GB, free: 6.656 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002186/0.6574, allocations: 195.8 kB / 0.6915 GB, free: 6.465 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009318/0.6584, allocations: 241.3 kB / 0.6917 GB, free: 6.227 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002212/0.6586, allocations: 31.98 kB / 0.6918 GB, free: 6.195 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00218/0.6608, allocations: 1.009 MB / 0.6927 GB, free: 5.188 MB / 494.1 MB Notification: Performance of sort global known variables: time 3e-07/0.6608, allocations: 3.938 kB / 0.6927 GB, free: 5.184 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00327/0.6641, allocations: 0.831 MB / 0.6936 GB, free: 4.352 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 (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.0004828/0.6646, allocations: 152.6 kB / 0.6937 GB, free: 4.199 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01785/0.6825, allocations: 5.395 MB / 0.699 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.015e-05/0.6825, allocations: 112 / 0.699 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.007216/0.6898, allocations: 2.171 MB / 0.7011 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002107/0.6919, allocations: 149.1 kB / 0.7012 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007178/0.6991, allocations: 3.822 MB / 0.705 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009123/0.7, allocations: 1.234 MB / 0.7062 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007099/0.7008, allocations: 99.41 kB / 0.7063 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of SimCode: time 1.092e-06/0.7008, allocations: 0 / 0.7063 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of Templates: time 0.0385/0.7393, allocations: 25.71 MB / 0.7314 GB, free: 13.55 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)