Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.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.FixedCurrentTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest") translateModel(PowerSystems.Examples.Generic.Test.FixedCurrentTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009036/0.0009037, allocations: 109.7 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.0008916/0.0008916, 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.187/1.187, allocations: 205.1 MB / 223.9 MB, free: 12.49 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1558/0.1558, allocations: 37.99 MB / 309.3 MB, free: 6.246 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.001164/0.001164, allocations: 63.59 kB / 375.3 MB, free: 4.133 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.1771, allocations: 55.25 MB / 430.5 MB, free: 20.05 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedCurrentTest): time 0.003277/0.1804, allocations: 3.715 MB / 434.2 MB, free: 16.32 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001343/0.1818, allocations: 1.606 MB / 435.8 MB, free: 14.7 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.1819, allocations: 7.938 kB / 435.8 MB, free: 14.69 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005552/0.1824, allocations: 243.2 kB / 436.1 MB, free: 14.45 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003427/0.1828, allocations: 259.1 kB / 436.3 MB, free: 14.2 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000185/0.183, allocations: 119.7 kB / 436.4 MB, free: 14.08 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003046/0.1833, allocations: 0.5612 MB / 437 MB, free: 13.52 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000232/0.1835, allocations: 142 kB / 437.1 MB, free: 13.38 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001336/0.1837, allocations: 139.3 kB / 437.3 MB, free: 13.25 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001528/0.1838, allocations: 159.5 kB / 437.4 MB, free: 13.09 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.136e-05/0.1839, allocations: 12 kB / 437.4 MB, free: 13.08 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000376/0.1842, allocations: 403 kB / 437.8 MB, free: 12.68 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.137e-05/0.1843, allocations: 95.75 kB / 437.9 MB, free: 12.59 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.527e-05/0.1844, allocations: 99.47 kB / 438 MB, free: 12.49 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002206/0.1846, allocations: 271.4 kB / 438.3 MB, free: 12.23 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1846, allocations: 4 kB / 438.3 MB, free: 12.22 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.12e-07/0.1847, allocations: 0 / 438.3 MB, free: 12.22 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.1847, allocations: 0 / 438.3 MB, free: 12.22 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.0004759/0.1851, allocations: 0.5181 MB / 438.8 MB, free: 11.66 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.975e-05/0.1852, allocations: 8.031 kB / 438.8 MB, free: 11.65 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007347/0.1859, allocations: 96.53 kB / 438.9 MB, free: 11.55 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002019/0.1861, allocations: 259.8 kB / 439.2 MB, free: 11.26 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.1861, allocations: 16.31 kB / 439.2 MB, free: 11.25 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.271e-05/0.1862, allocations: 16.38 kB / 439.2 MB, free: 11.23 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003484/0.1865, allocations: 329.7 kB / 439.5 MB, free: 10.88 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.1866, allocations: 0 / 439.5 MB, free: 10.88 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.131e-05/0.1866, allocations: 8 kB / 439.5 MB, free: 10.88 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.748e-05/0.1866, allocations: 19.98 kB / 439.6 MB, free: 10.86 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000315/0.1869, allocations: 291.7 kB / 439.8 MB, free: 10.57 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00115/0.1881, allocations: 1.264 MB / 441.1 MB, free: 9.219 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003288/0.1884, allocations: 229.1 kB / 441.3 MB, free: 8.977 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.1886, allocations: 102 kB / 441.4 MB, free: 8.871 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.1886, allocations: 7.922 kB / 441.4 MB, free: 8.863 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.1886, allocations: 46.5 kB / 441.5 MB, free: 8.809 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.272e-06/0.1886, allocations: 0 / 441.5 MB, free: 8.809 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006167/0.1892, allocations: 440.1 kB / 441.9 MB, free: 8.371 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.099e-05/0.1893, allocations: 77.11 kB / 442 MB, free: 8.277 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.1894, allocations: 206.4 kB / 442.2 MB, free: 8.062 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.1894, allocations: 25.7 kB / 442.2 MB, free: 8.031 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.813e-05/0.1895, allocations: 159.9 kB / 442.4 MB, free: 7.871 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.906e-05/0.1895, allocations: 59.11 kB / 442.4 MB, free: 7.812 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.763e-05/0.1896, allocations: 49.69 kB / 442.5 MB, free: 7.758 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.806e-05/0.1896, allocations: 330.8 kB / 442.8 MB, free: 7.426 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.911e-05/0.1897, allocations: 87.89 kB / 442.9 MB, free: 7.34 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.1898, allocations: 164.5 kB / 443 MB, free: 7.148 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002223/0.19, allocations: 264.3 kB / 443.3 MB, free: 6.859 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.1901, allocations: 0 / 443.3 MB, free: 6.859 MB / 318.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003035/0.1904, allocations: 298.3 kB / 443.6 MB, free: 6.562 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.1904, allocations: 8 kB / 443.6 MB, free: 6.555 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.1904, allocations: 3.938 kB / 443.6 MB, free: 6.551 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.1904, allocations: 4 kB / 443.6 MB, free: 6.547 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002053/0.1906, allocations: 51.91 kB / 443.7 MB, free: 6.496 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.299e-05/0.1906, allocations: 11.88 kB / 443.7 MB, free: 6.484 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/0.1908, allocations: 15.98 kB / 443.7 MB, free: 6.469 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.776e-05/0.1908, allocations: 8 kB / 443.7 MB, free: 6.461 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (27): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.841e-05/0.1909, allocations: 165.9 kB / 443.9 MB, free: 6.289 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.825e-05/0.1909, allocations: 15.81 kB / 443.9 MB, free: 6.273 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002794/0.1912, allocations: 230.4 kB / 444.1 MB, free: 6.047 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1912, allocations: 4 kB / 444.1 MB, free: 6.043 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1912, allocations: 0 / 444.1 MB, free: 6.043 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1912, allocations: 3.984 kB / 444.1 MB, free: 6.039 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008825/0.1921, allocations: 0.9516 MB / 445.1 MB, free: 4.984 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-05/0.1922, allocations: 4 kB / 445.1 MB, free: 4.98 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001225/0.1923, allocations: 31.92 kB / 445.1 MB, free: 4.949 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.1923, allocations: 8 kB / 445.1 MB, free: 4.941 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.1923, allocations: 7.938 kB / 445.1 MB, free: 4.934 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.1923, allocations: 7.984 kB / 445.1 MB, free: 4.926 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.1923, allocations: 7.938 kB / 445.1 MB, free: 4.918 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002541/0.1926, allocations: 413.3 kB / 445.5 MB, free: 4.449 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.305e-05/0.1926, allocations: 100.9 kB / 445.6 MB, free: 4.332 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.083e-05/0.1927, allocations: 15.94 kB / 445.6 MB, free: 4.316 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.1928, allocations: 11.98 kB / 445.7 MB, free: 4.305 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.83e-05/0.1929, allocations: 23.86 kB / 445.7 MB, free: 4.281 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.1929, allocations: 8 kB / 445.7 MB, free: 4.273 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.865e-05/0.193, allocations: 143.2 kB / 445.8 MB, free: 4.133 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.193, allocations: 4 kB / 445.8 MB, free: 4.129 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003267/0.1933, allocations: 56 kB / 445.9 MB, free: 4.074 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 simulation (18): * Single equations (assignments): 17 * 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.861e-05/0.1934, allocations: 111.1 kB / 446 MB, free: 3.957 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002508/0.1936, allocations: 211.6 kB / 446.2 MB, free: 3.75 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.1936, allocations: 4.562 kB / 446.2 MB, free: 3.746 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.1937, allocations: 99.77 kB / 446.3 MB, free: 3.648 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000401/0.1942, allocations: 50.36 kB / 446.3 MB, free: 3.602 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006518/0.1948, allocations: 0.6899 MB / 447 MB, free: 2.832 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001483/0.195, allocations: 0.7635 MB / 447.8 MB, free: 2.043 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.39e-05/0.195, allocations: 27.44 kB / 447.8 MB, free: 2.016 MB / 318.1 MB Notification: Performance of SimCode: time 2.9e-07/0.195, allocations: 0 / 447.8 MB, free: 2.016 MB / 318.1 MB Notification: Performance of Templates: time 0.003115/0.1982, allocations: 2.623 MB / 450.5 MB, free: 15.39 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.makefile make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.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.Generic.Test.FixedCurrentTestCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTestCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTestCalcHelperMain.o] Error 1