Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest.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.GeneratorTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest") translateModel(PowerSystems.Examples.Generic.Test.GeneratorTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009804/0.0009807, 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.001119/0.001119, 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.583/1.583, 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.1713/0.1713, 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.0004975/0.0004975, allocations: 19.12 kB / 377.1 MB, free: 3.184 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2657/0.2662, allocations: 56.33 MB / 433.5 MB, free: 19 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.GeneratorTest): time 0.003154/0.2694, allocations: 3.084 MB / 436.6 MB, free: 15.9 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001314/0.2707, allocations: 1.234 MB / 437.8 MB, free: 14.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001374/0.2709, allocations: 15.88 kB / 437.8 MB, free: 14.64 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001563/0.271, allocations: 31.77 kB / 437.8 MB, free: 14.61 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003819/0.2714, allocations: 147.3 kB / 438 MB, free: 14.46 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002004/0.2716, allocations: 99.75 kB / 438.1 MB, free: 14.37 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002997/0.272, allocations: 322.9 kB / 438.4 MB, free: 14.05 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004413/0.2724, allocations: 254.8 kB / 438.6 MB, free: 13.79 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001422/0.2726, allocations: 91.58 kB / 438.7 MB, free: 13.7 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001476/0.2727, allocations: 107.6 kB / 438.8 MB, free: 13.59 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.157e-05/0.2727, allocations: 11.94 kB / 438.8 MB, free: 13.58 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001949/0.2729, allocations: 107.7 kB / 438.9 MB, free: 13.47 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.494e-05/0.273, allocations: 59.86 kB / 439 MB, free: 13.41 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.79e-05/0.2731, allocations: 61.58 kB / 439.1 MB, free: 13.35 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001999/0.2733, allocations: 199.5 kB / 439.3 MB, free: 13.15 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.2733, allocations: 0 / 439.3 MB, free: 13.15 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.2733, allocations: 0 / 439.3 MB, free: 13.15 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.2733, allocations: 0 / 439.3 MB, free: 13.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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0005302/0.2738, allocations: 478.8 kB / 439.7 MB, free: 12.64 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.2739, allocations: 8.031 kB / 439.7 MB, free: 12.63 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005984/0.2745, allocations: 87.59 kB / 439.8 MB, free: 12.54 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002268/0.2747, allocations: 242.7 kB / 440.1 MB, free: 12.27 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.2748, allocations: 16.31 kB / 440.1 MB, free: 12.25 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.727e-05/0.2748, allocations: 23.91 kB / 440.1 MB, free: 12.23 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000336/0.2751, allocations: 259.9 kB / 440.4 MB, free: 11.95 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.2752, allocations: 0 / 440.4 MB, free: 11.95 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.29e-05/0.2752, allocations: 15.98 kB / 440.4 MB, free: 11.93 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.566e-05/0.2752, allocations: 12.28 kB / 440.4 MB, free: 11.92 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002866/0.2755, allocations: 220.4 kB / 440.6 MB, free: 11.71 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001169/0.2767, allocations: 1.198 MB / 441.8 MB, free: 10.41 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001801/0.2769, allocations: 149.1 kB / 441.9 MB, free: 10.25 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.861e-05/0.277, allocations: 49.7 kB / 442 MB, free: 10.19 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.277, allocations: 4 kB / 442 MB, free: 10.19 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.277, allocations: 34.5 kB / 442 MB, free: 10.14 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.233e-06/0.277, allocations: 0 / 442 MB, free: 10.14 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002874/0.2773, allocations: 165.4 kB / 442.2 MB, free: 9.977 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.2773, allocations: 81.11 kB / 442.3 MB, free: 9.879 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.2775, allocations: 199 kB / 442.5 MB, free: 9.676 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.2775, allocations: 29.7 kB / 442.5 MB, free: 9.641 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.293e-05/0.2776, allocations: 155.8 kB / 442.6 MB, free: 9.48 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.742e-05/0.2776, allocations: 47.33 kB / 442.7 MB, free: 9.434 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.732e-06/0.2776, allocations: 0 / 442.7 MB, free: 9.434 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.528e-05/0.2777, allocations: 334.8 kB / 443 MB, free: 9.098 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.982e-05/0.2778, allocations: 44.11 kB / 443.1 MB, free: 9.055 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.845e-05/0.2779, allocations: 129.6 kB / 443.2 MB, free: 8.895 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.436e-05/0.278, allocations: 63.92 kB / 443.2 MB, free: 8.832 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.278, allocations: 3.953 kB / 443.3 MB, free: 8.828 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002299/0.2782, allocations: 209.1 kB / 443.5 MB, free: 8.617 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.2782, allocations: 8 kB / 443.5 MB, free: 8.609 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.2782, allocations: 3.938 kB / 443.5 MB, free: 8.605 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.2783, allocations: 12 kB / 443.5 MB, free: 8.594 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002083/0.2785, allocations: 47.91 kB / 443.5 MB, free: 8.547 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006359/0.2791, allocations: 1.326 MB / 444.9 MB, free: 7.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.153e-05/0.2792, allocations: 19.84 kB / 444.9 MB, free: 7.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.2792, allocations: 8 kB / 444.9 MB, free: 7.062 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.833e-05/0.2793, allocations: 145.9 kB / 445 MB, free: 6.91 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.301e-05/0.2794, allocations: 19.81 kB / 445 MB, free: 6.891 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001852/0.2796, allocations: 142.9 kB / 445.2 MB, free: 6.742 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.2796, allocations: 4 kB / 445.2 MB, free: 6.738 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-06/0.2796, allocations: 0 / 445.2 MB, free: 6.738 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.2796, allocations: 0 / 445.2 MB, free: 6.738 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000475/0.2801, allocations: 496 kB / 445.7 MB, free: 6.191 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2801, allocations: 4.062 kB / 445.7 MB, free: 6.188 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001488/0.2803, allocations: 35.92 kB / 445.7 MB, free: 6.152 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.2803, allocations: 0 / 445.7 MB, free: 6.152 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.2803, allocations: 7.938 kB / 445.7 MB, free: 6.145 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005137/0.2808, allocations: 1.333 MB / 447 MB, free: 4.684 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.2808, allocations: 11.97 kB / 447.1 MB, free: 4.672 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002395/0.2811, allocations: 296.1 kB / 447.3 MB, free: 4.359 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.643e-05/0.2811, allocations: 105 kB / 447.5 MB, free: 4.238 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.193e-05/0.2811, allocations: 4 kB / 447.5 MB, free: 4.234 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.526e-05/0.2812, allocations: 4 kB / 447.5 MB, free: 4.23 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.016e-05/0.2813, allocations: 15.92 kB / 447.5 MB, free: 4.215 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.2813, allocations: 7.953 kB / 447.5 MB, free: 4.207 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.513e-05/0.2814, allocations: 152.4 kB / 447.6 MB, free: 4.059 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2814, allocations: 0 / 447.6 MB, free: 4.059 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003235/0.2817, allocations: 47.91 kB / 447.7 MB, free: 4.012 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (inertia.w,constantTorque.phi) * 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 (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.69e-05/0.2818, allocations: 95.25 kB / 447.8 MB, free: 3.91 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002647/0.2821, allocations: 127.8 kB / 447.9 MB, free: 3.785 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.2821, allocations: 0 / 447.9 MB, free: 3.785 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001205/0.2822, allocations: 60.72 kB / 448 MB, free: 3.727 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003516/0.2826, allocations: 28.5 kB / 448 MB, free: 3.699 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008116/0.2834, allocations: 0.6513 MB / 448.6 MB, free: 3.008 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001605/0.2836, allocations: 0.7362 MB / 449.4 MB, free: 2.242 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.034e-05/0.2836, allocations: 19.44 kB / 449.4 MB, free: 2.223 MB / 318.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2836, allocations: 0 / 449.4 MB, free: 2.223 MB / 318.1 MB Notification: Performance of Templates: time 0.004377/0.288, allocations: 2.99 MB / 452.4 MB, free: 15.23 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest.makefile make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest.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.GeneratorTestCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTestCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTestCalcHelperMain.o] Error 1