Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_CGMES_TG_GovHydroIEEE0_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test,fileNamePrefix="OpenIPSL_2_0_0_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/Complex 3.2.3+maint.om/package.mo): time 0.0009933/0.0009934, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.69/1.69, allocations: 205.3 MB / 213.4 MB, free: 13.76 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008662/0.0008665, allocations: 96.97 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07615/0.07615, allocations: 12.19 MB / 321.5 MB, free: 1.199 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3033/0.3033, allocations: 78.06 MB / 450.3 MB, free: 3.492 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.657e-05/2.69e-05, allocations: 4 kB / 0.5142 GB, free: 29.95 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1849/0.1849, allocations: 69.24 MB / 0.5819 GB, free: 8.836 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5877/0.7727, allocations: 110.1 MB / 0.6894 GB, free: 14.8 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003066/0.773, allocations: 92.25 kB / 0.6895 GB, free: 14.75 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1178/0.8909, allocations: 40.47 MB / 0.729 GB, free: 13.59 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.891, allocations: 4 kB / 0.729 GB, free: 13.59 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001166/0.8911, allocations: 27.94 kB / 0.7291 GB, free: 13.56 MB / 474.7 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.006679/0.8978, allocations: 2.016 MB / 0.731 GB, free: 11.64 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.901e-05/0.8978, allocations: 8.031 kB / 0.731 GB, free: 11.63 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003881/0.9017, allocations: 0.5504 MB / 0.7316 GB, free: 11.12 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003315/0.9051, allocations: 1.029 MB / 0.7326 GB, free: 10.29 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000528/0.9057, allocations: 374.3 kB / 0.7329 GB, free: 9.867 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003331/0.906, allocations: 55.75 kB / 0.733 GB, free: 9.816 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002163/0.9082, allocations: 1.083 MB / 0.734 GB, free: 9.16 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001903/0.9101, allocations: 1.059 MB / 0.7351 GB, free: 8.426 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.185e-05/0.9101, allocations: 0 / 0.7351 GB, free: 8.426 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001063/0.9102, allocations: 0 / 0.7351 GB, free: 8.426 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.422e-05/0.9103, allocations: 28 kB / 0.7351 GB, free: 8.398 MB / 474.7 MB Warning: The model contains alias variables with conflicting start and/or 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.01107/0.9214, allocations: 4.622 MB / 0.7396 GB, free: 4.762 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008121/0.9295, allocations: 3.112 MB / 0.7427 GB, free: 1.996 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0015/0.9311, allocations: 0.6958 MB / 0.7433 GB, free: 1.613 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001907/0.9313, allocations: 28.59 kB / 0.7434 GB, free: 1.59 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.268e-05/0.9313, allocations: 46.81 kB / 0.7434 GB, free: 1.543 MB / 474.7 MB Notification: Performance of pre-optimization done (n=123): time 3.807e-06/0.9314, allocations: 0 / 0.7434 GB, free: 1.543 MB / 474.7 MB Notification: Performance of matching and sorting (n=123): time 0.01666/0.948, allocations: 4.86 MB / 0.7482 GB, free: 13.07 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.039e-05/0.9482, allocations: 116.1 kB / 0.7483 GB, free: 12.93 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002358/0.9505, allocations: 1.079 MB / 0.7493 GB, free: 11.84 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004534/0.951, allocations: 29.64 kB / 0.7493 GB, free: 11.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005612/0.9516, allocations: 0.6164 MB / 0.7499 GB, free: 11.18 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006849/0.9523, allocations: 429.6 kB / 0.7504 GB, free: 10.75 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.122e-05/0.9524, allocations: 0 / 0.7504 GB, free: 10.75 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.9525, allocations: 349.9 kB / 0.7507 GB, free: 10.41 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00097/0.9535, allocations: 0.5455 MB / 0.7512 GB, free: 9.863 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00113/0.9547, allocations: 0.6967 MB / 0.7519 GB, free: 9.117 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001262/0.9559, allocations: 0.6141 MB / 0.7525 GB, free: 8.508 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.956, allocations: 0 / 0.7525 GB, free: 8.508 MB / 490.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.003943/0.9599, allocations: 1.915 MB / 0.7544 GB, free: 6.582 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000623/0.9606, allocations: 1.349 MB / 0.7557 GB, free: 5.105 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/0.9606, allocations: 4 kB / 0.7557 GB, free: 5.102 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007867/0.9685, allocations: 2.277 MB / 0.7579 GB, free: 2.82 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000973/0.9695, allocations: 171.7 kB / 0.7581 GB, free: 2.652 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005447/0.9749, allocations: 2.42 MB / 0.7604 GB, free: 208 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002597/0.9776, allocations: 234.9 kB / 0.7607 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002412/0.9779, allocations: 43.98 kB / 0.7607 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.9779, allocations: 4 kB / 0.7607 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003386/0.9813, allocations: 1.717 MB / 0.7624 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.9813, allocations: 8.094 kB / 0.7624 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007718/0.9891, allocations: 2.281 MB / 0.7646 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009592/0.9901, allocations: 163.7 kB / 0.7648 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005205/0.9953, allocations: 2.413 MB / 0.7671 GB, free: 9.312 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002603/0.998, allocations: 226.9 kB / 0.7674 GB, free: 9.09 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002113/0.9982, allocations: 43.92 kB / 0.7674 GB, free: 9.047 MB / 0.4948 GB Warning: Assuming fixed start value for the following 2 variables: govHydroIEEE0_1.waterway.x_scaled[1]:VARIABLE(protected = true ) "Scaled vector x" type: Real [1] govHydroIEEE0_1.GovernorB.x_scaled[1]:VARIABLE(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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 89 * 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.0004254/0.9986, allocations: 130.6 kB / 0.7675 GB, free: 8.914 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01546/1.014, allocations: 4.86 MB / 0.7723 GB, free: 4.039 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001017/1.015, allocations: 158 kB / 0.7724 GB, free: 3.883 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01603/1.031, allocations: 5.038 MB / 0.7773 GB, free: 14.83 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.101e-05/1.031, allocations: 12 kB / 0.7774 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-05/1.031, allocations: 4 kB / 0.7774 GB, free: 14.81 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.38e-05/1.031, allocations: 15.91 kB / 0.7774 GB, free: 14.8 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.01935/1.051, allocations: 6.881 MB / 0.7841 GB, free: 7.781 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.878e-05/1.051, allocations: 0 / 0.7841 GB, free: 7.781 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001109/1.052, allocations: 139.8 kB / 0.7842 GB, free: 7.645 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006826/1.059, allocations: 1.986 MB / 0.7862 GB, free: 5.656 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003941/1.059, allocations: 7.984 kB / 0.7862 GB, free: 5.648 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01919/1.078, allocations: 7.713 MB / 0.7937 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.01e-05/1.079, allocations: 7.938 kB / 0.7937 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01849/1.097, allocations: 6.016 MB / 0.7996 GB, free: 7.758 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009939/1.098, allocations: 274.8 kB / 0.7998 GB, free: 7.469 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004486/1.099, allocations: 0 / 0.7998 GB, free: 7.469 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001984/1.101, allocations: 179.8 kB / 0.8 GB, free: 7.293 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007881/1.101, allocations: 241.3 kB / 0.8002 GB, free: 7.055 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001029/1.101, allocations: 35.98 kB / 0.8003 GB, free: 7.02 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001744/1.103, allocations: 0.8327 MB / 0.8011 GB, free: 6.188 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.524e-06/1.103, allocations: 0 / 0.8011 GB, free: 6.188 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003063/1.106, allocations: 0.6668 MB / 0.8017 GB, free: 5.52 MB / 0.5261 GB 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 () * 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.01969/1.126, allocations: 6.687 MB / 0.8083 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01363/1.14, allocations: 3.871 MB / 0.8121 GB, free: 10.92 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/1.14, allocations: 0 / 0.8121 GB, free: 10.92 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.006281/1.146, allocations: 1.818 MB / 0.8138 GB, free: 9.09 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001648/1.148, allocations: 121.4 kB / 0.8139 GB, free: 8.969 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006995/1.155, allocations: 2.628 MB / 0.8165 GB, free: 6.285 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001039/1.156, allocations: 1.267 MB / 0.8178 GB, free: 4.988 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001513/1.157, allocations: 276.5 kB / 0.818 GB, free: 4.711 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008139/1.158, allocations: 0.5618 MB / 0.8186 GB, free: 4.148 MB / 0.5417 GB Notification: Performance of SimCode: time 9.72e-07/1.158, allocations: 4 kB / 0.8186 GB, free: 4.145 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3726/1.531, allocations: 42.1 MB / 0.8597 GB, free: 177.3 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001543/1.531, allocations: 142 kB / 0.8598 GB, free: 177.1 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.231/5.762, allocations: 3.938 kB / 0.8598 GB, free: 177.1 MB / 0.573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_CGMES_TG_GovHydroIEEE0_Test_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_CGMES_TG_GovHydroIEEE0_Test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test.pipe 2>&1)