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: "" <> buildModelFMU(OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_CGMES_TG_GovHydroIEEE0_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_CGMES_TG_GovHydroIEEE0_Test",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 99.86 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.373/1.373, allocations: 223.2 MB / 238.9 MB, free: 5.465 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.001068/0.001067, allocations: 181 kB / 290.2 MB, free: 2.164 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4576/0.4576, allocations: 78.52 MB / 419.8 MB, free: 4.32 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004049/0.000405, allocations: 12 kB / 499.7 MB, free: 6.254 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1404, allocations: 69.36 MB / 0.5558 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test): time 0.2557/0.3961, allocations: 6.957 MB / 0.5626 GB, free: 37.18 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005633/0.4018, allocations: 2.591 MB / 0.5651 GB, free: 36.84 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001687/0.4036, allocations: 19.19 kB / 0.5651 GB, free: 36.83 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0011/0.4047, allocations: 238.4 kB / 0.5653 GB, free: 36.75 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003428/0.4081, allocations: 1.078 MB / 0.5664 GB, free: 36.5 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001605/0.4097, allocations: 0.6153 MB / 0.567 GB, free: 36.44 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00278/0.4125, allocations: 1.485 MB / 0.5684 GB, free: 36.05 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005212/0.4131, allocations: 305.3 kB / 0.5687 GB, free: 35.94 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001115/0.4142, allocations: 0.793 MB / 0.5695 GB, free: 35.6 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001286/0.4155, allocations: 0.9947 MB / 0.5705 GB, free: 35.2 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002571/0.4158, allocations: 90.88 kB / 0.5706 GB, free: 35.19 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007372/0.4165, allocations: 284.6 kB / 0.5708 GB, free: 35.13 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002746/0.4168, allocations: 364 kB / 0.5712 GB, free: 34.94 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002972/0.4171, allocations: 284.2 kB / 0.5715 GB, free: 34.76 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001345/0.4184, allocations: 1.626 MB / 0.573 GB, free: 34.31 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.4185, allocations: 2.469 kB / 0.573 GB, free: 34.31 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4185, allocations: 0 / 0.573 GB, free: 34.31 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.258e-05/0.4185, allocations: 1.656 kB / 0.573 GB, free: 34.31 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.01291/0.4314, allocations: 3.612 MB / 0.5766 GB, free: 33.03 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.4315, allocations: 9.531 kB / 0.5766 GB, free: 33.03 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004549/0.4319, allocations: 155.4 kB / 0.5767 GB, free: 32.93 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004772/0.4367, allocations: 0.7527 MB / 0.5775 GB, free: 32.76 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002277/0.439, allocations: 1.138 MB / 0.5786 GB, free: 32.08 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003481/0.4394, allocations: 405.3 kB / 0.579 GB, free: 31.73 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000194/0.4396, allocations: 106.5 kB / 0.5791 GB, free: 31.69 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002605/0.4422, allocations: 1.468 MB / 0.5805 GB, free: 31.14 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/0.4422, allocations: 2.969 kB / 0.5805 GB, free: 31.14 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000117/0.4424, allocations: 37.89 kB / 0.5805 GB, free: 31.11 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.617e-05/0.4424, allocations: 25.06 kB / 0.5806 GB, free: 31.11 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002764/0.4452, allocations: 1.452 MB / 0.582 GB, free: 30.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.008884/0.4541, allocations: 5.036 MB / 0.5869 GB, free: 27.71 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00933/0.4634, allocations: 3.5 MB / 0.5903 GB, free: 26.5 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002946/0.4638, allocations: 23.61 kB / 0.5903 GB, free: 26.49 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.791e-05/0.4638, allocations: 52.08 kB / 0.5904 GB, free: 26.44 MB / 430.1 MB Notification: Performance of pre-optimization done (n=123): time 3.467e-06/0.4638, allocations: 0 / 0.5904 GB, free: 26.44 MB / 430.1 MB Notification: Performance of matching and sorting (n=123): time 0.04685/0.5107, allocations: 12.05 MB / 0.6022 GB, free: 24.57 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.093e-05/0.5108, allocations: 117 kB / 0.6023 GB, free: 24.44 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002826/0.5136, allocations: 1.451 MB / 0.6037 GB, free: 23.88 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000399/0.514, allocations: 50.89 kB / 0.6037 GB, free: 23.82 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004522/0.5145, allocations: 0.591 MB / 0.6043 GB, free: 23.36 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005763/0.5151, allocations: 457.5 kB / 0.6047 GB, free: 23 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001228/0.5152, allocations: 30.44 kB / 0.6048 GB, free: 22.97 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.5153, allocations: 369.6 kB / 0.6051 GB, free: 22.64 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002334/0.5177, allocations: 1.036 MB / 0.6061 GB, free: 22.28 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002509/0.5202, allocations: 1.23 MB / 0.6073 GB, free: 21.75 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002626/0.5228, allocations: 1.124 MB / 0.6084 GB, free: 21.27 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.005e-05/0.5229, allocations: 1.031 kB / 0.6084 GB, free: 21.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.01876/0.5416, allocations: 6.393 MB / 0.6147 GB, free: 17.49 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000267/0.5419, allocations: 1.345 MB / 0.616 GB, free: 16.06 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/0.542, allocations: 4 kB / 0.616 GB, free: 16.06 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009296/0.5513, allocations: 3.021 MB / 0.619 GB, free: 13.03 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001558/0.5529, allocations: 287.6 kB / 0.6192 GB, free: 12.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006202/0.5591, allocations: 3.015 MB / 0.6222 GB, free: 9.715 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002737/0.5619, allocations: 300.2 kB / 0.6225 GB, free: 9.422 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002433/0.5621, allocations: 60.84 kB / 0.6225 GB, free: 9.363 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.5622, allocations: 4 kB / 0.6225 GB, free: 9.359 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01655/0.5787, allocations: 6.196 MB / 0.6286 GB, free: 3.156 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.035e-05/0.5788, allocations: 4.875 kB / 0.6286 GB, free: 3.152 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009029/0.5878, allocations: 3.016 MB / 0.6315 GB, free: 136 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001618/0.5895, allocations: 275.6 kB / 0.6318 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006935/0.5964, allocations: 2.996 MB / 0.6347 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002785/0.5993, allocations: 286.6 kB / 0.635 GB, free: 12.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003216/0.5996, allocations: 59.98 kB / 0.635 GB, free: 12.5 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.001022/0.6007, allocations: 380.4 kB / 0.6354 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004708/0.6011, allocations: 162 kB / 0.6356 GB, free: 11.96 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0175/0.6186, allocations: 5.861 MB / 0.6413 GB, free: 6.078 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.076e-05/0.6187, allocations: 12 kB / 0.6413 GB, free: 6.066 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/0.6187, allocations: 0 / 0.6413 GB, free: 6.066 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.506e-05/0.6188, allocations: 13.59 kB / 0.6413 GB, free: 6.055 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.02112/0.6399, allocations: 7.92 MB / 0.649 GB, free: 13.98 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.498e-05/0.64, allocations: 0 / 0.649 GB, free: 13.98 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009891/0.641, allocations: 147.8 kB / 0.6492 GB, free: 13.84 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008256/0.6492, allocations: 2.51 MB / 0.6516 GB, free: 11.33 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003041/0.6496, allocations: 28.66 kB / 0.6517 GB, free: 11.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02695/0.6765, allocations: 10.88 MB / 0.6623 GB, free: 296 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/0.6766, allocations: 5.125 kB / 0.6623 GB, free: 292 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02028/0.6969, allocations: 7.206 MB / 0.6693 GB, free: 9.047 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007009/0.6976, allocations: 274.7 kB / 0.6696 GB, free: 8.758 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004171/0.6981, allocations: 28 kB / 0.6696 GB, free: 8.73 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001859/0.6999, allocations: 195.8 kB / 0.6698 GB, free: 8.539 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008106/0.7008, allocations: 253.3 kB / 0.67 GB, free: 8.293 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000126/0.7009, allocations: 28 kB / 0.6701 GB, free: 8.266 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001925/0.7028, allocations: 0.9969 MB / 0.671 GB, free: 7.27 MB / 478.1 MB Notification: Performance of sort global known variables: time 2e-07/0.7029, allocations: 4 kB / 0.671 GB, free: 7.266 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002858/0.7057, allocations: 0.8271 MB / 0.6719 GB, free: 6.438 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.02058/0.7263, allocations: 7.875 MB / 0.6795 GB, free: 14.52 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01627/0.7426, allocations: 5.391 MB / 0.6848 GB, free: 9.141 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.503e-06/0.7427, allocations: 0 / 0.6848 GB, free: 9.141 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00672/0.7494, allocations: 2.162 MB / 0.6869 GB, free: 6.969 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001609/0.7511, allocations: 127.9 kB / 0.687 GB, free: 6.848 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008382/0.7595, allocations: 6.425 MB / 0.6933 GB, free: 388 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000772/0.7603, allocations: 1.265 MB / 0.6945 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008603/0.7612, allocations: 192.2 kB / 0.6947 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007439/0.7619, allocations: 0.593 MB / 0.6953 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of SimCode: time 9.62e-07/0.7619, allocations: 4 kB / 0.6953 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09638/0.8583, allocations: 43.21 MB / 0.7375 GB, free: 3.43 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001588/0.8585, allocations: 205.7 kB / 0.7377 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.065/3.923, allocations: 1.094 kB / 0.7377 GB, free: 3.188 MB / 0.5294 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_CGMES_TG_GovHydroIEEE0_Test_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_CGMES_TG_GovHydroIEEE0_Test.fmu > OpenIPSL_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test.pipe 2>&1) Environment - environmentSimulation: