Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.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.LoadDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=7406,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=7406,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009005/0.0009006, allocations: 107.8 kB / 17.16 MB, free: 6.328 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.0008785/0.0008785, allocations: 202.9 kB / 18.08 MB, free: 5.422 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.177/1.177, allocations: 205.1 MB / 223.9 MB, free: 12.4 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1563/0.1563, allocations: 38 MB / 309.3 MB, free: 6.227 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.001197/0.001197, allocations: 71.89 kB / 375.3 MB, free: 4.098 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.187, allocations: 55.25 MB / 430.5 MB, free: 19.78 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.003732/0.1908, allocations: 4.525 MB / 435 MB, free: 15.23 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009162/0.1917, allocations: 1.01 MB / 436.1 MB, free: 14.21 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001324/0.1918, allocations: 19.88 kB / 436.1 MB, free: 14.2 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001254/0.192, allocations: 35.7 kB / 436.1 MB, free: 14.16 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002566/0.1922, allocations: 143.2 kB / 436.2 MB, free: 14.02 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001217/0.1924, allocations: 83.84 kB / 436.3 MB, free: 13.94 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002719/0.1926, allocations: 0.5257 MB / 436.9 MB, free: 13.41 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.1928, allocations: 93.64 kB / 436.9 MB, free: 13.32 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001414/0.1929, allocations: 147.3 kB / 437.1 MB, free: 13.18 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001998/0.1931, allocations: 195.2 kB / 437.3 MB, free: 12.99 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.053e-05/0.1932, allocations: 16 kB / 437.3 MB, free: 12.97 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.046e-05/0.1932, allocations: 12 kB / 437.3 MB, free: 12.96 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.547e-05/0.1933, allocations: 83.72 kB / 437.4 MB, free: 12.88 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.58e-05/0.1934, allocations: 127.3 kB / 437.5 MB, free: 12.75 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001289/0.1935, allocations: 211.6 kB / 437.7 MB, free: 12.55 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.1935, allocations: 0 / 437.7 MB, free: 12.55 MB / 318.1 MB Notification: Performance of FrontEnd: time 6.61e-07/0.1935, allocations: 0 / 437.7 MB, free: 12.55 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.1935, allocations: 4 kB / 437.7 MB, free: 12.54 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0006928/0.1942, allocations: 0.597 MB / 438.3 MB, free: 11.9 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.564e-05/0.1943, allocations: 12.03 kB / 438.3 MB, free: 11.89 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.652e-05/0.1943, allocations: 32.56 kB / 438.4 MB, free: 11.86 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000336/0.1947, allocations: 315 kB / 438.7 MB, free: 11.51 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.1947, allocations: 16.81 kB / 438.7 MB, free: 11.49 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/0.1948, allocations: 44.05 kB / 438.7 MB, free: 11.45 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002997/0.1951, allocations: 286 kB / 439 MB, free: 11.14 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.1951, allocations: 0 / 439 MB, free: 11.14 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.991e-05/0.1951, allocations: 12 kB / 439 MB, free: 11.12 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.1952, allocations: 4 kB / 439 MB, free: 11.12 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002294/0.1954, allocations: 195.5 kB / 439.2 MB, free: 10.93 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001018/0.1964, allocations: 1.276 MB / 440.5 MB, free: 9.559 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001972/0.1966, allocations: 119.8 kB / 440.6 MB, free: 9.414 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.298e-05/0.1967, allocations: 46.62 kB / 440.7 MB, free: 9.359 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.351e-05/0.1967, allocations: 3.938 kB / 440.7 MB, free: 9.355 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.388e-05/0.1967, allocations: 42.55 kB / 440.7 MB, free: 9.305 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.233e-06/0.1967, allocations: 0 / 440.7 MB, free: 9.305 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006415/0.1974, allocations: 0.5193 MB / 441.2 MB, free: 8.73 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.483e-05/0.1974, allocations: 103.1 kB / 441.3 MB, free: 8.605 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.1976, allocations: 250.6 kB / 441.6 MB, free: 8.348 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.1976, allocations: 33.64 kB / 441.6 MB, free: 8.309 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.11e-05/0.1976, allocations: 191.7 kB / 441.8 MB, free: 8.117 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.154e-05/0.1977, allocations: 39.55 kB / 441.8 MB, free: 8.078 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.605e-05/0.1977, allocations: 49.55 kB / 441.9 MB, free: 8.023 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.241e-05/0.1978, allocations: 338.8 kB / 442.2 MB, free: 7.684 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.961e-05/0.1978, allocations: 39.98 kB / 442.2 MB, free: 7.645 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.937e-05/0.1979, allocations: 131.7 kB / 442.4 MB, free: 7.473 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.1981, allocations: 199.8 kB / 442.6 MB, free: 7.234 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1981, allocations: 0 / 442.6 MB, free: 7.234 MB / 318.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002919/0.1984, allocations: 233.8 kB / 442.8 MB, free: 7 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.999e-06/0.1984, allocations: 8 kB / 442.8 MB, free: 6.992 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1984, allocations: 4 kB / 442.8 MB, free: 6.988 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-05/0.1985, allocations: 24.84 kB / 442.8 MB, free: 6.961 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002889/0.1988, allocations: 67.83 kB / 442.9 MB, free: 6.895 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.1988, allocations: 7.938 kB / 442.9 MB, free: 6.887 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/0.1989, allocations: 7.938 kB / 442.9 MB, free: 6.879 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.199, allocations: 15.98 kB / 442.9 MB, free: 6.863 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.79e-05/0.199, allocations: 149.9 kB / 443.1 MB, free: 6.707 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.075e-05/0.1991, allocations: 23.72 kB / 443.1 MB, free: 6.684 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001903/0.1993, allocations: 139.3 kB / 443.2 MB, free: 6.543 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.1993, allocations: 11.94 kB / 443.2 MB, free: 6.531 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.1993, allocations: 0 / 443.2 MB, free: 6.531 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.1993, allocations: 3.984 kB / 443.2 MB, free: 6.527 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002429/0.1996, allocations: 289.5 kB / 443.5 MB, free: 6.195 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1996, allocations: 4 kB / 443.5 MB, free: 6.191 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001472/0.1997, allocations: 31.92 kB / 443.6 MB, free: 6.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1997, allocations: 0 / 443.6 MB, free: 6.16 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.1998, allocations: 0 / 443.6 MB, free: 6.16 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.1998, allocations: 7.938 kB / 443.6 MB, free: 6.152 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1998, allocations: 0 / 443.6 MB, free: 6.152 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002476/0.2, allocations: 363.4 kB / 443.9 MB, free: 5.777 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.182e-05/0.2001, allocations: 104.8 kB / 444 MB, free: 5.656 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.48e-05/0.2001, allocations: 4 kB / 444 MB, free: 5.652 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001406/0.2002, allocations: 3.938 kB / 444 MB, free: 5.648 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.337e-05/0.2003, allocations: 15.92 kB / 444.1 MB, free: 5.633 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.807e-06/0.2003, allocations: 4 kB / 444.1 MB, free: 5.629 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.318e-05/0.2004, allocations: 170 kB / 444.2 MB, free: 5.465 MB / 318.1 MB Notification: Performance of sort global known variables: time 6.51e-07/0.2004, allocations: 0 / 444.2 MB, free: 5.465 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003035/0.2007, allocations: 51.94 kB / 444.3 MB, free: 5.414 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pLoadDC.i,pLoadDC.L) * 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.036e-05/0.2008, allocations: 103.3 kB / 444.4 MB, free: 5.305 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002251/0.201, allocations: 205.7 kB / 444.6 MB, free: 5.082 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.201, allocations: 4 kB / 444.6 MB, free: 5.078 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.262e-05/0.2011, allocations: 48.73 kB / 444.6 MB, free: 5.031 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004468/0.2015, allocations: 53.11 kB / 444.7 MB, free: 4.977 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006785/0.2022, allocations: 0.7365 MB / 445.4 MB, free: 4.199 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001428/0.2024, allocations: 0.7677 MB / 446.2 MB, free: 3.406 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.98e-05/0.2024, allocations: 27.42 kB / 446.2 MB, free: 3.379 MB / 318.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2024, allocations: 0 / 446.2 MB, free: 3.379 MB / 318.1 MB Notification: Performance of Templates: time 0.003613/0.206, allocations: 3.466 MB / 449.7 MB, free: 15.91 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDCCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDCCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDCCalcHelperMain.o] Error 1