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/Complex 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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/Complex 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.252/1.252, allocations: 221.4 MB / 234.6 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000827/0.000827, allocations: 89.69 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4459/0.4459, allocations: 78.02 MB / 414.5 MB, free: 10.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.138e-05/3.141e-05, allocations: 0 / 491.9 MB, free: 13.81 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.3107, allocations: 69.35 MB / 0.5481 GB, free: 20.08 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1287/0.4395, allocations: 109.3 MB / 0.6548 GB, free: 7.043 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002471/0.4398, allocations: 87.94 kB / 0.6549 GB, free: 6.957 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3748/0.8146, allocations: 42.01 MB / 0.6959 GB, free: 106.2 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.8146, allocations: 0 / 0.6959 GB, free: 106.2 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.985e-05/0.8147, allocations: 34.5 kB / 0.696 GB, free: 106.2 MB / 490.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.004902/0.8196, allocations: 2.022 MB / 0.698 GB, free: 105.2 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.8197, allocations: 11.75 kB / 0.698 GB, free: 105.2 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002506/0.8199, allocations: 148.8 kB / 0.6981 GB, free: 105.1 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003158/0.8231, allocations: 0.5513 MB / 0.6986 GB, free: 105 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002383/0.8255, allocations: 1.023 MB / 0.6996 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004685/0.826, allocations: 398.1 kB / 0.7 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003812/0.8264, allocations: 95.16 kB / 0.7001 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002188/0.8286, allocations: 1.192 MB / 0.7013 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.347e-05/0.8287, allocations: 3.938 kB / 0.7013 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001207/0.8288, allocations: 35.81 kB / 0.7013 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.791e-05/0.8288, allocations: 22.41 kB / 0.7013 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001883/0.8307, allocations: 1.139 MB / 0.7024 GB, free: 102.9 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.007605/0.8383, allocations: 4.781 MB / 0.7071 GB, free: 100.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007066/0.8454, allocations: 3.151 MB / 0.7102 GB, free: 98.36 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009776/0.8464, allocations: 0.7266 MB / 0.7109 GB, free: 97.64 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000141/0.8466, allocations: 24.52 kB / 0.7109 GB, free: 97.62 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.8466, allocations: 55.22 kB / 0.711 GB, free: 97.57 MB / 490.7 MB Notification: Performance of pre-optimization done (n=123): time 3.256e-06/0.8466, allocations: 0 / 0.711 GB, free: 97.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=123): time 0.01371/0.8603, allocations: 4.919 MB / 0.7158 GB, free: 92.78 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.8604, allocations: 119.8 kB / 0.7159 GB, free: 92.64 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002082/0.8625, allocations: 1.16 MB / 0.717 GB, free: 91.47 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003513/0.8628, allocations: 49.64 kB / 0.7171 GB, free: 91.41 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003593/0.8632, allocations: 0.6244 MB / 0.7177 GB, free: 90.78 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005065/0.8637, allocations: 441.4 kB / 0.7181 GB, free: 90.35 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.8638, allocations: 20 kB / 0.7181 GB, free: 90.33 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.164e-05/0.8639, allocations: 345.9 kB / 0.7185 GB, free: 89.99 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009629/0.8649, allocations: 0.5689 MB / 0.719 GB, free: 89.42 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001013/0.8659, allocations: 0.7227 MB / 0.7197 GB, free: 88.64 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001003/0.8669, allocations: 0.6323 MB / 0.7203 GB, free: 88.02 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.867, allocations: 0 / 0.7203 GB, free: 88.02 MB / 490.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.003271/0.8702, allocations: 2.005 MB / 0.7223 GB, free: 86 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002223/0.8705, allocations: 1.347 MB / 0.7236 GB, free: 84.53 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.8705, allocations: 8 kB / 0.7236 GB, free: 84.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007342/0.8778, allocations: 2.515 MB / 0.7261 GB, free: 82 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007637/0.8786, allocations: 175.7 kB / 0.7262 GB, free: 81.83 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003883/0.8825, allocations: 2.253 MB / 0.7284 GB, free: 79.55 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002175/0.8847, allocations: 262.8 kB / 0.7287 GB, free: 79.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001847/0.8849, allocations: 39.98 kB / 0.7287 GB, free: 79.26 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.8849, allocations: 4 kB / 0.7287 GB, free: 79.25 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003002/0.8879, allocations: 1.841 MB / 0.7305 GB, free: 77.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.888, allocations: 0 / 0.7305 GB, free: 77.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00718/0.8952, allocations: 2.516 MB / 0.733 GB, free: 74.89 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007085/0.8959, allocations: 163.7 kB / 0.7331 GB, free: 74.73 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003774/0.8997, allocations: 2.249 MB / 0.7353 GB, free: 72.45 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001969/0.9016, allocations: 258.2 kB / 0.7356 GB, free: 72.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001506/0.9018, allocations: 39.98 kB / 0.7356 GB, free: 72.16 MB / 490.7 MB 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.0004037/0.9022, allocations: 170.3 kB / 0.7358 GB, free: 72 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005895/0.9028, allocations: 165.9 kB / 0.7359 GB, free: 71.83 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01422/0.917, allocations: 5.151 MB / 0.741 GB, free: 66.67 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.921e-05/0.9171, allocations: 12 kB / 0.741 GB, free: 66.66 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.036e-06/0.9171, allocations: 0 / 0.741 GB, free: 66.66 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.276e-05/0.9172, allocations: 11.98 kB / 0.741 GB, free: 66.64 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 postOpt removeSimpleEquations (simulation): time 0.01791/0.9351, allocations: 7.084 MB / 0.7479 GB, free: 59.45 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.595e-05/0.9351, allocations: 0 / 0.7479 GB, free: 59.45 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009051/0.936, allocations: 151.8 kB / 0.7481 GB, free: 59.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005892/0.942, allocations: 2.002 MB / 0.75 GB, free: 57.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002731/0.9423, allocations: 27.98 kB / 0.75 GB, free: 57.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01557/0.9578, allocations: 7.849 MB / 0.7577 GB, free: 49.29 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.9579, allocations: 0 / 0.7577 GB, free: 49.29 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01496/0.9728, allocations: 6.126 MB / 0.7637 GB, free: 43.13 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006393/0.9735, allocations: 274.8 kB / 0.764 GB, free: 42.84 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004713/0.974, allocations: 27.98 kB / 0.764 GB, free: 42.81 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001973/0.976, allocations: 199.8 kB / 0.7642 GB, free: 42.62 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007747/0.9768, allocations: 245.3 kB / 0.7644 GB, free: 42.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000141/0.9769, allocations: 35.98 kB / 0.7644 GB, free: 42.34 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001341/0.9783, allocations: 0.9059 MB / 0.7653 GB, free: 41.43 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.1e-07/0.9783, allocations: 0 / 0.7653 GB, free: 41.43 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002531/0.9808, allocations: 0.7411 MB / 0.766 GB, free: 40.69 MB / 490.7 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 () * 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.01536/0.9962, allocations: 6.815 MB / 0.7727 GB, free: 33.84 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01127/1.007, allocations: 3.975 MB / 0.7766 GB, free: 29.88 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/1.008, allocations: 0 / 0.7766 GB, free: 29.88 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005025/1.013, allocations: 1.869 MB / 0.7784 GB, free: 27.99 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/1.014, allocations: 134.7 kB / 0.7785 GB, free: 27.86 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00541/1.019, allocations: 2.754 MB / 0.7812 GB, free: 25.09 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005223/1.02, allocations: 1.271 MB / 0.7825 GB, free: 23.79 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00116/1.021, allocations: 264.5 kB / 0.7827 GB, free: 23.52 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005477/1.021, allocations: 0.5695 MB / 0.7833 GB, free: 22.95 MB / 490.7 MB Notification: Performance of SimCode: time 1.072e-06/1.021, allocations: 0 / 0.7833 GB, free: 22.95 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0636/1.085, allocations: 45.21 MB / 0.8274 GB, free: 9.945 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002034/1.085, allocations: 183.1 kB / 0.8276 GB, free: 9.715 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.458/4.543, allocations: 0 / 0.8276 GB, free: 9.715 MB / 0.5105 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)