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.001543/0.001543, 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.255/1.255, 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.0008887/0.0008887, allocations: 94.92 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.4617/0.4617, allocations: 78.02 MB / 414.5 MB, free: 10.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.686e-05/2.689e-05, allocations: 4 kB / 491.8 MB, free: 13.9 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.3201, allocations: 69.33 MB / 0.548 GB, free: 20.22 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1888/0.5089, allocations: 109.3 MB / 0.6547 GB, free: 7.066 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003108/0.5092, allocations: 83.95 kB / 0.6548 GB, free: 6.984 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3828/0.8921, allocations: 42.02 MB / 0.6958 GB, free: 106.3 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.8921, allocations: 3.719 kB / 0.6959 GB, free: 106.3 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.885e-05/0.8922, allocations: 26.78 kB / 0.6959 GB, free: 106.3 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.004517/0.8967, allocations: 2.009 MB / 0.6978 GB, free: 105.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.8967, allocations: 16.47 kB / 0.6979 GB, free: 105.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002737/0.8995, allocations: 0.5526 MB / 0.6984 GB, free: 105.2 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00139/0.9009, allocations: 1.019 MB / 0.6994 GB, free: 104.5 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003055/0.9012, allocations: 402.4 kB / 0.6998 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001684/0.9014, allocations: 95.22 kB / 0.6999 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00173/0.9031, allocations: 1.193 MB / 0.701 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.9031, allocations: 0 / 0.701 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001094/0.9033, allocations: 39.81 kB / 0.7011 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/0.9033, allocations: 21.22 kB / 0.7011 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001657/0.9049, allocations: 1.135 MB / 0.7022 GB, free: 103.1 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.00649/0.9114, allocations: 4.785 MB / 0.7069 GB, free: 100.4 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006906/0.9184, allocations: 3.151 MB / 0.7099 GB, free: 98.5 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009418/0.9193, allocations: 0.7292 MB / 0.7107 GB, free: 97.77 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001381/0.9195, allocations: 20.41 kB / 0.7107 GB, free: 97.76 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.9195, allocations: 43.56 kB / 0.7107 GB, free: 97.71 MB / 490.7 MB Notification: Performance of pre-optimization done (n=123): time 3.186e-06/0.9195, allocations: 4 kB / 0.7107 GB, free: 97.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=123): time 0.01355/0.9331, allocations: 4.924 MB / 0.7155 GB, free: 93 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/0.9331, allocations: 115.8 kB / 0.7156 GB, free: 92.86 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001597/0.9348, allocations: 1.156 MB / 0.7168 GB, free: 91.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000233/0.935, allocations: 57.7 kB / 0.7168 GB, free: 91.63 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003177/0.9353, allocations: 0.6242 MB / 0.7174 GB, free: 91 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003404/0.9357, allocations: 441.3 kB / 0.7179 GB, free: 90.57 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.129e-05/0.9358, allocations: 20 kB / 0.7179 GB, free: 90.55 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.244e-05/0.9358, allocations: 349.9 kB / 0.7182 GB, free: 90.21 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008615/0.9367, allocations: 0.565 MB / 0.7188 GB, free: 89.64 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008766/0.9376, allocations: 0.7266 MB / 0.7195 GB, free: 88.86 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009255/0.9385, allocations: 0.6284 MB / 0.7201 GB, free: 88.24 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.9385, allocations: 0 / 0.7201 GB, free: 88.24 MB / 490.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.003012/0.9416, allocations: 2.013 MB / 0.7221 GB, free: 86.21 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001914/0.9418, allocations: 1.347 MB / 0.7234 GB, free: 84.74 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.9418, allocations: 7.938 kB / 0.7234 GB, free: 84.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007283/0.9491, allocations: 2.507 MB / 0.7258 GB, free: 82.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007583/0.9498, allocations: 183.7 kB / 0.726 GB, free: 82.05 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003748/0.9536, allocations: 2.253 MB / 0.7282 GB, free: 79.77 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001999/0.9556, allocations: 258.8 kB / 0.7284 GB, free: 79.52 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/0.9558, allocations: 55.23 kB / 0.7285 GB, free: 79.47 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/0.9558, allocations: 4 kB / 0.7285 GB, free: 79.46 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002772/0.9585, allocations: 1.833 MB / 0.7303 GB, free: 77.63 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.9586, allocations: 4 kB / 0.7303 GB, free: 77.62 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00698/0.9656, allocations: 2.508 MB / 0.7327 GB, free: 75.11 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006675/0.9662, allocations: 167.7 kB / 0.7329 GB, free: 74.95 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003659/0.9699, allocations: 2.242 MB / 0.7351 GB, free: 72.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001792/0.9717, allocations: 250.9 kB / 0.7353 GB, free: 72.43 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001092/0.9718, allocations: 43.98 kB / 0.7354 GB, free: 72.39 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.0002889/0.9721, allocations: 180.9 kB / 0.7355 GB, free: 72.21 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003394/0.9725, allocations: 161.9 kB / 0.7357 GB, free: 72.05 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01386/0.9864, allocations: 5.144 MB / 0.7407 GB, free: 66.89 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.9864, allocations: 16 kB / 0.7407 GB, free: 66.88 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.9864, allocations: 3.984 kB / 0.7407 GB, free: 66.88 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.59e-05/0.9864, allocations: 3.984 kB / 0.7407 GB, free: 66.87 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.01547/1.002, allocations: 7.095 MB / 0.7477 GB, free: 59.67 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.027e-05/1.002, allocations: 4 kB / 0.7477 GB, free: 59.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008226/1.003, allocations: 143.8 kB / 0.7478 GB, free: 59.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005744/1.009, allocations: 2.009 MB / 0.7498 GB, free: 57.51 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000177/1.009, allocations: 27.98 kB / 0.7498 GB, free: 57.48 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01565/1.024, allocations: 7.842 MB / 0.7575 GB, free: 49.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/1.024, allocations: 0 / 0.7575 GB, free: 49.5 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01472/1.039, allocations: 6.126 MB / 0.7634 GB, free: 43.35 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000518/1.04, allocations: 278.8 kB / 0.7637 GB, free: 43.05 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003038/1.04, allocations: 20 kB / 0.7637 GB, free: 43.04 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001728/1.042, allocations: 199.8 kB / 0.7639 GB, free: 42.84 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006342/1.042, allocations: 245.3 kB / 0.7642 GB, free: 42.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.65e-05/1.042, allocations: 35.95 kB / 0.7642 GB, free: 42.56 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00116/1.044, allocations: 0.9098 MB / 0.7651 GB, free: 41.65 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.71e-07/1.044, allocations: 0 / 0.7651 GB, free: 41.65 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001683/1.045, allocations: 0.7372 MB / 0.7658 GB, free: 40.91 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.0003168/1.046, allocations: 186.4 kB / 0.766 GB, free: 40.73 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01072/1.056, allocations: 3.98 MB / 0.7699 GB, free: 36.76 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/1.056, allocations: 0 / 0.7699 GB, free: 36.76 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004787/1.061, allocations: 1.876 MB / 0.7717 GB, free: 34.87 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000906/1.062, allocations: 134.6 kB / 0.7718 GB, free: 34.74 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003886/1.066, allocations: 2.476 MB / 0.7742 GB, free: 32.25 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000506/1.067, allocations: 1.271 MB / 0.7755 GB, free: 30.95 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001084/1.068, allocations: 268.5 kB / 0.7757 GB, free: 30.68 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002015/1.068, allocations: 59.42 kB / 0.7758 GB, free: 30.62 MB / 490.7 MB Notification: Performance of SimCode: time 3.81e-07/1.068, allocations: 0 / 0.7758 GB, free: 30.62 MB / 490.7 MB Notification: Performance of Templates: time 0.03981/1.108, allocations: 32.29 MB / 0.8073 GB, free: 14.35 MB / 0.4948 GB 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)