Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.AC3ph.Generation.PVsource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PVsource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008971/0.0008968, allocations: 91.52 kB / 17.31 MB, free: 5.59 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.0008868/0.0008869, allocations: 178.6 kB / 18.21 MB, free: 5.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 223.2 MB / 242.2 MB, free: 14.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1849/0.1849, allocations: 38.08 MB / 331.5 MB, free: 8.539 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003887/0.0003889, allocations: 8 kB / 401.4 MB, free: 34.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1519, allocations: 59.16 MB / 460.5 MB, free: 7.059 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.006749/0.1587, allocations: 4.842 MB / 465.4 MB, free: 2.188 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003403/0.1621, allocations: 1.484 MB / 466.9 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006258/0.1628, allocations: 27.81 kB / 466.9 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005304/0.1634, allocations: 87.44 kB / 467 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009869/0.1644, allocations: 227 kB / 467.2 MB, free: 372 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006838/0.1651, allocations: 147.8 kB / 467.3 MB, free: 224 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001293/0.1664, allocations: 0.8376 MB / 468.2 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001294/0.1677, allocations: 0.5399 MB / 468.7 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006296/0.1684, allocations: 203 kB / 468.9 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006913/0.1691, allocations: 283 kB / 469.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.573e-05/0.1692, allocations: 19.94 kB / 469.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004029/0.1696, allocations: 127.7 kB / 469.3 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002553/0.1698, allocations: 175.5 kB / 469.5 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003305/0.1702, allocations: 220.7 kB / 469.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005597/0.1707, allocations: 391 kB / 470.1 MB, free: 13.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1708, allocations: 4 kB / 470.1 MB, free: 13.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1708, allocations: 0 / 470.1 MB, free: 13.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.126e-05/0.1708, allocations: 0 / 470.1 MB, free: 13.41 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001375/0.1722, allocations: 0.6212 MB / 470.7 MB, free: 12.74 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.1722, allocations: 12.03 kB / 470.7 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007834/0.173, allocations: 92.3 kB / 470.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007993/0.1738, allocations: 391.2 kB / 471.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.064e-05/0.1739, allocations: 33.38 kB / 471.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001524/0.174, allocations: 44.11 kB / 471.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007979/0.1749, allocations: 472.8 kB / 471.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.499e-05/0.1749, allocations: 4 kB / 471.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.156e-05/0.1749, allocations: 19.98 kB / 471.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001177/0.1751, allocations: 21 kB / 471.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006495/0.1757, allocations: 339.7 kB / 472.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002676/0.1784, allocations: 1.71 MB / 473.8 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003518/0.1788, allocations: 149.1 kB / 474 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000163/0.179, allocations: 101.7 kB / 474.1 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.481e-05/0.179, allocations: 7.938 kB / 474.1 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.769e-05/0.179, allocations: 38.56 kB / 474.1 MB, free: 9.113 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 2.696e-06/0.179, allocations: 3.938 kB / 474.1 MB, free: 9.109 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001755/0.1808, allocations: 0.8533 MB / 475 MB, free: 8.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.57e-05/0.1809, allocations: 81.05 kB / 475.1 MB, free: 8.082 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004515/0.1814, allocations: 300.5 kB / 475.3 MB, free: 7.777 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.542e-05/0.1814, allocations: 37.64 kB / 475.4 MB, free: 7.734 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002812/0.1817, allocations: 251.4 kB / 475.6 MB, free: 7.484 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001356/0.1819, allocations: 63.09 kB / 475.7 MB, free: 7.422 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.225e-05/0.1819, allocations: 29.7 kB / 475.7 MB, free: 7.387 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.1821, allocations: 346.8 kB / 476.1 MB, free: 7.039 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000155/0.1823, allocations: 96.25 kB / 476.2 MB, free: 6.941 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002312/0.1825, allocations: 193.2 kB / 476.3 MB, free: 6.707 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003797/0.1829, allocations: 314.5 kB / 476.6 MB, free: 6.355 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1829, allocations: 0 / 476.6 MB, free: 6.355 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008343/0.1837, allocations: 453.5 kB / 477.1 MB, free: 5.902 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.623e-05/0.1838, allocations: 11.94 kB / 477.1 MB, free: 5.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005733/0.1844, allocations: 295.9 kB / 477.4 MB, free: 5.602 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004823/0.1848, allocations: 128.7 kB / 477.5 MB, free: 5.473 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001959/0.1851, allocations: 59.84 kB / 477.6 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00265/0.1877, allocations: 2.141 MB / 479.7 MB, free: 3.145 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002066/0.1879, allocations: 20.05 kB / 479.7 MB, free: 3.125 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.33e-05/0.188, allocations: 12 kB / 479.7 MB, free: 3.113 MB / 350.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 (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002642/0.1882, allocations: 193.7 kB / 479.9 MB, free: 2.914 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.869e-05/0.1883, allocations: 27.62 kB / 480 MB, free: 2.887 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004596/0.1888, allocations: 249.4 kB / 480.2 MB, free: 2.629 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.1888, allocations: 0 / 480.2 MB, free: 2.629 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.1888, allocations: 4 kB / 480.2 MB, free: 2.625 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.1888, allocations: 3.938 kB / 480.2 MB, free: 2.621 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001077/0.1899, allocations: 0.7156 MB / 480.9 MB, free: 1.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.1899, allocations: 7.938 kB / 480.9 MB, free: 1.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000202/0.1901, allocations: 35.97 kB / 481 MB, free: 1.797 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001084/0.1902, allocations: 32.84 kB / 481 MB, free: 1.762 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.091e-05/0.1903, allocations: 7.969 kB / 481 MB, free: 1.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001451/0.1917, allocations: 1.486 MB / 482.5 MB, free: 144 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.1917, allocations: 0 / 482.5 MB, free: 144 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005554/0.1923, allocations: 428.5 kB / 482.9 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.576e-05/0.1924, allocations: 100.7 kB / 483 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.935e-05/0.1924, allocations: 20.03 kB / 483 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/0.1926, allocations: 4 kB / 483 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.838e-05/0.1926, allocations: 15.92 kB / 483.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.1927, allocations: 7.984 kB / 483.1 MB, free: 15.53 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002277/0.1929, allocations: 215.1 kB / 483.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1929, allocations: 0 / 483.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004904/0.1934, allocations: 88 kB / 483.4 MB, free: 15.24 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001366/0.1935, allocations: 108 kB / 483.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006738/0.1942, allocations: 387 kB / 483.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1942, allocations: 0 / 483.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003236/0.1946, allocations: 235.5 kB / 484.1 MB, free: 14.49 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004989/0.1951, allocations: 57.06 kB / 484.1 MB, free: 14.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001488/0.1966, allocations: 1.132 MB / 485.3 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004474/0.197, allocations: 0.846 MB / 486.1 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.425e-05/0.1971, allocations: 23.44 kB / 486.1 MB, free: 12.36 MB / 366.1 MB Notification: Performance of SimCode: time 2.625e-06/0.1971, allocations: 0 / 486.1 MB, free: 12.36 MB / 366.1 MB Notification: Performance of Templates: time 0.008386/0.2055, allocations: 5.675 MB / 491.8 MB, free: 6.695 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.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_latest_PowerSystems.Examples.AC3ph.Generation.PVsourceCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsourceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsourceCalcHelperMain.o] Error 1