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.0009669/0.0009669, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.318/1.318, allocations: 205.2 MB / 218.5 MB, free: 9.219 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.0007765/0.0007766, allocations: 100.8 kB / 266.6 MB, free: 9.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06621/0.06621, allocations: 12.2 MB / 326.9 MB, free: 12.88 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2712/0.2712, allocations: 78.02 MB / 455.6 MB, free: 15.37 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.471e-05/3.473e-05, allocations: 4 kB / 0.5213 GB, free: 24.12 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1105, allocations: 69.24 MB / 0.5889 GB, free: 2.941 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3737/0.4842, allocations: 110.8 MB / 0.6971 GB, free: 5.594 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002313/0.4845, allocations: 97.17 kB / 0.6972 GB, free: 5.539 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1053/0.5898, allocations: 40.97 MB / 0.7372 GB, free: 3.027 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5899, allocations: 0 / 0.7372 GB, free: 3.027 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.661e-05/0.59, allocations: 31.94 kB / 0.7373 GB, free: 2.996 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.005067/0.595, allocations: 2.02 MB / 0.7392 GB, free: 1.062 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.5951, allocations: 11.98 kB / 0.7393 GB, free: 1.051 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002348/0.5953, allocations: 149.3 kB / 0.7394 GB, free: 0.9609 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002868/0.5982, allocations: 0.5486 MB / 0.7399 GB, free: 460 kB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001648/0.5999, allocations: 1.024 MB / 0.7409 GB, free: 15.62 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003622/0.6003, allocations: 407.5 kB / 0.7413 GB, free: 15.2 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001745/0.6004, allocations: 89.38 kB / 0.7414 GB, free: 15.14 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001843/0.6023, allocations: 1.19 MB / 0.7426 GB, free: 14.36 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.6023, allocations: 4 kB / 0.7426 GB, free: 14.36 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/0.6024, allocations: 35.38 kB / 0.7426 GB, free: 14.35 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.583e-05/0.6025, allocations: 24 kB / 0.7426 GB, free: 14.32 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001782/0.6042, allocations: 1.136 MB / 0.7437 GB, free: 13.61 MB / 490.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.007384/0.6116, allocations: 4.788 MB / 0.7484 GB, free: 9.855 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0074/0.6191, allocations: 3.139 MB / 0.7515 GB, free: 7.066 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001141/0.6202, allocations: 0.7422 MB / 0.7522 GB, free: 6.656 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000139/0.6204, allocations: 20.97 kB / 0.7522 GB, free: 6.633 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.6204, allocations: 49.31 kB / 0.7523 GB, free: 6.586 MB / 490.7 MB Notification: Performance of pre-optimization done (n=123): time 3.366e-06/0.6204, allocations: 0 / 0.7523 GB, free: 6.586 MB / 490.7 MB Notification: Performance of matching and sorting (n=123): time 0.01402/0.6345, allocations: 4.933 MB / 0.7571 GB, free: 2.332 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.64e-05/0.6346, allocations: 115.8 kB / 0.7572 GB, free: 2.191 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001761/0.6363, allocations: 1.159 MB / 0.7583 GB, free: 1.047 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002718/0.6366, allocations: 45.7 kB / 0.7584 GB, free: 0.9961 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000414/0.637, allocations: 0.6244 MB / 0.759 GB, free: 372 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004328/0.6375, allocations: 441.6 kB / 0.7594 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.061e-05/0.6376, allocations: 24 kB / 0.7594 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.6377, allocations: 341.9 kB / 0.7598 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009432/0.6386, allocations: 0.5689 MB / 0.7603 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001006/0.6396, allocations: 0.7266 MB / 0.761 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/0.6406, allocations: 0.6245 MB / 0.7616 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.6407, allocations: 0 / 0.7616 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.003381/0.644, allocations: 2.013 MB / 0.7636 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003817/0.6444, allocations: 1.351 MB / 0.7649 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.6445, allocations: 4 kB / 0.7649 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007649/0.6521, allocations: 2.511 MB / 0.7674 GB, free: 7.578 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000848/0.653, allocations: 171.7 kB / 0.7675 GB, free: 7.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004144/0.6572, allocations: 2.253 MB / 0.7697 GB, free: 5.125 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002046/0.6592, allocations: 262.9 kB / 0.77 GB, free: 4.867 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001244/0.6594, allocations: 39.98 kB / 0.77 GB, free: 4.828 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.6594, allocations: 4 kB / 0.77 GB, free: 4.824 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003082/0.6625, allocations: 1.845 MB / 0.7718 GB, free: 2.977 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.6625, allocations: 0 / 0.7718 GB, free: 2.977 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007568/0.6701, allocations: 2.512 MB / 0.7743 GB, free: 468 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008093/0.6709, allocations: 167.7 kB / 0.7744 GB, free: 300 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004296/0.6752, allocations: 2.246 MB / 0.7766 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002137/0.6774, allocations: 250.9 kB / 0.7769 GB, free: 13.78 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001215/0.6775, allocations: 43.98 kB / 0.7769 GB, free: 13.73 MB / 0.5105 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.0003575/0.6779, allocations: 174.1 kB / 0.7771 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002891/0.6782, allocations: 158 kB / 0.7772 GB, free: 13.4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01477/0.6929, allocations: 5.167 MB / 0.7823 GB, free: 8.219 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.777e-05/0.693, allocations: 15.95 kB / 0.7823 GB, free: 8.203 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.693, allocations: 0 / 0.7823 GB, free: 8.203 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.001e-05/0.693, allocations: 7.984 kB / 0.7823 GB, free: 8.195 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.01685/0.7099, allocations: 7.081 MB / 0.7892 GB, free: 0.9727 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.605e-05/0.71, allocations: 3.984 kB / 0.7892 GB, free: 0.9688 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009171/0.7109, allocations: 139.8 kB / 0.7894 GB, free: 0.832 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006149/0.717, allocations: 2.005 MB / 0.7913 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000208/0.7173, allocations: 31.98 kB / 0.7913 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01672/0.734, allocations: 7.841 MB / 0.799 GB, free: 6.809 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.734, allocations: 0 / 0.799 GB, free: 6.809 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01611/0.7502, allocations: 6.129 MB / 0.805 GB, free: 0.6406 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006648/0.7509, allocations: 274.7 kB / 0.8053 GB, free: 360 kB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002731/0.7511, allocations: 31.98 kB / 0.8053 GB, free: 328 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001702/0.7529, allocations: 195.8 kB / 0.8055 GB, free: 132 kB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007179/0.7536, allocations: 241.3 kB / 0.8057 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.566e-05/0.7537, allocations: 39.98 kB / 0.8057 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001227/0.7549, allocations: 0.9059 MB / 0.8066 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.11e-07/0.7549, allocations: 0 / 0.8066 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001763/0.7567, allocations: 0.7371 MB / 0.8073 GB, free: 14.21 MB / 0.5417 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.01648/0.7732, allocations: 6.812 MB / 0.814 GB, free: 7.359 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01172/0.7849, allocations: 3.975 MB / 0.8179 GB, free: 3.387 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/0.785, allocations: 4.062 kB / 0.8179 GB, free: 3.383 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.005374/0.7904, allocations: 1.877 MB / 0.8197 GB, free: 1.492 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00125/0.7917, allocations: 133.1 kB / 0.8198 GB, free: 1.363 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005051/0.7967, allocations: 2.741 MB / 0.8225 GB, free: 14.56 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006605/0.7974, allocations: 1.271 MB / 0.8238 GB, free: 13.26 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001037/0.7985, allocations: 272.6 kB / 0.824 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006184/0.7991, allocations: 0.5657 MB / 0.8246 GB, free: 12.42 MB / 0.5573 GB Notification: Performance of SimCode: time 1.913e-06/0.7991, allocations: 0 / 0.8246 GB, free: 12.42 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3029/1.102, allocations: 45.24 MB / 0.8688 GB, free: 183.7 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001377/1.102, allocations: 186.1 kB / 0.8689 GB, free: 183.4 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.387/4.489, allocations: 0 / 0.8689 GB, free: 183.4 MB / 0.5886 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)