Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Tables.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.Introductory.Tables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Tables") translateModel(PowerSystems.Examples.Introductory.Tables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Tables") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008013/0.0008012, allocations: 95.39 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.0009391/0.0009392, allocations: 181.5 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.596/1.596, allocations: 205.4 MB / 224 MB, free: 13.15 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1834/0.1834, allocations: 38.05 MB / 310.3 MB, free: 6.113 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.0007295/0.0007296, allocations: 15.12 kB / 377.1 MB, free: 3.191 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2607/0.2615, allocations: 56.33 MB / 433.5 MB, free: 18.84 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.001593/0.2631, allocations: 1.071 MB / 434.5 MB, free: 17.77 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003788/0.2635, allocations: 259.9 kB / 434.8 MB, free: 17.52 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.487e-05/0.2636, allocations: 0 / 434.8 MB, free: 17.52 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001919/0.2638, allocations: 19.92 kB / 434.8 MB, free: 17.5 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001255/0.2639, allocations: 19.92 kB / 434.8 MB, free: 17.48 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001739/0.2641, allocations: 62.11 kB / 434.9 MB, free: 17.42 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001079/0.2642, allocations: 47.84 kB / 434.9 MB, free: 17.37 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.966e-05/0.2643, allocations: 7.984 kB / 435 MB, free: 17.36 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001299/0.2644, allocations: 19.92 kB / 435 MB, free: 17.34 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.227e-05/0.2645, allocations: 27.86 kB / 435 MB, free: 17.32 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.32e-05/0.2645, allocations: 0 / 435 MB, free: 17.32 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.063e-05/0.2646, allocations: 47.97 kB / 435 MB, free: 17.27 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.383e-05/0.2646, allocations: 11.92 kB / 435.1 MB, free: 17.26 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.247e-05/0.2647, allocations: 33.7 kB / 435.1 MB, free: 17.22 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001174/0.2648, allocations: 67.89 kB / 435.2 MB, free: 17.15 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.2648, allocations: 0 / 435.2 MB, free: 17.15 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2648, allocations: 3.938 kB / 435.2 MB, free: 17.15 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.417e-06/0.2648, allocations: 0 / 435.2 MB, free: 17.15 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003296/0.2651, allocations: 369.1 kB / 435.5 MB, free: 16.74 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.2652, allocations: 12.03 kB / 435.5 MB, free: 16.73 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.281e-05/0.2652, allocations: 11.86 kB / 435.5 MB, free: 16.72 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.2654, allocations: 186.9 kB / 435.7 MB, free: 16.5 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.2654, allocations: 4 kB / 435.7 MB, free: 16.49 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.738e-06/0.2654, allocations: 0 / 435.7 MB, free: 16.49 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/0.2655, allocations: 63.39 kB / 435.8 MB, free: 16.42 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.2656, allocations: 0 / 435.8 MB, free: 16.42 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.2656, allocations: 0 / 435.8 MB, free: 16.42 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.2656, allocations: 4 kB / 435.8 MB, free: 16.41 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.679e-05/0.2656, allocations: 23.97 kB / 435.8 MB, free: 16.39 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002925/0.2659, allocations: 284.8 kB / 436.1 MB, free: 16.06 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.561e-05/0.266, allocations: 34.56 kB / 436.1 MB, free: 16.02 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.025e-05/0.266, allocations: 12.92 kB / 436.1 MB, free: 16 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.2661, allocations: 0 / 436.1 MB, free: 16 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.2661, allocations: 34.56 kB / 436.2 MB, free: 15.96 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 8.81e-07/0.2661, allocations: 3.938 kB / 436.2 MB, free: 15.96 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001527/0.2663, allocations: 61.55 kB / 436.2 MB, free: 15.89 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.511e-05/0.2663, allocations: 85.05 kB / 436.3 MB, free: 15.79 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.2665, allocations: 145.8 kB / 436.5 MB, free: 15.64 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.2665, allocations: 29.64 kB / 436.5 MB, free: 15.6 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.817e-05/0.2665, allocations: 92.14 kB / 436.6 MB, free: 15.51 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.65e-05/0.2666, allocations: 11.81 kB / 436.6 MB, free: 15.5 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-06/0.2666, allocations: 0 / 436.6 MB, free: 15.5 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.197e-05/0.2666, allocations: 322.8 kB / 436.9 MB, free: 15.17 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.203e-05/0.2667, allocations: 0 / 436.9 MB, free: 15.17 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.896e-05/0.2667, allocations: 25.7 kB / 436.9 MB, free: 15.14 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.068e-05/0.2667, allocations: 7.938 kB / 436.9 MB, free: 15.13 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.2667, allocations: 0 / 436.9 MB, free: 15.13 MB / 318.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.138e-05/0.2668, allocations: 45.69 kB / 437 MB, free: 15.08 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.2668, allocations: 8 kB / 437 MB, free: 15.07 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.2668, allocations: 4.031 kB / 437 MB, free: 15.07 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.2668, allocations: 0 / 437 MB, free: 15.07 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.073e-05/0.2669, allocations: 7.953 kB / 437 MB, free: 15.06 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.2669, allocations: 0 / 437 MB, free: 15.06 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.806e-05/0.2669, allocations: 0 / 437 MB, free: 15.06 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.2669, allocations: 4 kB / 437 MB, free: 15.06 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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 6.421e-05/0.267, allocations: 121.8 kB / 437.1 MB, free: 14.93 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.578e-05/0.267, allocations: 7.906 kB / 437.1 MB, free: 14.92 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001041/0.2671, allocations: 69.52 kB / 437.2 MB, free: 14.84 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.2672, allocations: 0 / 437.2 MB, free: 14.84 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.2672, allocations: 3.953 kB / 437.2 MB, free: 14.84 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.2672, allocations: 4 kB / 437.2 MB, free: 14.84 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001223/0.2673, allocations: 173.5 kB / 437.4 MB, free: 14.62 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2673, allocations: 0 / 437.4 MB, free: 14.62 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.129e-05/0.2673, allocations: 8 kB / 437.4 MB, free: 14.61 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2673, allocations: 0 / 437.4 MB, free: 14.61 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.2674, allocations: 0 / 437.4 MB, free: 14.61 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2674, allocations: 0 / 437.4 MB, free: 14.61 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.2674, allocations: 3.984 kB / 437.4 MB, free: 14.61 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.977e-05/0.2674, allocations: 155.8 kB / 437.5 MB, free: 14.44 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.724e-05/0.2675, allocations: 85.05 kB / 437.6 MB, free: 14.34 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.2675, allocations: 4 kB / 437.6 MB, free: 14.33 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.365e-05/0.2676, allocations: 0 / 437.6 MB, free: 14.33 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.51e-05/0.2676, allocations: 3.984 kB / 437.6 MB, free: 14.33 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.2676, allocations: 8 kB / 437.6 MB, free: 14.32 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.796e-05/0.2676, allocations: 107.2 kB / 437.8 MB, free: 14.21 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2677, allocations: 0 / 437.8 MB, free: 14.21 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002251/0.2679, allocations: 27.94 kB / 437.8 MB, free: 14.19 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0007752/0.2687, allocations: 395.8 kB / 438.2 MB, free: 13.86 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 7.938e-05/0.2688, allocations: 12 kB / 438.2 MB, free: 13.85 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2688, allocations: 0 / 438.2 MB, free: 13.85 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.488e-05/0.2688, allocations: 15.92 kB / 438.2 MB, free: 13.83 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003007/0.2691, allocations: 12 kB / 438.2 MB, free: 13.82 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002728/0.2694, allocations: 192.5 kB / 438.4 MB, free: 13.6 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001362/0.2695, allocations: 0.6887 MB / 439.1 MB, free: 12.88 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.782e-05/0.2696, allocations: 11.44 kB / 439.1 MB, free: 12.87 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2696, allocations: 0 / 439.1 MB, free: 12.87 MB / 318.1 MB Notification: Performance of Templates: time 0.002616/0.2722, allocations: 1.391 MB / 440.5 MB, free: 11.48 MB / 318.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.Tables.makefile make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.Tables.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.Introductory.TablesCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.Introductory.TablesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.Introductory.TablesCalcHelperMain.o] Error 1