Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.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.AC1ph_DC.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008833/0.0008831, allocations: 96.23 kB / 16.95 MB, free: 5.652 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.0008807/0.0008807, allocations: 186.9 kB / 17.85 MB, free: 5.309 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.605/1.605, 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.1703/0.1703, allocations: 38.04 MB / 310.3 MB, free: 6.035 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.0004923/0.0004925, allocations: 12 kB / 377.2 MB, free: 3.094 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2706/0.2711, allocations: 56.33 MB / 433.5 MB, free: 18.97 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Source): time 0.003768/0.2749, allocations: 3.994 MB / 437.5 MB, free: 14.95 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001276/0.2762, allocations: 1.057 MB / 438.5 MB, free: 13.89 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001915/0.2764, allocations: 19.88 kB / 438.6 MB, free: 13.87 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001713/0.2766, allocations: 55.53 kB / 438.6 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004375/0.277, allocations: 194.9 kB / 438.8 MB, free: 13.62 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001883/0.2772, allocations: 103.8 kB / 438.9 MB, free: 13.52 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003035/0.2776, allocations: 418.5 kB / 439.3 MB, free: 13.11 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001624/0.2777, allocations: 64.78 kB / 439.4 MB, free: 13.05 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001863/0.2779, allocations: 139.3 kB / 439.5 MB, free: 12.91 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002659/0.2782, allocations: 159.4 kB / 439.7 MB, free: 12.76 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.527e-05/0.2782, allocations: 12 kB / 439.7 MB, free: 12.75 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.134e-05/0.2783, allocations: 11.94 kB / 439.7 MB, free: 12.73 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.412e-05/0.2783, allocations: 79.77 kB / 439.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.548e-05/0.2784, allocations: 73.52 kB / 439.8 MB, free: 12.58 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000182/0.2786, allocations: 183.5 kB / 440 MB, free: 12.4 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2786, allocations: 0 / 440 MB, free: 12.4 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.2786, allocations: 0 / 440 MB, free: 12.4 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.2786, allocations: 0 / 440 MB, free: 12.4 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.0006867/0.2793, allocations: 0.5115 MB / 440.5 MB, free: 11.84 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.2794, allocations: 12.03 kB / 440.5 MB, free: 11.83 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.093e-05/0.2794, allocations: 35.58 kB / 440.6 MB, free: 11.79 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003199/0.2797, allocations: 298.8 kB / 440.9 MB, free: 11.46 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.2798, allocations: 16.44 kB / 440.9 MB, free: 11.45 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.441e-05/0.2798, allocations: 16 kB / 440.9 MB, free: 11.43 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003124/0.2801, allocations: 277.8 kB / 441.2 MB, free: 11.13 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.2801, allocations: 0 / 441.2 MB, free: 11.13 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.243e-05/0.2802, allocations: 12 kB / 441.2 MB, free: 11.12 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.2802, allocations: 4 kB / 441.2 MB, free: 11.11 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002085/0.2804, allocations: 167.7 kB / 441.3 MB, free: 10.95 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009337/0.2813, allocations: 1.171 MB / 442.5 MB, free: 9.688 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001107/0.2815, allocations: 69.17 kB / 442.6 MB, free: 9.602 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.676e-05/0.2815, allocations: 33.81 kB / 442.6 MB, free: 9.562 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.2816, allocations: 7.922 kB / 442.6 MB, free: 9.555 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.2816, allocations: 38.5 kB / 442.7 MB, free: 9.508 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.2816, allocations: 4 kB / 442.7 MB, free: 9.504 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006702/0.2823, allocations: 412.7 kB / 443.1 MB, free: 9.047 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/0.2823, allocations: 77.11 kB / 443.1 MB, free: 8.953 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002122/0.2825, allocations: 242.6 kB / 443.4 MB, free: 8.707 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.2826, allocations: 25.7 kB / 443.4 MB, free: 8.676 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.373e-05/0.2827, allocations: 199.7 kB / 443.6 MB, free: 8.477 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.436e-05/0.2827, allocations: 31.55 kB / 443.6 MB, free: 8.445 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.562e-06/0.2827, allocations: 7.938 kB / 443.6 MB, free: 8.438 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.754e-05/0.2828, allocations: 334.8 kB / 444 MB, free: 8.102 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.888e-05/0.2828, allocations: 20.38 kB / 444 MB, free: 8.082 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.704e-05/0.2829, allocations: 125.5 kB / 444.1 MB, free: 7.914 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.781e-05/0.283, allocations: 51.92 kB / 444.2 MB, free: 7.863 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.283, allocations: 0 / 444.2 MB, free: 7.863 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001992/0.2832, allocations: 177.3 kB / 444.3 MB, free: 7.684 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.2832, allocations: 4 kB / 444.3 MB, free: 7.68 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.2832, allocations: 7.984 kB / 444.3 MB, free: 7.672 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.2833, allocations: 8 kB / 444.4 MB, free: 7.664 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.2834, allocations: 39.92 kB / 444.4 MB, free: 7.625 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.2834, allocations: 4 kB / 444.4 MB, free: 7.621 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.619e-05/0.2835, allocations: 15.89 kB / 444.4 MB, free: 7.605 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.2835, allocations: 8 kB / 444.4 MB, free: 7.598 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 (22): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001061/0.2836, allocations: 150 kB / 444.6 MB, free: 7.441 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.442e-05/0.2837, allocations: 19.72 kB / 444.6 MB, free: 7.422 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001389/0.2838, allocations: 103.3 kB / 444.7 MB, free: 7.316 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.2838, allocations: 0 / 444.7 MB, free: 7.316 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.2838, allocations: 0 / 444.7 MB, free: 7.316 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.2838, allocations: 4 kB / 444.7 MB, free: 7.312 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003203/0.2842, allocations: 419.3 kB / 445.1 MB, free: 6.844 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.2842, allocations: 4.031 kB / 445.1 MB, free: 6.84 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.9e-05/0.2843, allocations: 19.98 kB / 445.1 MB, free: 6.82 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.2843, allocations: 448 / 445.1 MB, free: 6.82 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.906e-06/0.2843, allocations: 0 / 445.1 MB, free: 6.82 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.2843, allocations: 4 kB / 445.1 MB, free: 6.816 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.2843, allocations: 7.953 kB / 445.1 MB, free: 6.809 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001787/0.2845, allocations: 228.8 kB / 445.4 MB, free: 6.562 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.291e-05/0.2845, allocations: 100.9 kB / 445.5 MB, free: 6.445 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.666e-05/0.2846, allocations: 3.984 kB / 445.5 MB, free: 6.441 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.599e-05/0.2847, allocations: 4 kB / 445.5 MB, free: 6.438 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.006e-05/0.2847, allocations: 3.953 kB / 445.5 MB, free: 6.434 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.2847, allocations: 4 kB / 445.5 MB, free: 6.43 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001134/0.2848, allocations: 177.9 kB / 445.6 MB, free: 6.258 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2848, allocations: 0 / 445.6 MB, free: 6.258 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002723/0.2851, allocations: 36 kB / 445.7 MB, free: 6.223 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * 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 (9): * Single equations (assignments): 8 * 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 0.000107/0.2852, allocations: 107.1 kB / 445.8 MB, free: 6.109 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001403/0.2854, allocations: 83.78 kB / 445.9 MB, free: 6.027 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.2854, allocations: 0 / 445.9 MB, free: 6.027 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.939e-05/0.2854, allocations: 24.92 kB / 445.9 MB, free: 6.004 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004203/0.2858, allocations: 65.06 kB / 446 MB, free: 5.938 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007441/0.2866, allocations: 0.6501 MB / 446.6 MB, free: 5.25 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001867/0.2868, allocations: 0.7599 MB / 447.4 MB, free: 4.465 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.508e-05/0.2868, allocations: 19.44 kB / 447.4 MB, free: 4.445 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2868, allocations: 0 / 447.4 MB, free: 4.445 MB / 318.1 MB Notification: Performance of Templates: time 0.003574/0.2904, allocations: 2.621 MB / 450 MB, free: 1.82 MB / 318.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.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.AC1ph_DC.Elementary.SourceCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.SourceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.SourceCalcHelperMain.o] Error 1