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.0008237/0.0008239, allocations: 98.89 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 223.3 MB / 239.7 MB, free: 5.617 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.001141/0.001141, allocations: 172.5 kB / 290.9 MB, free: 2.305 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5347/0.5347, allocations: 78.56 MB / 420.6 MB, free: 4.367 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000391/0.000391, allocations: 16 kB / 0.4887 GB, free: 6.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1609, allocations: 69.37 MB / 0.5564 GB, free: 1.008 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test): time 0.3745/0.5355, allocations: 7.303 MB / 0.5636 GB, free: 37.3 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006874/0.5424, allocations: 2.553 MB / 0.5661 GB, free: 36.76 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002519/0.545, allocations: 20.12 kB / 0.5661 GB, free: 36.76 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001462/0.5465, allocations: 234.7 kB / 0.5663 GB, free: 36.67 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004644/0.5511, allocations: 1.015 MB / 0.5673 GB, free: 36.29 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001933/0.5531, allocations: 0.6099 MB / 0.5679 GB, free: 36.22 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003752/0.5569, allocations: 2.128 MB / 0.57 GB, free: 35.79 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007098/0.5576, allocations: 305.7 kB / 0.5702 GB, free: 35.71 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001747/0.5593, allocations: 0.7868 MB / 0.571 GB, free: 35.45 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001304/0.5607, allocations: 1.03 MB / 0.572 GB, free: 35.02 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002011/0.5609, allocations: 86.56 kB / 0.5721 GB, free: 35.02 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000795/0.5617, allocations: 297.8 kB / 0.5724 GB, free: 34.96 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003262/0.562, allocations: 366.6 kB / 0.5727 GB, free: 34.77 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003759/0.5624, allocations: 283.8 kB / 0.573 GB, free: 34.59 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001652/0.564, allocations: 1.669 MB / 0.5746 GB, free: 34.12 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.5641, allocations: 0.6875 kB / 0.5746 GB, free: 34.12 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.517e-06/0.5641, allocations: 0 / 0.5746 GB, free: 34.12 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.541e-05/0.5641, allocations: 5.844 kB / 0.5746 GB, free: 34.11 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.01256/0.5767, allocations: 3.608 MB / 0.5782 GB, free: 32.83 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/0.5767, allocations: 10.19 kB / 0.5782 GB, free: 32.83 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004903/0.5816, allocations: 0.7656 MB / 0.5789 GB, free: 32.66 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003119/0.5848, allocations: 1.137 MB / 0.58 GB, free: 31.98 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003824/0.5852, allocations: 402.5 kB / 0.5804 GB, free: 31.63 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000212/0.5854, allocations: 112 kB / 0.5805 GB, free: 31.59 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002763/0.5882, allocations: 1.468 MB / 0.582 GB, free: 31.05 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.26e-05/0.5882, allocations: 0 / 0.582 GB, free: 31.05 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001102/0.5884, allocations: 35.88 kB / 0.582 GB, free: 31.02 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.353e-05/0.5884, allocations: 27.33 kB / 0.582 GB, free: 31.02 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002844/0.5912, allocations: 1.456 MB / 0.5834 GB, free: 30.55 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.009673/0.6009, allocations: 4.91 MB / 0.5882 GB, free: 27.75 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008906/0.6098, allocations: 3.503 MB / 0.5917 GB, free: 26.53 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002617/0.6125, allocations: 1.008 MB / 0.5926 GB, free: 26.15 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001613/0.6127, allocations: 18.64 kB / 0.5927 GB, free: 26.15 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.805e-05/0.6128, allocations: 46.66 kB / 0.5927 GB, free: 26.1 MB / 430.1 MB Notification: Performance of pre-optimization done (n=123): time 4.027e-06/0.6128, allocations: 0 / 0.5927 GB, free: 26.1 MB / 430.1 MB Notification: Performance of matching and sorting (n=123): time 0.04474/0.6575, allocations: 12.05 MB / 0.6045 GB, free: 24.23 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.514e-05/0.6577, allocations: 124.7 kB / 0.6046 GB, free: 24.09 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003272/0.6609, allocations: 1.446 MB / 0.606 GB, free: 23.53 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004513/0.6614, allocations: 51.2 kB / 0.6061 GB, free: 23.48 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004624/0.6619, allocations: 0.5958 MB / 0.6066 GB, free: 23.01 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005339/0.6624, allocations: 454.8 kB / 0.6071 GB, free: 22.65 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/0.6625, allocations: 34.56 kB / 0.6071 GB, free: 22.62 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.6627, allocations: 370.2 kB / 0.6075 GB, free: 22.29 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002319/0.665, allocations: 1.035 MB / 0.6085 GB, free: 21.93 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002536/0.6676, allocations: 1.238 MB / 0.6097 GB, free: 21.38 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00232/0.6699, allocations: 1.125 MB / 0.6108 GB, free: 20.83 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.6699, allocations: 1.062 kB / 0.6108 GB, free: 20.83 MB / 430.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.01631/0.6862, allocations: 6.394 MB / 0.617 GB, free: 15.91 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001405/0.6864, allocations: 194.8 kB / 0.6172 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.6864, allocations: 4 kB / 0.6172 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008096/0.6945, allocations: 3.032 MB / 0.6202 GB, free: 12.63 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001508/0.6961, allocations: 283.6 kB / 0.6204 GB, free: 12.35 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005724/0.7018, allocations: 3.01 MB / 0.6234 GB, free: 9.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002571/0.7044, allocations: 299.1 kB / 0.6237 GB, free: 9.027 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001504/0.7046, allocations: 63.94 kB / 0.6237 GB, free: 8.965 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.548e-06/0.7046, allocations: 0 / 0.6237 GB, free: 8.965 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01469/0.7193, allocations: 6.196 MB / 0.6298 GB, free: 2.762 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/0.7193, allocations: 12.23 kB / 0.6298 GB, free: 2.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00786/0.7272, allocations: 3.016 MB / 0.6327 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00156/0.7288, allocations: 280.2 kB / 0.633 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006197/0.735, allocations: 2.994 MB / 0.6359 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002487/0.7375, allocations: 282.6 kB / 0.6362 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000159/0.7377, allocations: 55.98 kB / 0.6362 GB, free: 12.1 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.0009957/0.7387, allocations: 387.3 kB / 0.6366 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000327/0.739, allocations: 158 kB / 0.6368 GB, free: 11.56 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01546/0.7545, allocations: 5.85 MB / 0.6425 GB, free: 5.684 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.873e-05/0.7546, allocations: 15.98 kB / 0.6425 GB, free: 5.668 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.505e-05/0.7546, allocations: 3.953 kB / 0.6425 GB, free: 5.664 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.612e-05/0.7546, allocations: 3.984 kB / 0.6425 GB, free: 5.66 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.02126/0.7759, allocations: 7.928 MB / 0.6502 GB, free: 13.59 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.62e-05/0.776, allocations: 0.8125 kB / 0.6502 GB, free: 13.59 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009607/0.7769, allocations: 139.8 kB / 0.6504 GB, free: 13.45 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007323/0.7843, allocations: 2.518 MB / 0.6528 GB, free: 10.93 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002978/0.7846, allocations: 27.98 kB / 0.6529 GB, free: 10.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02441/0.809, allocations: 10.29 MB / 0.6629 GB, free: 484 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.664e-06/0.8091, allocations: 8.703 kB / 0.6629 GB, free: 476 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02082/0.8299, allocations: 7.192 MB / 0.6699 GB, free: 9.25 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000919/0.8309, allocations: 288.3 kB / 0.6702 GB, free: 8.949 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002791/0.8312, allocations: 27.95 kB / 0.6702 GB, free: 8.922 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001565/0.8327, allocations: 191.9 kB / 0.6704 GB, free: 8.734 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000833/0.8336, allocations: 253.2 kB / 0.6707 GB, free: 8.488 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.471e-05/0.8337, allocations: 28 kB / 0.6707 GB, free: 8.461 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001791/0.8355, allocations: 1.001 MB / 0.6717 GB, free: 7.461 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.8355, allocations: 3.938 kB / 0.6717 GB, free: 7.457 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002424/0.8379, allocations: 0.8271 MB / 0.6725 GB, free: 6.629 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.0004162/0.8384, allocations: 156.1 kB / 0.6726 GB, free: 6.465 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01501/0.8534, allocations: 5.382 MB / 0.6779 GB, free: 1.098 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/0.8534, allocations: 0 / 0.6779 GB, free: 1.098 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005981/0.8594, allocations: 2.158 MB / 0.68 GB, free: 14.93 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001623/0.8611, allocations: 155.5 kB / 0.6801 GB, free: 14.78 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006104/0.8672, allocations: 3.662 MB / 0.6837 GB, free: 11.16 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008258/0.868, allocations: 1.238 MB / 0.6849 GB, free: 9.891 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004772/0.8685, allocations: 99.16 kB / 0.685 GB, free: 9.797 MB / 494.1 MB Notification: Performance of SimCode: time 1.062e-06/0.8685, allocations: 0 / 0.685 GB, free: 9.797 MB / 494.1 MB Notification: Performance of Templates: time 0.03779/0.9063, allocations: 25.74 MB / 0.7102 GB, free: 168 kB / 0.4981 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test.makefile make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppOpenIPSL_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_TestCalcHelperMain.o OMCppOpenIPSL_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_TestCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenIPSL_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_TestCalcHelperMain.o] Error 1