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.0008761/0.0008756, allocations: 90.52 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.46/1.46, allocations: 223.3 MB / 239.4 MB, free: 5.5 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.001658/0.001658, allocations: 180.5 kB / 290.6 MB, free: 2.18 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4831/0.4831, allocations: 78.55 MB / 420.3 MB, free: 4.211 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004188/0.000419, allocations: 16 kB / 0.4887 GB, free: 6.043 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.164, allocations: 69.35 MB / 0.5564 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test): time 0.3338/0.4978, allocations: 7.814 MB / 0.564 GB, free: 35.28 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00589/0.5037, allocations: 2.662 MB / 0.5666 GB, free: 34.29 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001609/0.5054, allocations: 13.47 kB / 0.5666 GB, free: 34.29 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001221/0.5066, allocations: 273.9 kB / 0.5669 GB, free: 34.2 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003913/0.5106, allocations: 1.086 MB / 0.568 GB, free: 33.75 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001894/0.5125, allocations: 0.7007 MB / 0.5687 GB, free: 33.68 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003279/0.5158, allocations: 2.278 MB / 0.5709 GB, free: 33.23 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006547/0.5164, allocations: 327.7 kB / 0.5712 GB, free: 33.16 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00132/0.5178, allocations: 0.7913 MB / 0.572 GB, free: 32.94 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001656/0.5194, allocations: 1.048 MB / 0.573 GB, free: 32.67 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005184/0.52, allocations: 90.09 kB / 0.5731 GB, free: 32.67 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008009/0.5208, allocations: 303 kB / 0.5734 GB, free: 32.66 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003144/0.5211, allocations: 379.4 kB / 0.5737 GB, free: 32.55 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006746/0.5218, allocations: 0.8147 MB / 0.5745 GB, free: 32.21 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001829/0.5236, allocations: 2.122 MB / 0.5766 GB, free: 31.73 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.877e-06/0.5236, allocations: 7.312 kB / 0.5766 GB, free: 31.73 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.5236, allocations: 2.344 kB / 0.5766 GB, free: 31.73 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.282e-05/0.5237, allocations: 0 / 0.5766 GB, free: 31.73 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.01321/0.5369, allocations: 3.59 MB / 0.5801 GB, free: 30.66 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.537, allocations: 8.188 kB / 0.5801 GB, free: 30.66 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00495/0.5419, allocations: 0.7546 MB / 0.5808 GB, free: 30.54 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002737/0.5447, allocations: 1.19 MB / 0.582 GB, free: 30.07 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004264/0.5452, allocations: 412.5 kB / 0.5824 GB, free: 29.75 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002494/0.5454, allocations: 100.5 kB / 0.5825 GB, free: 29.75 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002957/0.5484, allocations: 1.489 MB / 0.584 GB, free: 29.48 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/0.5484, allocations: 0 / 0.584 GB, free: 29.48 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001187/0.5485, allocations: 37.28 kB / 0.584 GB, free: 29.45 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.694e-05/0.5486, allocations: 21.78 kB / 0.584 GB, free: 29.45 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003029/0.5516, allocations: 1.461 MB / 0.5854 GB, free: 28.99 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.008595/0.5602, allocations: 4.914 MB / 0.5902 GB, free: 26.18 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009281/0.5695, allocations: 3.517 MB / 0.5937 GB, free: 24.95 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002614/0.5722, allocations: 1.005 MB / 0.5947 GB, free: 24.58 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001439/0.5723, allocations: 25.8 kB / 0.5947 GB, free: 24.57 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.5724, allocations: 48.03 kB / 0.5947 GB, free: 24.52 MB / 430.1 MB Notification: Performance of pre-optimization done (n=123): time 2.865e-06/0.5724, allocations: 1.656 kB / 0.5947 GB, free: 24.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=123): time 0.04782/0.6202, allocations: 12.12 MB / 0.6066 GB, free: 22.62 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.631e-05/0.6203, allocations: 120.9 kB / 0.6067 GB, free: 22.49 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00284/0.6232, allocations: 1.462 MB / 0.6081 GB, free: 21.91 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004399/0.6236, allocations: 55.31 kB / 0.6082 GB, free: 21.85 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004008/0.624, allocations: 0.5944 MB / 0.6087 GB, free: 21.32 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004925/0.6245, allocations: 446.2 kB / 0.6092 GB, free: 20.94 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002404/0.6248, allocations: 162.2 kB / 0.6093 GB, free: 20.83 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.515e-05/0.6248, allocations: 310 kB / 0.6096 GB, free: 20.53 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002215/0.6271, allocations: 1.042 MB / 0.6106 GB, free: 20.04 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002384/0.6295, allocations: 1.241 MB / 0.6118 GB, free: 19.36 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02508/0.6546, allocations: 7.131 MB / 0.6188 GB, free: 13.66 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.183e-06/0.6546, allocations: 0 / 0.6188 GB, free: 13.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.006825/0.6614, allocations: 3.344 MB / 0.6221 GB, free: 10.3 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001021/0.6616, allocations: 194.8 kB / 0.6223 GB, free: 10.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.6616, allocations: 4 kB / 0.6223 GB, free: 10.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009023/0.6706, allocations: 3.027 MB / 0.6252 GB, free: 7.031 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001526/0.6722, allocations: 295.5 kB / 0.6255 GB, free: 6.742 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00615/0.6784, allocations: 3.014 MB / 0.6284 GB, free: 3.707 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002759/0.6812, allocations: 294.5 kB / 0.6287 GB, free: 3.418 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001818/0.6814, allocations: 67.91 kB / 0.6288 GB, free: 3.352 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.6814, allocations: 6.406 kB / 0.6288 GB, free: 3.348 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005942/0.6873, allocations: 3.153 MB / 0.6319 GB, free: 196 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.6874, allocations: 5.062 kB / 0.6319 GB, free: 192 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009558/0.697, allocations: 3.012 MB / 0.6348 GB, free: 13.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001584/0.6986, allocations: 283.6 kB / 0.6351 GB, free: 12.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007361/0.706, allocations: 2.992 MB / 0.638 GB, free: 9.871 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002744/0.7087, allocations: 282.6 kB / 0.6383 GB, free: 9.594 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003456/0.7091, allocations: 63.98 kB / 0.6383 GB, free: 9.531 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 (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.001305/0.7104, allocations: 381.1 kB / 0.6387 GB, free: 9.152 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007984/0.7112, allocations: 158 kB / 0.6389 GB, free: 8.996 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01884/0.7301, allocations: 5.867 MB / 0.6446 GB, free: 3.109 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.612e-05/0.7302, allocations: 16 kB / 0.6446 GB, free: 3.094 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.898e-05/0.7302, allocations: 0 / 0.6446 GB, free: 3.094 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.533e-05/0.7303, allocations: 3.984 kB / 0.6446 GB, free: 3.09 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.0256/0.7559, allocations: 7.933 MB / 0.6523 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.099e-05/0.756, allocations: 1.875 kB / 0.6524 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/0.757, allocations: 143.8 kB / 0.6525 GB, free: 10.87 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008551/0.7656, allocations: 2.513 MB / 0.6549 GB, free: 8.352 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003556/0.766, allocations: 28.64 kB / 0.655 GB, free: 8.324 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0277/0.7937, allocations: 10.32 MB / 0.665 GB, free: 13.86 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/0.7937, allocations: 3.938 kB / 0.665 GB, free: 13.86 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02188/0.8156, allocations: 7.202 MB / 0.6721 GB, free: 6.637 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001012/0.8167, allocations: 278.6 kB / 0.6723 GB, free: 6.344 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007011/0.8174, allocations: 24 kB / 0.6724 GB, free: 6.32 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002384/0.8198, allocations: 199.8 kB / 0.6726 GB, free: 6.125 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001127/0.821, allocations: 245.3 kB / 0.6728 GB, free: 5.883 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001955/0.8212, allocations: 33.44 kB / 0.6728 GB, free: 5.852 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002437/0.8236, allocations: 1.009 MB / 0.6738 GB, free: 4.844 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.174e-06/0.8236, allocations: 0 / 0.6738 GB, free: 4.844 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003589/0.8272, allocations: 0.8232 MB / 0.6746 GB, free: 4.02 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 (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.0004868/0.8277, allocations: 152.5 kB / 0.6748 GB, free: 3.863 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0179/0.8457, allocations: 5.393 MB / 0.68 GB, free: 14.48 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.646e-06/0.8457, allocations: 4 kB / 0.68 GB, free: 14.48 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007119/0.8529, allocations: 2.166 MB / 0.6821 GB, free: 12.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002182/0.8551, allocations: 152.9 kB / 0.6823 GB, free: 12.16 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007372/0.8625, allocations: 3.767 MB / 0.686 GB, free: 8.441 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001106/0.8636, allocations: 1.242 MB / 0.6872 GB, free: 7.164 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001102/0.8647, allocations: 191.1 kB / 0.6874 GB, free: 6.98 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000446/0.8652, allocations: 87.42 kB / 0.6874 GB, free: 6.895 MB / 494.1 MB Notification: Performance of SimCode: time 9.52e-07/0.8652, allocations: 0 / 0.6874 GB, free: 6.895 MB / 494.1 MB Notification: Performance of Templates: time 0.05515/0.9203, allocations: 31.74 MB / 0.7184 GB, free: 7.266 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: