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.001157/0.001157, allocations: 90.36 kB / 15.36 MB, free: 0.7383 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.424/1.424, allocations: 223.3 MB / 239.4 MB, free: 5.52 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.00132/0.00132, allocations: 176.6 kB / 290.6 MB, free: 2.195 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.545/0.545, allocations: 91.93 MB / 433.6 MB, free: 10.31 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004194/0.0004192, allocations: 16 kB / 0.5048 GB, free: 7.281 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3989/0.3994, allocations: 72.47 MB / 0.5755 GB, free: 36.77 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test): time 0.006627/0.406, allocations: 7.841 MB / 0.5832 GB, free: 31.42 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005703/0.4118, allocations: 2.662 MB / 0.5858 GB, free: 29.55 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001556/0.4134, allocations: 14.84 kB / 0.5858 GB, free: 29.55 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009101/0.4143, allocations: 275.3 kB / 0.5861 GB, free: 29.44 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002486/0.4168, allocations: 1.006 MB / 0.587 GB, free: 28.8 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001343/0.4182, allocations: 0.6966 MB / 0.5877 GB, free: 28.43 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001994/0.4202, allocations: 2.139 MB / 0.5898 GB, free: 27.44 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005119/0.4207, allocations: 332 kB / 0.5901 GB, free: 27.28 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001183/0.4219, allocations: 0.7871 MB / 0.5909 GB, free: 26.94 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001189/0.4231, allocations: 1.028 MB / 0.5919 GB, free: 26.5 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002579/0.4234, allocations: 89.06 kB / 0.592 GB, free: 26.5 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008206/0.4242, allocations: 313.8 kB / 0.5923 GB, free: 26.43 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003044/0.4245, allocations: 375.9 kB / 0.5926 GB, free: 26.22 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006892/0.4252, allocations: 0.8092 MB / 0.5934 GB, free: 25.69 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001908/0.4271, allocations: 2.119 MB / 0.5955 GB, free: 24.93 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.4271, allocations: 0 / 0.5955 GB, free: 24.93 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4271, allocations: 0 / 0.5955 GB, free: 24.93 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.833e-05/0.4272, allocations: 0 / 0.5955 GB, free: 24.93 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.01325/0.4405, allocations: 3.377 MB / 0.5988 GB, free: 23.64 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.4405, allocations: 9.625 kB / 0.5988 GB, free: 23.64 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005505/0.446, allocations: 0.7528 MB / 0.5995 GB, free: 23.48 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002858/0.4489, allocations: 1.197 MB / 0.6007 GB, free: 22.74 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003968/0.4493, allocations: 401.2 kB / 0.6011 GB, free: 22.39 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002619/0.4496, allocations: 104.2 kB / 0.6012 GB, free: 22.35 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003532/0.4531, allocations: 1.487 MB / 0.6027 GB, free: 21.8 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.784e-05/0.4532, allocations: 1.031 kB / 0.6027 GB, free: 21.8 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001286/0.4533, allocations: 39.31 kB / 0.6027 GB, free: 21.77 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.867e-05/0.4534, allocations: 21.94 kB / 0.6027 GB, free: 21.77 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003445/0.4568, allocations: 1.458 MB / 0.6041 GB, free: 21.3 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.009871/0.4667, allocations: 4.91 MB / 0.6089 GB, free: 18.5 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009336/0.4761, allocations: 3.528 MB / 0.6124 GB, free: 17.25 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002243/0.4783, allocations: 1.004 MB / 0.6134 GB, free: 16.88 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001299/0.4785, allocations: 24.86 kB / 0.6134 GB, free: 16.88 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.4785, allocations: 48.98 kB / 0.6134 GB, free: 16.82 MB / 430.1 MB Notification: Performance of pre-optimization done (n=123): time 3.717e-06/0.4785, allocations: 0 / 0.6134 GB, free: 16.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=123): time 0.04439/0.5229, allocations: 12.12 MB / 0.6253 GB, free: 10.29 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.06e-05/0.523, allocations: 119.8 kB / 0.6254 GB, free: 10.15 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002258/0.5253, allocations: 1.458 MB / 0.6268 GB, free: 8.684 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003685/0.5257, allocations: 49.7 kB / 0.6268 GB, free: 8.629 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003563/0.526, allocations: 0.6041 MB / 0.6274 GB, free: 8.02 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004391/0.5265, allocations: 453.5 kB / 0.6279 GB, free: 7.57 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002011/0.5267, allocations: 157.6 kB / 0.628 GB, free: 7.41 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.813e-05/0.5267, allocations: 313 kB / 0.6283 GB, free: 7.102 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001926/0.5287, allocations: 1.042 MB / 0.6293 GB, free: 6.059 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001943/0.5306, allocations: 1.247 MB / 0.6306 GB, free: 4.766 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02469/0.5553, allocations: 7.121 MB / 0.6375 GB, free: 13.59 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.009e-05/0.5554, allocations: 4 kB / 0.6375 GB, free: 13.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.007392/0.5628, allocations: 3.348 MB / 0.6408 GB, free: 10.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001523/0.563, allocations: 194.9 kB / 0.641 GB, free: 9.992 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.563, allocations: 4 kB / 0.641 GB, free: 9.988 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0103/0.5733, allocations: 3.034 MB / 0.6439 GB, free: 6.941 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001667/0.575, allocations: 283.6 kB / 0.6442 GB, free: 6.664 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007011/0.582, allocations: 3.016 MB / 0.6471 GB, free: 3.621 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002786/0.5848, allocations: 298.5 kB / 0.6474 GB, free: 3.328 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000156/0.585, allocations: 59.98 kB / 0.6475 GB, free: 3.27 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.207e-06/0.585, allocations: 0 / 0.6475 GB, free: 3.27 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006633/0.5917, allocations: 3.153 MB / 0.6506 GB, free: 116 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-06/0.5917, allocations: 7.938 kB / 0.6506 GB, free: 108 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009536/0.6012, allocations: 3.023 MB / 0.6535 GB, free: 13.08 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001316/0.6026, allocations: 279.6 kB / 0.6538 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006734/0.6093, allocations: 3 MB / 0.6567 GB, free: 9.777 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002414/0.6117, allocations: 278.6 kB / 0.657 GB, free: 9.504 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001533/0.6119, allocations: 63.98 kB / 0.6571 GB, free: 9.441 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.0008811/0.6128, allocations: 378.5 kB / 0.6574 GB, free: 9.062 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003467/0.6131, allocations: 158 kB / 0.6576 GB, free: 8.906 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01776/0.6309, allocations: 5.874 MB / 0.6633 GB, free: 3.016 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.336e-05/0.631, allocations: 15.98 kB / 0.6633 GB, free: 3 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.15e-05/0.631, allocations: 4 kB / 0.6633 GB, free: 2.996 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.691e-05/0.631, allocations: 3.984 kB / 0.6633 GB, free: 2.992 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.02142/0.6524, allocations: 7.931 MB / 0.6711 GB, free: 10.92 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-05/0.6525, allocations: 0 / 0.6711 GB, free: 10.92 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009923/0.6535, allocations: 139.8 kB / 0.6712 GB, free: 10.78 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008241/0.6617, allocations: 2.513 MB / 0.6737 GB, free: 8.262 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002772/0.662, allocations: 27.98 kB / 0.6737 GB, free: 8.234 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02608/0.6881, allocations: 10.32 MB / 0.6838 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/0.6882, allocations: 7.984 kB / 0.6838 GB, free: 13.76 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02099/0.7092, allocations: 7.198 MB / 0.6908 GB, free: 6.535 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009382/0.7102, allocations: 278.7 kB / 0.6911 GB, free: 6.242 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000262/0.7105, allocations: 24 kB / 0.6911 GB, free: 6.219 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001778/0.7122, allocations: 191.9 kB / 0.6913 GB, free: 6.031 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008533/0.7131, allocations: 257.2 kB / 0.6915 GB, free: 5.777 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.094e-05/0.7132, allocations: 31.98 kB / 0.6915 GB, free: 5.746 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001746/0.715, allocations: 1.009 MB / 0.6925 GB, free: 4.738 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.715, allocations: 4 kB / 0.6925 GB, free: 4.734 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002164/0.7171, allocations: 0.8271 MB / 0.6933 GB, free: 3.906 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.0003521/0.7175, allocations: 148.6 kB / 0.6935 GB, free: 3.758 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01602/0.7335, allocations: 5.399 MB / 0.6988 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/0.7336, allocations: 8.062 kB / 0.6988 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.006639/0.7402, allocations: 2.166 MB / 0.7009 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001713/0.742, allocations: 149.1 kB / 0.701 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006077/0.7481, allocations: 3.77 MB / 0.7047 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008386/0.7489, allocations: 1.234 MB / 0.7059 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0009184/0.7498, allocations: 197.8 kB / 0.7061 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003344/0.7502, allocations: 87.42 kB / 0.7062 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of SimCode: time 2.444e-06/0.7502, allocations: 0 / 0.7062 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of Templates: time 0.04922/0.7994, allocations: 31.73 MB / 0.7372 GB, free: 6.973 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)