Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_dev_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_dev_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.001151/0.001151, allocations: 173.9 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.268/1.268, 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.0009754/0.0009755, allocations: 95.39 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5078/0.5078, allocations: 78.89 MB / 415.4 MB, free: 10.26 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.227e-05/3.229e-05, allocations: 0 / 492.8 MB, free: 13.11 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3526/0.3527, allocations: 69.5 MB / 0.5491 GB, free: 19.56 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1377/0.4905, allocations: 110 MB / 0.6565 GB, free: 5.574 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002521/0.4908, allocations: 95.92 kB / 0.6566 GB, free: 5.48 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.414/0.9048, allocations: 40.44 MB / 0.6961 GB, free: 106.2 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.9049, allocations: 0 / 0.6961 GB, free: 106.2 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001146/0.905, allocations: 31.44 kB / 0.6962 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.005651/0.9106, allocations: 2.016 MB / 0.6981 GB, free: 105.2 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.9107, allocations: 13.81 kB / 0.6981 GB, free: 105.2 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004062/0.9148, allocations: 0.6737 MB / 0.6988 GB, free: 105.1 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002526/0.9173, allocations: 1.056 MB / 0.6998 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004021/0.9177, allocations: 394.1 kB / 0.7002 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004255/0.9182, allocations: 97.66 kB / 0.7003 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002404/0.9206, allocations: 1.196 MB / 0.7015 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.428e-05/0.9206, allocations: 0 / 0.7015 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001448/0.9208, allocations: 37.66 kB / 0.7015 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.737e-05/0.9208, allocations: 21.69 kB / 0.7015 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002053/0.9229, allocations: 1.144 MB / 0.7026 GB, free: 103 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.009608/0.9325, allocations: 4.83 MB / 0.7074 GB, free: 100.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007856/0.9404, allocations: 3.146 MB / 0.7104 GB, free: 97.93 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001666/0.9421, allocations: 0.7261 MB / 0.7111 GB, free: 97.21 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002461/0.9424, allocations: 23.95 kB / 0.7112 GB, free: 97.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.85e-05/0.9424, allocations: 51.56 kB / 0.7112 GB, free: 97.14 MB / 490.7 MB Notification: Performance of pre-optimization done (n=123): time 4.399e-06/0.9424, allocations: 0 / 0.7112 GB, free: 97.14 MB / 490.7 MB Notification: Performance of matching and sorting (n=123): time 0.01524/0.9577, allocations: 4.921 MB / 0.716 GB, free: 92.24 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.078e-05/0.9578, allocations: 123.8 kB / 0.7161 GB, free: 92.09 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002234/0.9601, allocations: 1.203 MB / 0.7173 GB, free: 90.88 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003268/0.9604, allocations: 45.7 kB / 0.7174 GB, free: 90.83 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000384/0.9608, allocations: 0.6243 MB / 0.718 GB, free: 90.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005801/0.9614, allocations: 437.3 kB / 0.7184 GB, free: 89.77 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000172/0.9616, allocations: 20 kB / 0.7184 GB, free: 89.75 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.77e-05/0.9617, allocations: 353.9 kB / 0.7187 GB, free: 89.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001026/0.9627, allocations: 0.565 MB / 0.7193 GB, free: 88.83 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00104/0.9638, allocations: 0.7227 MB / 0.72 GB, free: 88.06 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/0.9648, allocations: 0.6323 MB / 0.7206 GB, free: 87.43 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.9648, allocations: 0 / 0.7206 GB, free: 87.43 MB / 490.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.003505/0.9683, allocations: 2.009 MB / 0.7226 GB, free: 85.41 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002452/0.9686, allocations: 1.353 MB / 0.7239 GB, free: 83.94 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.9686, allocations: 0 / 0.7239 GB, free: 83.94 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007361/0.976, allocations: 2.515 MB / 0.7264 GB, free: 81.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008644/0.9769, allocations: 179.7 kB / 0.7265 GB, free: 81.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003968/0.9809, allocations: 2.257 MB / 0.7287 GB, free: 78.97 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002318/0.9832, allocations: 258.8 kB / 0.729 GB, free: 78.71 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002278/0.9834, allocations: 51.42 kB / 0.729 GB, free: 78.67 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.9835, allocations: 4 kB / 0.729 GB, free: 78.66 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00319/0.9867, allocations: 1.829 MB / 0.7308 GB, free: 76.83 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.9867, allocations: 7.984 kB / 0.7308 GB, free: 76.82 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007424/0.9941, allocations: 2.508 MB / 0.7333 GB, free: 74.31 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008781/0.995, allocations: 171.7 kB / 0.7334 GB, free: 74.14 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00421/0.9993, allocations: 2.242 MB / 0.7356 GB, free: 71.88 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002227/1.002, allocations: 258.9 kB / 0.7359 GB, free: 71.62 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000201/1.002, allocations: 39.98 kB / 0.7359 GB, free: 71.58 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.0004182/1.002, allocations: 160.9 kB / 0.7361 GB, free: 71.42 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006349/1.003, allocations: 161.9 kB / 0.7362 GB, free: 71.26 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01434/1.017, allocations: 5.163 MB / 0.7413 GB, free: 66.08 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.897e-05/1.017, allocations: 16 kB / 0.7413 GB, free: 66.07 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/1.017, allocations: 0 / 0.7413 GB, free: 66.07 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.826e-05/1.017, allocations: 7.922 kB / 0.7413 GB, free: 66.06 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.01751/1.035, allocations: 7.115 MB / 0.7482 GB, free: 58.83 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-05/1.035, allocations: 4 kB / 0.7482 GB, free: 58.83 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009981/1.036, allocations: 143.8 kB / 0.7484 GB, free: 58.69 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006152/1.042, allocations: 2.009 MB / 0.7503 GB, free: 56.67 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003568/1.042, allocations: 27.98 kB / 0.7504 GB, free: 56.64 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01695/1.059, allocations: 7.845 MB / 0.758 GB, free: 48.66 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.059, allocations: 0 / 0.758 GB, free: 48.66 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01618/1.076, allocations: 6.124 MB / 0.764 GB, free: 42.51 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000739/1.076, allocations: 282.8 kB / 0.7643 GB, free: 42.21 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005854/1.077, allocations: 23.94 kB / 0.7643 GB, free: 42.19 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00207/1.079, allocations: 199.8 kB / 0.7645 GB, free: 41.99 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008097/1.08, allocations: 252.8 kB / 0.7647 GB, free: 41.75 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000174/1.08, allocations: 35.95 kB / 0.7648 GB, free: 41.71 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00152/1.082, allocations: 0.9412 MB / 0.7657 GB, free: 40.77 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.21e-07/1.082, allocations: 3.938 kB / 0.7657 GB, free: 40.77 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002544/1.084, allocations: 0.7411 MB / 0.7664 GB, free: 40.03 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.0003949/1.085, allocations: 186.9 kB / 0.7666 GB, free: 39.84 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01122/1.096, allocations: 3.976 MB / 0.7705 GB, free: 35.87 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.083e-05/1.096, allocations: 0 / 0.7705 GB, free: 35.87 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005271/1.101, allocations: 1.876 MB / 0.7723 GB, free: 33.98 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001685/1.103, allocations: 134.1 kB / 0.7724 GB, free: 33.85 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005173/1.108, allocations: 2.47 MB / 0.7748 GB, free: 31.35 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007685/1.109, allocations: 1.263 MB / 0.7761 GB, free: 30.05 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001615/1.111, allocations: 280.6 kB / 0.7763 GB, free: 29.77 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002708/1.111, allocations: 63.44 kB / 0.7764 GB, free: 29.71 MB / 490.7 MB Notification: Performance of SimCode: time 1.513e-06/1.111, allocations: 0 / 0.7764 GB, free: 29.71 MB / 490.7 MB Notification: Performance of Templates: time 0.04762/1.159, allocations: 32.59 MB / 0.8082 GB, free: 13.13 MB / 0.4948 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test.pipe 2>&1)