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: 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/Complex 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 175.5 kB / 7.654 MB, free: 1.395 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 221.5 MB / 229.6 MB, free: 3.125 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008659/0.0008659, allocations: 88.42 kB / 280.5 MB, free: 1.133 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5536/0.5536, allocations: 78.06 MB / 409.3 MB, free: 15.35 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.798e-05/1.801e-05, allocations: 4 kB / 484.9 MB, free: 4.039 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3993/0.3993, allocations: 69.35 MB / 0.5413 GB, free: 21.79 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1484/0.5478, allocations: 108.7 MB / 0.6474 GB, free: 11.97 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002771/0.5481, allocations: 87.94 kB / 0.6475 GB, free: 11.89 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4489/0.9971, allocations: 41.51 MB / 0.688 GB, free: 105.6 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.9971, allocations: 4 kB / 0.688 GB, free: 105.6 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000101/0.9972, allocations: 30.38 kB / 0.6881 GB, free: 105.6 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.005636/1.003, allocations: 2.013 MB / 0.69 GB, free: 104.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/1.003, allocations: 10.03 kB / 0.69 GB, free: 104.7 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003348/1.006, allocations: 0.5525 MB / 0.6906 GB, free: 104.6 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001983/1.008, allocations: 1.016 MB / 0.6916 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003266/1.009, allocations: 361.6 kB / 0.6919 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001616/1.009, allocations: 62.27 kB / 0.692 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001756/1.011, allocations: 1.088 MB / 0.693 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001596/1.012, allocations: 1.051 MB / 0.6941 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.26e-05/1.012, allocations: 3.969 kB / 0.6941 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/1.012, allocations: 3.953 kB / 0.6941 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.586e-05/1.012, allocations: 21.94 kB / 0.6941 GB, free: 103.8 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.007387/1.02, allocations: 4.625 MB / 0.6986 GB, free: 101.4 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007017/1.027, allocations: 3.097 MB / 0.7016 GB, free: 100.2 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001184/1.028, allocations: 0.6962 MB / 0.7023 GB, free: 99.89 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001599/1.028, allocations: 29.31 kB / 0.7023 GB, free: 99.88 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/1.028, allocations: 51.62 kB / 0.7024 GB, free: 99.82 MB / 490.7 MB Notification: Performance of pre-optimization done (n=123): time 3.286e-06/1.028, allocations: 0 / 0.7024 GB, free: 99.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=123): time 0.01442/1.043, allocations: 4.858 MB / 0.7071 GB, free: 98.77 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.393e-05/1.043, allocations: 119 kB / 0.7073 GB, free: 98.64 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002008/1.045, allocations: 1.083 MB / 0.7083 GB, free: 98.18 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004109/1.045, allocations: 25.7 kB / 0.7083 GB, free: 98.14 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003482/1.046, allocations: 0.6175 MB / 0.7089 GB, free: 97.65 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004164/1.046, allocations: 421.8 kB / 0.7093 GB, free: 97.32 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.017e-05/1.046, allocations: 0 / 0.7093 GB, free: 97.32 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.868e-05/1.046, allocations: 349.8 kB / 0.7097 GB, free: 97 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000843/1.047, allocations: 0.5456 MB / 0.7102 GB, free: 96.73 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008675/1.048, allocations: 0.6908 MB / 0.7109 GB, free: 96.32 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001098/1.049, allocations: 0.6248 MB / 0.7115 GB, free: 96.04 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/1.049, allocations: 0 / 0.7115 GB, free: 96.04 MB / 490.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.003485/1.053, allocations: 1.903 MB / 0.7134 GB, free: 95.11 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002891/1.053, allocations: 1.359 MB / 0.7147 GB, free: 93.63 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/1.053, allocations: 8 kB / 0.7147 GB, free: 93.62 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007017/1.06, allocations: 2.271 MB / 0.7169 GB, free: 91.85 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008571/1.061, allocations: 172.9 kB / 0.7171 GB, free: 91.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004275/1.065, allocations: 2.426 MB / 0.7194 GB, free: 89.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002247/1.067, allocations: 231.5 kB / 0.7197 GB, free: 89.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000212/1.068, allocations: 47.61 kB / 0.7197 GB, free: 89.18 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/1.068, allocations: 0 / 0.7197 GB, free: 89.18 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002959/1.071, allocations: 1.721 MB / 0.7214 GB, free: 87.46 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/1.071, allocations: 4 kB / 0.7214 GB, free: 87.45 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006801/1.077, allocations: 2.281 MB / 0.7236 GB, free: 85.18 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007873/1.078, allocations: 167.7 kB / 0.7238 GB, free: 85.01 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004094/1.082, allocations: 2.413 MB / 0.7261 GB, free: 82.57 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002244/1.085, allocations: 234.9 kB / 0.7264 GB, free: 82.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001923/1.085, allocations: 39.98 kB / 0.7264 GB, free: 82.3 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.0004551/1.085, allocations: 117.5 kB / 0.7265 GB, free: 82.18 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006185/1.086, allocations: 158 kB / 0.7267 GB, free: 82.03 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01384/1.1, allocations: 5.049 MB / 0.7316 GB, free: 76.96 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.137e-05/1.1, allocations: 12 kB / 0.7316 GB, free: 76.95 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.498e-05/1.1, allocations: 4 kB / 0.7316 GB, free: 76.94 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.449e-05/1.1, allocations: 7.984 kB / 0.7316 GB, free: 76.93 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.01744/1.117, allocations: 6.868 MB / 0.7383 GB, free: 69.96 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.721e-05/1.117, allocations: 3.984 kB / 0.7383 GB, free: 69.96 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009457/1.118, allocations: 143.8 kB / 0.7385 GB, free: 69.82 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005776/1.124, allocations: 1.99 MB / 0.7404 GB, free: 67.83 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003009/1.124, allocations: 15.98 kB / 0.7404 GB, free: 67.81 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01592/1.14, allocations: 7.707 MB / 0.7479 GB, free: 59.98 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/1.14, allocations: 0 / 0.7479 GB, free: 59.98 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01593/1.156, allocations: 6.012 MB / 0.7538 GB, free: 53.95 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009464/1.157, allocations: 274.8 kB / 0.7541 GB, free: 53.66 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000834/1.158, allocations: 3.984 kB / 0.7541 GB, free: 53.65 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002372/1.161, allocations: 179.8 kB / 0.7543 GB, free: 53.48 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008929/1.162, allocations: 245.3 kB / 0.7545 GB, free: 53.24 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002117/1.162, allocations: 35.98 kB / 0.7545 GB, free: 53.2 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001505/1.163, allocations: 0.8249 MB / 0.7553 GB, free: 52.38 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.71e-07/1.163, allocations: 4 kB / 0.7553 GB, free: 52.38 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003184/1.167, allocations: 0.6706 MB / 0.756 GB, free: 51.7 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.0004852/1.167, allocations: 166.7 kB / 0.7561 GB, free: 51.54 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01882/1.186, allocations: 3.879 MB / 0.7599 GB, free: 47.65 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.338e-06/1.186, allocations: 4.109 kB / 0.7599 GB, free: 47.64 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009205/1.195, allocations: 1.81 MB / 0.7617 GB, free: 45.82 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002268/1.197, allocations: 114.4 kB / 0.7618 GB, free: 45.71 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008295/1.206, allocations: 2.404 MB / 0.7642 GB, free: 43.31 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001282/1.207, allocations: 1.267 MB / 0.7654 GB, free: 42.01 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003256/1.21, allocations: 270.7 kB / 0.7657 GB, free: 41.75 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004425/1.211, allocations: 67.42 kB / 0.7657 GB, free: 41.68 MB / 490.7 MB Notification: Performance of SimCode: time 3.667e-06/1.211, allocations: 0 / 0.7657 GB, free: 41.68 MB / 490.7 MB Notification: Performance of Templates: time 0.04994/1.261, allocations: 29.66 MB / 0.7947 GB, free: 12.13 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test.makefile (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)