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/ModelicaServices 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/Complex 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007578/0.000758, allocations: 90.75 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 223.3 MB / 239.1 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 180.5 kB / 290.3 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4655/0.4655, allocations: 78.55 MB / 419.9 MB, free: 4.25 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003538/0.0003539, allocations: 15.94 kB / 499.8 MB, free: 6.332 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.135, allocations: 69.36 MB / 0.5558 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test): time 0.2527/0.3877, allocations: 7.32 MB / 0.563 GB, free: 37.28 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004835/0.3926, allocations: 2.549 MB / 0.5654 GB, free: 36.64 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001245/0.3939, allocations: 11.94 kB / 0.5655 GB, free: 36.64 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007803/0.3947, allocations: 241 kB / 0.5657 GB, free: 36.55 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002502/0.3972, allocations: 1.004 MB / 0.5667 GB, free: 36.18 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00139/0.3986, allocations: 0.618 MB / 0.5673 GB, free: 36.11 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002434/0.401, allocations: 2.127 MB / 0.5694 GB, free: 35.67 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005671/0.4016, allocations: 302.9 kB / 0.5696 GB, free: 35.6 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001493/0.4031, allocations: 0.7983 MB / 0.5704 GB, free: 35.36 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00127/0.4044, allocations: 1.012 MB / 0.5714 GB, free: 34.95 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002116/0.4046, allocations: 89.03 kB / 0.5715 GB, free: 34.95 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007909/0.4054, allocations: 304 kB / 0.5718 GB, free: 34.89 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003163/0.4058, allocations: 363.6 kB / 0.5721 GB, free: 34.7 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003839/0.4062, allocations: 293.8 kB / 0.5724 GB, free: 34.51 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001481/0.4076, allocations: 1.668 MB / 0.574 GB, free: 34.04 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.4077, allocations: 0 / 0.574 GB, free: 34.04 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4077, allocations: 0 / 0.574 GB, free: 34.04 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.272e-05/0.4077, allocations: 3.531 kB / 0.574 GB, free: 34.04 MB / 430.1 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.0123/0.42, allocations: 3.611 MB / 0.5776 GB, free: 32.76 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.4201, allocations: 8.125 kB / 0.5776 GB, free: 32.76 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004618/0.4247, allocations: 0.7575 MB / 0.5783 GB, free: 32.59 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002531/0.4273, allocations: 1.135 MB / 0.5794 GB, free: 31.92 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003632/0.4276, allocations: 398.7 kB / 0.5798 GB, free: 31.57 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001964/0.4278, allocations: 107 kB / 0.5799 GB, free: 31.53 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002697/0.4306, allocations: 1.478 MB / 0.5814 GB, free: 30.98 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/0.4306, allocations: 3.938 kB / 0.5814 GB, free: 30.98 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001152/0.4307, allocations: 39.88 kB / 0.5814 GB, free: 30.95 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.215e-05/0.4307, allocations: 27.58 kB / 0.5814 GB, free: 30.95 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002731/0.4335, allocations: 1.453 MB / 0.5828 GB, free: 30.48 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.007942/0.4414, allocations: 4.904 MB / 0.5876 GB, free: 27.68 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00829/0.4497, allocations: 3.505 MB / 0.591 GB, free: 26.46 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002146/0.4519, allocations: 1.002 MB / 0.592 GB, free: 26.09 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001574/0.4521, allocations: 32.64 kB / 0.5921 GB, free: 26.08 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.4521, allocations: 45.44 kB / 0.5921 GB, free: 26.03 MB / 430.1 MB Notification: Performance of pre-optimization done (n=123): time 3.096e-06/0.4521, allocations: 0 / 0.5921 GB, free: 26.03 MB / 430.1 MB Notification: Performance of matching and sorting (n=123): time 0.04174/0.4939, allocations: 12.04 MB / 0.6039 GB, free: 24.16 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.397e-05/0.494, allocations: 117.1 kB / 0.604 GB, free: 24.04 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003132/0.4971, allocations: 1.454 MB / 0.6054 GB, free: 23.47 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004189/0.4976, allocations: 50.86 kB / 0.6054 GB, free: 23.42 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004187/0.498, allocations: 0.597 MB / 0.606 GB, free: 22.95 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005066/0.4985, allocations: 455.1 kB / 0.6065 GB, free: 22.59 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/0.4986, allocations: 35.56 kB / 0.6065 GB, free: 22.56 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.4988, allocations: 369 kB / 0.6068 GB, free: 22.23 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002125/0.5009, allocations: 1.036 MB / 0.6079 GB, free: 21.87 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002168/0.5031, allocations: 1.239 MB / 0.6091 GB, free: 21.22 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002146/0.5052, allocations: 1.125 MB / 0.6102 GB, free: 20.68 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.5052, allocations: 2.062 kB / 0.6102 GB, free: 20.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.01574/0.521, allocations: 6.386 MB / 0.6164 GB, free: 15.84 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.916e-05/0.5211, allocations: 202.7 kB / 0.6166 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/0.5212, allocations: 5.406 kB / 0.6166 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008031/0.5292, allocations: 3.027 MB / 0.6196 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001386/0.5306, allocations: 287.6 kB / 0.6198 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005311/0.5359, allocations: 3.006 MB / 0.6228 GB, free: 9.246 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002295/0.5383, allocations: 298.4 kB / 0.6231 GB, free: 8.953 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001447/0.5384, allocations: 68.62 kB / 0.6231 GB, free: 8.887 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.638e-06/0.5384, allocations: 4 kB / 0.6231 GB, free: 8.883 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01449/0.5529, allocations: 6.188 MB / 0.6292 GB, free: 2.688 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.826e-05/0.553, allocations: 4.562 kB / 0.6292 GB, free: 2.684 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007999/0.561, allocations: 3.026 MB / 0.6321 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001463/0.5625, allocations: 275.6 kB / 0.6324 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006089/0.5686, allocations: 2.993 MB / 0.6353 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002332/0.5709, allocations: 284.2 kB / 0.6356 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001742/0.5711, allocations: 59.98 kB / 0.6356 GB, free: 12.03 MB / 446.1 MB Warning: Assuming fixed start value for the following 2 variables: govHydroIEEE0_1.waterway.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] govHydroIEEE0_1.GovernorB.x_scaled[1]:VARIABLE(fixed = true 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (164): * Single equations (assignments): 163 * 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.0008288/0.572, allocations: 384.8 kB / 0.636 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003656/0.5723, allocations: 162 kB / 0.6362 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01549/0.5878, allocations: 5.85 MB / 0.6419 GB, free: 5.605 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.057e-05/0.5879, allocations: 12 kB / 0.6419 GB, free: 5.594 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/0.5879, allocations: 4.891 kB / 0.6419 GB, free: 5.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.342e-05/0.5879, allocations: 10.73 kB / 0.6419 GB, free: 5.582 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.01872/0.6067, allocations: 7.92 MB / 0.6496 GB, free: 13.52 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-05/0.6067, allocations: 4 kB / 0.6496 GB, free: 13.51 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009363/0.6077, allocations: 143.7 kB / 0.6498 GB, free: 13.37 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007277/0.615, allocations: 2.513 MB / 0.6522 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002634/0.6153, allocations: 24 kB / 0.6523 GB, free: 10.83 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0234/0.6387, allocations: 10.3 MB / 0.6623 GB, free: 400 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.6387, allocations: 0 / 0.6623 GB, free: 400 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01884/0.6576, allocations: 7.198 MB / 0.6693 GB, free: 9.164 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007789/0.6584, allocations: 274.7 kB / 0.6696 GB, free: 8.875 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000304/0.6587, allocations: 35.94 kB / 0.6696 GB, free: 8.84 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001628/0.6603, allocations: 191.8 kB / 0.6698 GB, free: 8.652 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007583/0.6611, allocations: 249.3 kB / 0.6701 GB, free: 8.41 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.545e-05/0.6612, allocations: 33.05 kB / 0.6701 GB, free: 8.379 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001661/0.6629, allocations: 0.997 MB / 0.6711 GB, free: 7.383 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.6629, allocations: 0 / 0.6711 GB, free: 7.383 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002299/0.6652, allocations: 0.825 MB / 0.6719 GB, free: 6.559 MB / 478.1 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 () * Number of clocked 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.0003183/0.6655, allocations: 160.1 kB / 0.672 GB, free: 6.391 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01472/0.6803, allocations: 5.388 MB / 0.6773 GB, free: 1.02 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/0.6803, allocations: 0 / 0.6773 GB, free: 1.02 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006169/0.6865, allocations: 2.166 MB / 0.6794 GB, free: 14.84 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001591/0.6881, allocations: 156.6 kB / 0.6795 GB, free: 14.7 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006329/0.6945, allocations: 3.598 MB / 0.6831 GB, free: 11.15 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00082/0.6953, allocations: 1.238 MB / 0.6843 GB, free: 9.875 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009704/0.6963, allocations: 195.1 kB / 0.6845 GB, free: 9.688 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003482/0.6967, allocations: 87.98 kB / 0.6845 GB, free: 9.602 MB / 494.1 MB Notification: Performance of SimCode: time 1.423e-06/0.6967, allocations: 0 / 0.6845 GB, free: 9.602 MB / 494.1 MB Notification: Performance of Templates: time 0.05198/0.7487, allocations: 30.76 MB / 0.7146 GB, free: 10.96 MB / 0.5137 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: