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.0009652/0.0009649, allocations: 180.9 kB / 7.651 MB, free: 1.422 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.484/1.484, allocations: 221.5 MB / 229.6 MB, free: 7.574 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.0008816/0.0008816, allocations: 93.52 kB / 280.5 MB, free: 5.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5042/0.5042, allocations: 78.94 MB / 410.2 MB, free: 6 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.789e-05/1.771e-05, allocations: 0 / 485.9 MB, free: 11.52 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1517, allocations: 69.52 MB / 0.5424 GB, free: 5.898 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4467/0.5984, allocations: 109.3 MB / 0.6492 GB, free: 4.754 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002283/0.5987, allocations: 88.52 kB / 0.6493 GB, free: 4.668 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1093/0.708, allocations: 39.97 MB / 0.6883 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.142e-06/0.708, allocations: 4 kB / 0.6883 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.439e-05/0.7081, allocations: 31.94 kB / 0.6884 GB, free: 12.67 MB / 0.4948 GB 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.005196/0.7133, allocations: 2.021 MB / 0.6903 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.7134, allocations: 8.031 kB / 0.6904 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003722/0.7171, allocations: 0.6691 MB / 0.691 GB, free: 9.918 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001795/0.7189, allocations: 1.05 MB / 0.692 GB, free: 8.816 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003866/0.7193, allocations: 370 kB / 0.6924 GB, free: 8.398 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001717/0.7195, allocations: 67.86 kB / 0.6924 GB, free: 8.332 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001915/0.7214, allocations: 1.082 MB / 0.6935 GB, free: 7.25 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001822/0.7233, allocations: 1.058 MB / 0.6945 GB, free: 6.172 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/0.7233, allocations: 0 / 0.6945 GB, free: 6.172 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/0.7234, allocations: 0 / 0.6945 GB, free: 6.172 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.865e-05/0.7234, allocations: 24.94 kB / 0.6946 GB, free: 6.148 MB / 0.4948 GB 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.008664/0.7321, allocations: 4.675 MB / 0.6991 GB, free: 1.277 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007825/0.7399, allocations: 3.105 MB / 0.7022 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001226/0.7412, allocations: 0.7007 MB / 0.7028 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001372/0.7413, allocations: 21.28 kB / 0.7029 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.564e-05/0.7414, allocations: 51.83 kB / 0.7029 GB, free: 13.26 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=123): time 2.975e-06/0.7414, allocations: 0 / 0.7029 GB, free: 13.26 MB / 0.5105 GB Notification: Performance of matching and sorting (n=123): time 0.01535/0.7568, allocations: 4.852 MB / 0.7077 GB, free: 8.387 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.274e-05/0.7569, allocations: 116.1 kB / 0.7078 GB, free: 8.25 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002298/0.7592, allocations: 1.118 MB / 0.7089 GB, free: 7.125 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003657/0.7596, allocations: 26.55 kB / 0.7089 GB, free: 7.094 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005156/0.7601, allocations: 0.6242 MB / 0.7095 GB, free: 6.461 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004733/0.7606, allocations: 421.6 kB / 0.7099 GB, free: 6.043 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.361e-05/0.7607, allocations: 4 kB / 0.7099 GB, free: 6.039 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.7608, allocations: 349.9 kB / 0.7102 GB, free: 5.691 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009076/0.7617, allocations: 0.5455 MB / 0.7108 GB, free: 5.145 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009905/0.7627, allocations: 0.6967 MB / 0.7114 GB, free: 4.398 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001147/0.7639, allocations: 0.6102 MB / 0.712 GB, free: 3.789 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.7639, allocations: 0 / 0.712 GB, free: 3.789 MB / 0.5105 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.003561/0.7675, allocations: 1.92 MB / 0.7139 GB, free: 1.859 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004842/0.768, allocations: 1.345 MB / 0.7152 GB, free: 404 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.768, allocations: 4 kB / 0.7152 GB, free: 400 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007852/0.7758, allocations: 2.277 MB / 0.7175 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009259/0.7768, allocations: 179.7 kB / 0.7176 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004851/0.7817, allocations: 2.423 MB / 0.72 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002366/0.784, allocations: 231.7 kB / 0.7202 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001585/0.7842, allocations: 51.98 kB / 0.7203 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.7842, allocations: 4 kB / 0.7203 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003167/0.7874, allocations: 1.716 MB / 0.7219 GB, free: 9.484 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.7874, allocations: 4.438 kB / 0.7219 GB, free: 9.48 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007675/0.7951, allocations: 2.273 MB / 0.7242 GB, free: 7.199 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009117/0.7961, allocations: 167.8 kB / 0.7243 GB, free: 7.035 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004751/0.8008, allocations: 2.427 MB / 0.7267 GB, free: 4.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00239/0.8032, allocations: 219 kB / 0.7269 GB, free: 4.375 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001559/0.8034, allocations: 41.3 kB / 0.7269 GB, free: 4.336 MB / 0.5261 GB 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.0004028/0.8038, allocations: 139.9 kB / 0.7271 GB, free: 4.195 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004047/0.8042, allocations: 158 kB / 0.7272 GB, free: 4.039 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01519/0.8194, allocations: 5.046 MB / 0.7322 GB, free: 14.97 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-05/0.8195, allocations: 12 kB / 0.7322 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.165e-05/0.8195, allocations: 3.984 kB / 0.7322 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.377e-05/0.8196, allocations: 3.984 kB / 0.7322 GB, free: 14.95 MB / 0.5417 GB 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.01798/0.8375, allocations: 6.909 MB / 0.7389 GB, free: 7.914 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.255e-05/0.8376, allocations: 3.938 kB / 0.7389 GB, free: 7.91 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009724/0.8386, allocations: 135.9 kB / 0.7391 GB, free: 7.777 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006429/0.845, allocations: 1.994 MB / 0.741 GB, free: 5.777 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002651/0.8453, allocations: 21.16 kB / 0.741 GB, free: 5.758 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01756/0.8629, allocations: 7.699 MB / 0.7485 GB, free: 13.94 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.8629, allocations: 4 kB / 0.7485 GB, free: 13.93 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01709/0.88, allocations: 6.016 MB / 0.7544 GB, free: 7.887 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007953/0.8809, allocations: 282.8 kB / 0.7547 GB, free: 7.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003037/0.8812, allocations: 4 kB / 0.7547 GB, free: 7.586 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001838/0.883, allocations: 171.8 kB / 0.7549 GB, free: 7.418 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007254/0.8838, allocations: 253.3 kB / 0.7551 GB, free: 7.168 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.523e-05/0.8839, allocations: 28 kB / 0.7551 GB, free: 7.141 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001272/0.8851, allocations: 0.864 MB / 0.756 GB, free: 6.277 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8851, allocations: 4 kB / 0.756 GB, free: 6.273 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00198/0.8871, allocations: 0.6707 MB / 0.7566 GB, free: 5.602 MB / 0.5573 GB 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.0003913/0.8875, allocations: 166.9 kB / 0.7568 GB, free: 5.426 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01249/0.9, allocations: 3.876 MB / 0.7606 GB, free: 1.559 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/0.9001, allocations: 0 / 0.7606 GB, free: 1.559 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.3065/1.207, allocations: 1.801 MB / 0.7623 GB, free: 139.8 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001455/1.208, allocations: 119.9 kB / 0.7624 GB, free: 139.8 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004433/1.213, allocations: 2.405 MB / 0.7648 GB, free: 139.2 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005933/1.213, allocations: 1.271 MB / 0.766 GB, free: 138.5 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.00118/1.214, allocations: 272.8 kB / 0.7663 GB, free: 138.5 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002153/1.215, allocations: 60.91 kB / 0.7664 GB, free: 138.5 MB / 0.5573 GB Notification: Performance of SimCode: time 6.81e-07/1.215, allocations: 0 / 0.7664 GB, free: 138.5 MB / 0.5573 GB Notification: Performance of Templates: time 0.05931/1.274, allocations: 29.9 MB / 0.7956 GB, free: 137.2 MB / 0.5573 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)