Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.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.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009188/0.0009189, allocations: 106.3 kB / 17.16 MB, free: 6.324 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.000862/0.000862, 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.2/1.2, allocations: 205.1 MB / 223.9 MB, free: 12.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1541/0.1541, allocations: 37.99 MB / 309.3 MB, free: 6.238 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.001143/0.001143, allocations: 59.92 kB / 375.3 MB, free: 4.121 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.175/0.1762, allocations: 55.25 MB / 430.5 MB, free: 19.8 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.004564/0.1808, allocations: 5.76 MB / 436.3 MB, free: 14.01 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001586/0.1824, allocations: 1.59 MB / 437.9 MB, free: 12.41 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001992/0.1826, allocations: 35.75 kB / 437.9 MB, free: 12.38 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003325/0.1829, allocations: 103.3 kB / 438 MB, free: 12.28 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003929/0.1833, allocations: 302.7 kB / 438.3 MB, free: 11.98 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002589/0.1836, allocations: 139.8 kB / 438.4 MB, free: 11.84 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000515/0.1841, allocations: 1.068 MB / 439.5 MB, free: 10.77 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001639/0.1843, allocations: 139.5 kB / 439.6 MB, free: 10.64 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002187/0.1845, allocations: 258.8 kB / 439.9 MB, free: 10.39 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003998/0.1849, allocations: 458.6 kB / 440.3 MB, free: 9.938 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.24e-05/0.185, allocations: 32 kB / 440.4 MB, free: 9.906 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.603e-05/0.1851, allocations: 32 kB / 440.4 MB, free: 9.875 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001592/0.1853, allocations: 219.4 kB / 440.6 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001925/0.1855, allocations: 258.8 kB / 440.9 MB, free: 9.406 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002641/0.1857, allocations: 486.9 kB / 441.3 MB, free: 8.93 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.1857, allocations: 0 / 441.3 MB, free: 8.93 MB / 318.1 MB Notification: Performance of FrontEnd: time 6.51e-07/0.1858, allocations: 4 kB / 441.3 MB, free: 8.926 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.857e-06/0.1858, allocations: 0 / 441.3 MB, free: 8.926 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001397/0.1872, allocations: 0.9479 MB / 442.3 MB, free: 7.922 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.1872, allocations: 8.031 kB / 442.3 MB, free: 7.914 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.981e-05/0.1873, allocations: 52.38 kB / 442.4 MB, free: 7.863 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007908/0.1881, allocations: 0.5916 MB / 442.9 MB, free: 7.23 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.1881, allocations: 24.66 kB / 443 MB, free: 7.207 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.986e-05/0.1882, allocations: 43.91 kB / 443 MB, free: 7.164 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005683/0.1888, allocations: 0.5518 MB / 443.6 MB, free: 6.582 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.1888, allocations: 3.938 kB / 443.6 MB, free: 6.578 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.578e-05/0.1888, allocations: 23.92 kB / 443.6 MB, free: 6.555 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002508/0.1891, allocations: 88.52 kB / 443.7 MB, free: 6.469 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004078/0.1895, allocations: 354.3 kB / 444 MB, free: 6.125 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001946/0.1915, allocations: 2.058 MB / 446.1 MB, free: 3.984 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006467/0.1921, allocations: 385.2 kB / 446.5 MB, free: 3.59 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004265/0.1926, allocations: 313.6 kB / 446.8 MB, free: 3.277 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.725e-05/0.1926, allocations: 7.938 kB / 446.8 MB, free: 3.27 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.539e-05/0.1926, allocations: 38.5 kB / 446.8 MB, free: 3.223 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 1.803e-06/0.1926, allocations: 0 / 446.8 MB, free: 3.223 MB / 318.1 MB Notification: Performance of matching and sorting (n=33): time 0.003287/0.1959, allocations: 2.553 MB / 449.4 MB, free: 472 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.318e-05/0.1959, allocations: 81.11 kB / 449.4 MB, free: 372 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002663/0.1962, allocations: 385.5 kB / 449.8 MB, free: 15.98 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.197e-05/0.1963, allocations: 33.7 kB / 449.8 MB, free: 15.94 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/0.1964, allocations: 248.2 kB / 450.1 MB, free: 15.69 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.84e-05/0.1965, allocations: 138.2 kB / 450.2 MB, free: 15.55 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/0.1966, allocations: 102.1 kB / 450.3 MB, free: 15.45 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.1968, allocations: 358.7 kB / 450.7 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003166/0.1971, allocations: 245 kB / 450.9 MB, free: 14.85 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003693/0.1975, allocations: 362.7 kB / 451.3 MB, free: 14.45 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007227/0.1982, allocations: 0.6235 MB / 451.9 MB, free: 13.79 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.1982, allocations: 4 kB / 451.9 MB, free: 13.78 MB / 334.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00147/0.1997, allocations: 1.005 MB / 452.9 MB, free: 12.76 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.1997, allocations: 15.88 kB / 452.9 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.1997, allocations: 4 kB / 452.9 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009083/0.2006, allocations: 417.5 kB / 453.3 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002713/0.2009, allocations: 79.89 kB / 453.4 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004337/0.2053, allocations: 4.73 MB / 458.1 MB, free: 7.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003103/0.2056, allocations: 39.95 kB / 458.2 MB, free: 7.211 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.557e-05/0.2056, allocations: 20.06 kB / 458.2 MB, free: 7.191 MB / 334.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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002318/0.2059, allocations: 213.5 kB / 458.4 MB, free: 6.973 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.279e-05/0.206, allocations: 39.53 kB / 458.4 MB, free: 6.934 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001292/0.2072, allocations: 0.8386 MB / 459.3 MB, free: 6.066 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.2073, allocations: 4 kB / 459.3 MB, free: 6.062 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.2073, allocations: 7.938 kB / 459.3 MB, free: 6.055 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.2073, allocations: 0 / 459.3 MB, free: 6.055 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001823/0.2091, allocations: 1.417 MB / 460.7 MB, free: 4.559 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.2091, allocations: 3.938 kB / 460.7 MB, free: 4.555 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001631/0.2093, allocations: 35.98 kB / 460.8 MB, free: 4.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001097/0.2104, allocations: 449.3 kB / 461.2 MB, free: 4.059 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-05/0.2105, allocations: 39.91 kB / 461.2 MB, free: 4.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00464/0.2151, allocations: 6.241 MB / 467.5 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.2151, allocations: 0 / 467.5 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001501/0.2166, allocations: 1.124 MB / 468.6 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.502e-05/0.2167, allocations: 116.6 kB / 468.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.67e-05/0.2168, allocations: 31.92 kB / 468.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002695/0.2171, allocations: 39.94 kB / 468.8 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.322e-05/0.2172, allocations: 35.94 kB / 468.8 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.912e-05/0.2172, allocations: 11.98 kB / 468.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002365/0.2175, allocations: 267.1 kB / 469.1 MB, free: 11.56 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2175, allocations: 0 / 469.1 MB, free: 11.56 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005895/0.2181, allocations: 160 kB / 469.2 MB, free: 11.4 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4]) * 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 (29): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001333/0.2182, allocations: 119.2 kB / 469.4 MB, free: 11.28 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00141/0.2196, allocations: 0.9115 MB / 470.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.2196, allocations: 0 / 470.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001283/0.2209, allocations: 1.083 MB / 471.4 MB, free: 9.141 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006075/0.2215, allocations: 125.8 kB / 471.5 MB, free: 9.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002476/0.224, allocations: 2.06 MB / 473.5 MB, free: 6.918 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00039/0.2244, allocations: 0.8859 MB / 474.4 MB, free: 6.008 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.311e-05/0.2245, allocations: 35.44 kB / 474.5 MB, free: 5.973 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2245, allocations: 0 / 474.5 MB, free: 5.973 MB / 350.1 MB Notification: Performance of Templates: time 0.01263/0.2372, allocations: 13.24 MB / 487.7 MB, free: 8.715 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.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.LineCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LineCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LineCalcHelperMain.o] Error 1