Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.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 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.Elementary.Source,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source") translateModel(PowerSystems.Examples.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 93.47 kB / 17.31 MB, free: 6.535 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.001695/0.001695, allocations: 175.4 kB / 18.21 MB, free: 5.684 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.504/1.504, allocations: 223.3 MB / 242.2 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1936/0.1936, allocations: 38.09 MB / 331.4 MB, free: 8.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000352/0.0003523, allocations: 8 kB / 401.4 MB, free: 34.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1437, allocations: 59.17 MB / 460.5 MB, free: 7.062 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.006497/0.1503, allocations: 4.663 MB / 465.2 MB, free: 2.371 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003986/0.1543, allocations: 1.691 MB / 466.9 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006943/0.1551, allocations: 27.81 kB / 466.9 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000333/0.1554, allocations: 55.61 kB / 467 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001007/0.1565, allocations: 262.9 kB / 467.2 MB, free: 344 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008352/0.1573, allocations: 215.6 kB / 467.4 MB, free: 128 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001832/0.1592, allocations: 0.9551 MB / 468.4 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001259/0.1605, allocations: 451.7 kB / 468.8 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008019/0.1613, allocations: 226.9 kB / 469.1 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001075/0.1624, allocations: 366.9 kB / 469.4 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001529/0.1626, allocations: 20 kB / 469.4 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000696/0.1633, allocations: 239.5 kB / 469.7 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003392/0.1636, allocations: 211.4 kB / 469.9 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004351/0.1641, allocations: 256.4 kB / 470.1 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007694/0.1648, allocations: 0.491 MB / 470.6 MB, free: 12.9 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.1649, allocations: 0 / 470.6 MB, free: 12.9 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.1649, allocations: 0 / 470.6 MB, free: 12.9 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.596e-05/0.1649, allocations: 0 / 470.6 MB, free: 12.9 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001744/0.1666, allocations: 0.6842 MB / 471.3 MB, free: 12.17 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.1667, allocations: 8.031 kB / 471.3 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007704/0.1675, allocations: 92.31 kB / 471.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006517/0.1682, allocations: 407.2 kB / 471.8 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.839e-05/0.1682, allocations: 29.36 kB / 471.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001559/0.1684, allocations: 48.12 kB / 471.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001117/0.1695, allocations: 0.6953 MB / 472.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.274e-05/0.1695, allocations: 3.938 kB / 472.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.614e-05/0.1696, allocations: 12 kB / 472.6 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002138/0.1698, allocations: 72.94 kB / 472.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001023/0.1708, allocations: 0.6635 MB / 473.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003818/0.1747, allocations: 2.662 MB / 476 MB, free: 7.258 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005789/0.1753, allocations: 321.3 kB / 476.3 MB, free: 6.926 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002761/0.1755, allocations: 205.7 kB / 476.5 MB, free: 6.719 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.852e-05/0.1756, allocations: 7.984 kB / 476.5 MB, free: 6.711 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.846e-05/0.1756, allocations: 38.5 kB / 476.5 MB, free: 6.664 MB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 4.198e-06/0.1756, allocations: 4 kB / 476.5 MB, free: 6.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002037/0.1777, allocations: 1.296 MB / 477.8 MB, free: 5.312 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.778e-05/0.1778, allocations: 81.11 kB / 477.9 MB, free: 5.215 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003066/0.1781, allocations: 287.2 kB / 478.2 MB, free: 4.926 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.031e-05/0.1781, allocations: 29.7 kB / 478.2 MB, free: 4.891 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002015/0.1783, allocations: 251.6 kB / 478.5 MB, free: 4.637 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/0.1785, allocations: 146 kB / 478.6 MB, free: 4.492 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.387e-05/0.1785, allocations: 53.64 kB / 478.7 MB, free: 4.434 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.1787, allocations: 346.7 kB / 479 MB, free: 4.086 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002586/0.1789, allocations: 188.9 kB / 479.2 MB, free: 3.902 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003648/0.1793, allocations: 325.3 kB / 479.5 MB, free: 3.531 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006846/0.18, allocations: 0.5545 MB / 480.1 MB, free: 2.918 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.18, allocations: 0 / 480.1 MB, free: 2.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001212/0.1812, allocations: 0.6783 MB / 480.7 MB, free: 2.227 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.1813, allocations: 8 kB / 480.7 MB, free: 2.219 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008092/0.1821, allocations: 499.5 kB / 481.2 MB, free: 1.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004538/0.1826, allocations: 113.6 kB / 481.3 MB, free: 1.605 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002883/0.1829, allocations: 79.88 kB / 481.4 MB, free: 1.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00277/0.1856, allocations: 3.026 MB / 484.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002499/0.1859, allocations: 19.98 kB / 484.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.98e-05/0.1859, allocations: 19.94 kB / 484.5 MB, free: 14.2 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (45): * Single equations (assignments): 41 * Array equations: 2 * 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,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003131/0.1863, allocations: 213.7 kB / 484.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001317/0.1864, allocations: 35.56 kB / 484.7 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007538/0.1872, allocations: 464.7 kB / 485.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.288e-05/0.1872, allocations: 11.98 kB / 485.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.1872, allocations: 0 / 485.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.1872, allocations: 8 kB / 485.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001477/0.1887, allocations: 1.025 MB / 486.2 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.1887, allocations: 0 / 486.2 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003311/0.1891, allocations: 71.89 kB / 486.3 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.1891, allocations: 0 / 486.3 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.583e-05/0.1891, allocations: 8 kB / 486.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.1891, allocations: 4 kB / 486.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.1891, allocations: 3.938 kB / 486.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009479/0.1901, allocations: 0.7474 MB / 487.1 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001368/0.1902, allocations: 132.7 kB / 487.2 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.12e-05/0.1903, allocations: 8 kB / 487.2 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001979/0.1905, allocations: 19.97 kB / 487.2 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.585e-05/0.1905, allocations: 20.16 kB / 487.2 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.161e-05/0.1906, allocations: 12 kB / 487.3 MB, free: 11.3 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002089/0.1908, allocations: 207.1 kB / 487.5 MB, free: 11.1 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1908, allocations: 3.938 kB / 487.5 MB, free: 11.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005128/0.1913, allocations: 112 kB / 487.6 MB, free: 10.98 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.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 (30): * Single equations (assignments): 27 * Array equations: 2 * 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 0.0002805/0.1916, allocations: 131.2 kB / 487.7 MB, free: 10.85 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001078/0.1927, allocations: 0.72 MB / 488.4 MB, free: 10.1 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1927, allocations: 0 / 488.4 MB, free: 10.1 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000264/0.193, allocations: 208.9 kB / 488.6 MB, free: 9.898 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005314/0.1935, allocations: 68.78 kB / 488.7 MB, free: 9.832 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001811/0.1953, allocations: 1.421 MB / 490.1 MB, free: 8.371 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004689/0.1958, allocations: 0.8782 MB / 491 MB, free: 7.469 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.1959, allocations: 35.42 kB / 491 MB, free: 7.434 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1959, allocations: 0 / 491 MB, free: 7.434 MB / 366.1 MB Notification: Performance of Templates: time 0.009744/0.2057, allocations: 6.807 MB / 497.8 MB, free: 0.625 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.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.Elementary.SourceCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.SourceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.SourceCalcHelperMain.o] Error 1