Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) 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(PowerSystems.Examples.Generic.Test.AdmittanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest") translateModel(PowerSystems.Examples.Generic.Test.AdmittanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008479/0.000848, allocations: 89.45 kB / 16.95 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008499/0.00085, allocations: 178.7 kB / 17.84 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.587/1.587, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1731/0.1731, allocations: 38.05 MB / 310.3 MB, free: 6.109 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004944/0.0004945, allocations: 19.34 kB / 377.1 MB, free: 3.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.2774, allocations: 56.33 MB / 433.5 MB, free: 18.86 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.003115/0.2805, allocations: 3.179 MB / 436.7 MB, free: 15.67 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001492/0.2821, allocations: 1.432 MB / 438.1 MB, free: 14.23 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001187/0.2822, allocations: 11.94 kB / 438.1 MB, free: 14.21 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000161/0.2824, allocations: 43.69 kB / 438.1 MB, free: 14.17 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004475/0.2828, allocations: 215.1 kB / 438.3 MB, free: 13.96 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001859/0.283, allocations: 95.75 kB / 438.4 MB, free: 13.87 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003648/0.2834, allocations: 430.8 kB / 438.9 MB, free: 13.45 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005405/0.284, allocations: 323 kB / 439.2 MB, free: 13.11 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001666/0.2841, allocations: 127.4 kB / 439.3 MB, free: 12.99 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001865/0.2843, allocations: 151.5 kB / 439.5 MB, free: 12.84 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.065e-05/0.2844, allocations: 4 kB / 439.5 MB, free: 12.84 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002457/0.2846, allocations: 159.6 kB / 439.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.307e-05/0.2847, allocations: 91.73 kB / 439.7 MB, free: 12.59 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.034e-05/0.2848, allocations: 65.58 kB / 439.8 MB, free: 12.52 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002217/0.285, allocations: 235.5 kB / 440 MB, free: 12.29 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.285, allocations: 4 kB / 440 MB, free: 12.29 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.285, allocations: 3.938 kB / 440 MB, free: 12.28 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.285, allocations: 4 kB / 440 MB, free: 12.28 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005277/0.2856, allocations: 482.5 kB / 440.5 MB, free: 11.76 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.2856, allocations: 8.031 kB / 440.5 MB, free: 11.75 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007042/0.2863, allocations: 95.56 kB / 440.6 MB, free: 11.66 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002339/0.2866, allocations: 259.1 kB / 440.8 MB, free: 11.36 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.2866, allocations: 12 kB / 440.8 MB, free: 11.35 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.767e-05/0.2866, allocations: 16 kB / 440.9 MB, free: 11.34 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003784/0.287, allocations: 322.2 kB / 441.2 MB, free: 11 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.287, allocations: 0 / 441.2 MB, free: 11 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.337e-05/0.2871, allocations: 7.984 kB / 441.2 MB, free: 10.99 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.753e-05/0.2871, allocations: 20 kB / 441.2 MB, free: 10.97 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003273/0.2874, allocations: 283.7 kB / 441.5 MB, free: 10.69 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001233/0.2887, allocations: 1.297 MB / 442.8 MB, free: 9.297 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003038/0.289, allocations: 234.3 kB / 443 MB, free: 9.031 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.957e-05/0.2891, allocations: 65.75 kB / 443.1 MB, free: 8.961 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.2891, allocations: 0 / 443.1 MB, free: 8.961 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.2891, allocations: 38.5 kB / 443.1 MB, free: 8.914 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.002e-06/0.2891, allocations: 0 / 443.1 MB, free: 8.914 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005096/0.2896, allocations: 288.2 kB / 443.4 MB, free: 8.625 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.428e-05/0.2897, allocations: 81.23 kB / 443.5 MB, free: 8.527 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.2898, allocations: 198.2 kB / 443.7 MB, free: 8.32 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.2898, allocations: 29.7 kB / 443.7 MB, free: 8.285 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.565e-05/0.2899, allocations: 163.8 kB / 443.8 MB, free: 8.121 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.789e-05/0.29, allocations: 43.36 kB / 443.9 MB, free: 8.078 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.594e-06/0.29, allocations: 4 kB / 443.9 MB, free: 8.074 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.023e-05/0.29, allocations: 330.8 kB / 444.2 MB, free: 7.742 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.214e-05/0.2901, allocations: 43.97 kB / 444.3 MB, free: 7.699 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.282e-05/0.2902, allocations: 152.7 kB / 444.4 MB, free: 7.504 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.484e-05/0.2903, allocations: 75.03 kB / 444.5 MB, free: 7.434 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.2903, allocations: 0 / 444.5 MB, free: 7.434 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002451/0.2906, allocations: 225.1 kB / 444.7 MB, free: 7.207 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.2906, allocations: 15.88 kB / 444.7 MB, free: 7.191 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.2906, allocations: 0 / 444.7 MB, free: 7.191 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.2906, allocations: 8 kB / 444.7 MB, free: 7.184 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.2907, allocations: 43.92 kB / 444.8 MB, free: 7.141 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.849e-06/0.2908, allocations: 16.41 kB / 444.8 MB, free: 7.125 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.544e-05/0.2909, allocations: 11.94 kB / 444.8 MB, free: 7.113 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/0.2909, allocations: 12 kB / 444.8 MB, free: 7.102 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.828e-05/0.291, allocations: 157.7 kB / 445 MB, free: 6.938 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.187e-05/0.291, allocations: 15.81 kB / 445 MB, free: 6.922 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002068/0.2912, allocations: 149.8 kB / 445.1 MB, free: 6.773 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.2913, allocations: 0 / 445.1 MB, free: 6.773 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.2913, allocations: 0 / 445.1 MB, free: 6.773 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.2913, allocations: 7.922 kB / 445.1 MB, free: 6.766 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006392/0.2919, allocations: 0.665 MB / 445.8 MB, free: 6.004 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.2919, allocations: 4 kB / 445.8 MB, free: 6 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.651e-05/0.292, allocations: 31.98 kB / 445.8 MB, free: 5.969 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.292, allocations: 11.95 kB / 445.8 MB, free: 5.957 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.2921, allocations: 4 kB / 445.8 MB, free: 5.953 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.686e-06/0.2921, allocations: 4 kB / 445.9 MB, free: 5.949 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.2921, allocations: 4.047 kB / 445.9 MB, free: 5.945 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002278/0.2923, allocations: 351.6 kB / 446.2 MB, free: 5.543 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.027e-05/0.2924, allocations: 96.91 kB / 446.3 MB, free: 5.43 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.923e-05/0.2924, allocations: 15.89 kB / 446.3 MB, free: 5.414 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.2925, allocations: 8 kB / 446.3 MB, free: 5.406 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.824e-05/0.2925, allocations: 15.98 kB / 446.3 MB, free: 5.391 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.2926, allocations: 8 kB / 446.3 MB, free: 5.383 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.468e-05/0.2926, allocations: 144.1 kB / 446.5 MB, free: 5.242 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2927, allocations: 7.938 kB / 446.5 MB, free: 5.234 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003198/0.293, allocations: 44 kB / 446.5 MB, free: 5.191 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.954e-05/0.2931, allocations: 115.1 kB / 446.6 MB, free: 5.07 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002091/0.2933, allocations: 135.7 kB / 446.8 MB, free: 4.938 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.2933, allocations: 0 / 446.8 MB, free: 4.938 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.923e-05/0.2934, allocations: 69.22 kB / 446.8 MB, free: 4.871 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004053/0.2938, allocations: 28.17 kB / 446.9 MB, free: 4.844 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006632/0.2945, allocations: 0.6135 MB / 447.5 MB, free: 4.156 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000204/0.2947, allocations: 0.7597 MB / 448.2 MB, free: 3.367 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.357e-05/0.2947, allocations: 23.42 kB / 448.3 MB, free: 3.344 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2947, allocations: 0 / 448.3 MB, free: 3.344 MB / 318.1 MB Notification: Performance of Templates: time 0.003378/0.2981, allocations: 2.249 MB / 450.5 MB, free: 1.09 MB / 318.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.makefile make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.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 OMCppPowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTestCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTestCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTestCalcHelperMain.o] Error 1