Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.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.PMeterTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest") translateModel(PowerSystems.Examples.Generic.Test.PMeterTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008723/0.0008723, allocations: 107.8 kB / 17.16 MB, free: 6.082 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.0008351/0.000835, allocations: 198.9 kB / 18.08 MB, free: 5.285 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.175/1.175, allocations: 205.1 MB / 223.9 MB, free: 12.39 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1555/0.1555, allocations: 37.98 MB / 309.2 MB, free: 6.234 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.001177/0.001177, allocations: 59.05 kB / 375.3 MB, free: 4.102 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1839/0.1851, allocations: 55.24 MB / 430.5 MB, free: 19.8 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.00342/0.1886, allocations: 3.68 MB / 434.2 MB, free: 16.1 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001348/0.19, allocations: 1.626 MB / 435.8 MB, free: 14.46 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.1901, allocations: 11.88 kB / 435.8 MB, free: 14.45 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005823/0.1907, allocations: 249.5 kB / 436.1 MB, free: 14.21 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000352/0.191, allocations: 259.2 kB / 436.3 MB, free: 13.96 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001873/0.1912, allocations: 119.7 kB / 436.4 MB, free: 13.84 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003059/0.1915, allocations: 0.5612 MB / 437 MB, free: 13.28 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002315/0.1918, allocations: 146 kB / 437.1 MB, free: 13.14 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001359/0.1919, allocations: 119.4 kB / 437.3 MB, free: 13.02 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001566/0.1921, allocations: 171.4 kB / 437.4 MB, free: 12.85 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.1921, allocations: 8 kB / 437.4 MB, free: 12.84 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003857/0.1925, allocations: 415 kB / 437.8 MB, free: 12.44 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.004e-05/0.1926, allocations: 91.77 kB / 437.9 MB, free: 12.35 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.86e-05/0.1927, allocations: 107.4 kB / 438 MB, free: 12.24 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002332/0.1929, allocations: 271.4 kB / 438.3 MB, free: 11.98 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.1929, allocations: 4 kB / 438.3 MB, free: 11.97 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.1929, allocations: 0 / 438.3 MB, free: 11.97 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.1929, allocations: 0 / 438.3 MB, free: 11.97 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.0004375/0.1934, allocations: 0.5026 MB / 438.8 MB, free: 11.42 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.839e-05/0.1934, allocations: 8.031 kB / 438.8 MB, free: 11.41 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007619/0.1942, allocations: 108.5 kB / 438.9 MB, free: 11.31 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002009/0.1944, allocations: 260.4 kB / 439.2 MB, free: 11.02 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.1944, allocations: 12.38 kB / 439.2 MB, free: 11 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.837e-05/0.1944, allocations: 23.88 kB / 439.2 MB, free: 10.98 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003624/0.1948, allocations: 322.3 kB / 439.5 MB, free: 10.64 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.1948, allocations: 0 / 439.5 MB, free: 10.64 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.271e-05/0.1948, allocations: 12 kB / 439.5 MB, free: 10.63 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.531e-05/0.1949, allocations: 19.92 kB / 439.6 MB, free: 10.61 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003337/0.1952, allocations: 303.7 kB / 439.9 MB, free: 10.31 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00111/0.1963, allocations: 1.289 MB / 441.1 MB, free: 8.926 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002182/0.1966, allocations: 206.3 kB / 441.3 MB, free: 8.688 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.247e-05/0.1966, allocations: 41.77 kB / 441.4 MB, free: 8.641 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.1966, allocations: 0 / 441.4 MB, free: 8.641 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.587e-05/0.1967, allocations: 38.69 kB / 441.4 MB, free: 8.594 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.012e-06/0.1967, allocations: 0 / 441.4 MB, free: 8.594 MB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.000239/0.1969, allocations: 141.3 kB / 441.6 MB, free: 8.449 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.906e-05/0.197, allocations: 85.23 kB / 441.6 MB, free: 8.348 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.1971, allocations: 211.7 kB / 441.8 MB, free: 8.129 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.484e-06/0.1971, allocations: 25.7 kB / 441.9 MB, free: 8.098 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.534e-05/0.1972, allocations: 171.6 kB / 442 MB, free: 7.926 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.1972, allocations: 43.45 kB / 442.1 MB, free: 7.883 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.175e-05/0.1972, allocations: 33.72 kB / 442.1 MB, free: 7.844 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.2e-05/0.1973, allocations: 334.8 kB / 442.4 MB, free: 7.508 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.126e-05/0.1973, allocations: 35.92 kB / 442.5 MB, free: 7.473 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.199e-05/0.1974, allocations: 133.9 kB / 442.6 MB, free: 7.297 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.1975, allocations: 196.6 kB / 442.8 MB, free: 7.059 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1976, allocations: 0 / 442.8 MB, free: 7.059 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002117/0.1978, allocations: 217.1 kB / 443 MB, free: 6.84 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.1978, allocations: 4 kB / 443 MB, free: 6.836 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1978, allocations: 4 kB / 443 MB, free: 6.832 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.1978, allocations: 4 kB / 443 MB, free: 6.828 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.198, allocations: 43.92 kB / 443.1 MB, free: 6.785 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.198, allocations: 8 kB / 443.1 MB, free: 6.777 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.88e-05/0.1981, allocations: 32.58 kB / 443.1 MB, free: 6.746 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.1981, allocations: 16 kB / 443.1 MB, free: 6.73 MB / 318.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 (23): * Single equations (assignments): 23 * 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 7.699e-05/0.1982, allocations: 149.7 kB / 443.3 MB, free: 6.574 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.258e-05/0.1982, allocations: 15.81 kB / 443.3 MB, free: 6.559 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001501/0.1984, allocations: 130.9 kB / 443.4 MB, free: 6.426 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.1984, allocations: 4 kB / 443.4 MB, free: 6.422 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.1984, allocations: 0 / 443.4 MB, free: 6.422 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1984, allocations: 0 / 443.4 MB, free: 6.422 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004701/0.1989, allocations: 0.5759 MB / 444 MB, free: 5.762 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.1989, allocations: 4.312 kB / 444 MB, free: 5.758 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.47e-05/0.199, allocations: 19.94 kB / 444 MB, free: 5.738 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.125e-06/0.199, allocations: 7.938 kB / 444 MB, free: 5.73 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.998e-06/0.199, allocations: 4 kB / 444 MB, free: 5.727 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.199, allocations: 7.984 kB / 444 MB, free: 5.719 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.199, allocations: 4 kB / 444 MB, free: 5.715 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001528/0.1991, allocations: 275.9 kB / 444.3 MB, free: 5.398 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.256e-05/0.1992, allocations: 96.91 kB / 444.4 MB, free: 5.285 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.668e-05/0.1992, allocations: 15.94 kB / 444.4 MB, free: 5.27 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.1993, allocations: 4 kB / 444.4 MB, free: 5.266 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.939e-05/0.1994, allocations: 15.92 kB / 444.4 MB, free: 5.25 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.886e-06/0.1994, allocations: 8 kB / 444.4 MB, free: 5.242 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.841e-05/0.1995, allocations: 157.5 kB / 444.6 MB, free: 5.09 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1995, allocations: 0 / 444.6 MB, free: 5.09 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002957/0.1998, allocations: 51.84 kB / 444.7 MB, free: 5.039 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (11): * Single equations (assignments): 10 * 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.299e-05/0.1998, allocations: 103.2 kB / 444.8 MB, free: 4.93 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001607/0.2, allocations: 119.3 kB / 444.9 MB, free: 4.816 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2, allocations: 0 / 444.9 MB, free: 4.816 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.287e-05/0.2001, allocations: 53.34 kB / 444.9 MB, free: 4.766 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003555/0.2004, allocations: 28.5 kB / 444.9 MB, free: 4.738 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000513/0.2009, allocations: 0.5495 MB / 445.5 MB, free: 4.125 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001393/0.2011, allocations: 0.7557 MB / 446.3 MB, free: 3.344 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.596e-05/0.2011, allocations: 19.44 kB / 446.3 MB, free: 3.328 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2011, allocations: 0 / 446.3 MB, free: 3.328 MB / 318.1 MB Notification: Performance of Templates: time 0.002807/0.204, allocations: 2.199 MB / 448.5 MB, free: 1.125 MB / 318.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.makefile make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.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.PMeterTestCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.Generic.Test.PMeterTestCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.Generic.Test.PMeterTestCalcHelperMain.o] Error 1