Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.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.AC3ph.Precalculation.Z_matrixEqCirc3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008827/0.0008828, allocations: 108.2 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.0008754/0.0008754, 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.172/1.172, allocations: 205.1 MB / 223.9 MB, free: 12.47 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.156/0.156, allocations: 37.98 MB / 309.2 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.001155/0.001156, allocations: 71.44 kB / 375.3 MB, free: 4.105 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1864/0.1876, allocations: 55.24 MB / 430.5 MB, free: 19.8 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.002376/0.19, allocations: 2.089 MB / 432.6 MB, free: 17.69 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004855/0.1905, allocations: 0.566 MB / 433.2 MB, free: 17.12 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.985e-05/0.1906, allocations: 3.938 kB / 433.2 MB, free: 17.11 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001075/0.1907, allocations: 7.984 kB / 433.2 MB, free: 17.11 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.59e-05/0.1907, allocations: 27.89 kB / 433.2 MB, free: 17.08 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002175/0.191, allocations: 63.84 kB / 433.3 MB, free: 17.02 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.999e-05/0.1911, allocations: 115.6 kB / 433.4 MB, free: 16.9 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.864e-05/0.1911, allocations: 3.984 kB / 433.4 MB, free: 16.9 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.787e-05/0.1912, allocations: 27.86 kB / 433.4 MB, free: 16.87 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.047e-05/0.1912, allocations: 27.91 kB / 433.4 MB, free: 16.84 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.929e-06/0.1912, allocations: 4 kB / 433.4 MB, free: 16.84 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/0.1914, allocations: 83.81 kB / 433.5 MB, free: 16.76 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.63e-05/0.1914, allocations: 39.84 kB / 433.6 MB, free: 16.72 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.255e-05/0.1915, allocations: 47.56 kB / 433.6 MB, free: 16.67 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001107/0.1916, allocations: 109.8 kB / 433.7 MB, free: 16.57 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.1916, allocations: 0 / 433.7 MB, free: 16.57 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.1916, allocations: 0 / 433.7 MB, free: 16.57 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.1916, allocations: 4 kB / 433.7 MB, free: 16.56 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0002925/0.1919, allocations: 472.6 kB / 434.2 MB, free: 16.05 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.877e-05/0.1919, allocations: 12.03 kB / 434.2 MB, free: 16.04 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.437e-05/0.192, allocations: 16.66 kB / 434.2 MB, free: 16.02 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.1921, allocations: 204.5 kB / 434.4 MB, free: 15.78 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.1921, allocations: 11.88 kB / 434.4 MB, free: 15.77 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.288e-06/0.1921, allocations: 0 / 434.4 MB, free: 15.77 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.1923, allocations: 126.6 kB / 434.5 MB, free: 15.64 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.1923, allocations: 0 / 434.5 MB, free: 15.64 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-06/0.1923, allocations: 0 / 434.5 MB, free: 15.64 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.1923, allocations: 0 / 434.5 MB, free: 15.64 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.545e-05/0.1924, allocations: 100.3 kB / 434.6 MB, free: 15.54 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001094/0.1925, allocations: 198.1 kB / 434.8 MB, free: 15.3 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.66e-05/0.1926, allocations: 158.8 kB / 435 MB, free: 15.14 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.233e-05/0.1927, allocations: 137.2 kB / 435.1 MB, free: 15 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.173e-06/0.1927, allocations: 0 / 435.1 MB, free: 15 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.509e-05/0.1927, allocations: 42.48 kB / 435.2 MB, free: 14.95 MB / 318.1 MB Notification: Performance of pre-optimization done (n=40): time 8.11e-07/0.1927, allocations: 0 / 435.2 MB, free: 14.95 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.0003568/0.1931, allocations: 479.5 kB / 435.6 MB, free: 14.47 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.1931, allocations: 109.1 kB / 435.7 MB, free: 14.34 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.343e-05/0.1932, allocations: 146.4 kB / 435.9 MB, free: 14.18 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.293e-06/0.1932, allocations: 29.73 kB / 435.9 MB, free: 14.15 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.626e-05/0.1932, allocations: 92.8 kB / 436 MB, free: 14.05 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.517e-05/0.1933, allocations: 130.1 kB / 436.1 MB, free: 13.92 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.182e-05/0.1933, allocations: 33.7 kB / 436.2 MB, free: 13.88 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.093e-05/0.1934, allocations: 334.8 kB / 436.5 MB, free: 13.55 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.807e-05/0.1935, allocations: 91.95 kB / 436.6 MB, free: 13.46 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.337e-05/0.1935, allocations: 95.91 kB / 436.7 MB, free: 13.36 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001838/0.1937, allocations: 365.4 kB / 437 MB, free: 12.99 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1937, allocations: 4.031 kB / 437 MB, free: 12.99 MB / 318.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002048/0.1939, allocations: 327 kB / 437.4 MB, free: 12.66 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.072e-05/0.194, allocations: 81.64 kB / 437.4 MB, free: 12.57 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-06/0.194, allocations: 0 / 437.4 MB, free: 12.57 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.267e-06/0.194, allocations: 0 / 437.4 MB, free: 12.57 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.21e-07/0.194, allocations: 0 / 437.4 MB, free: 12.57 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.194, allocations: 3.984 kB / 437.4 MB, free: 12.57 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.676e-05/0.1941, allocations: 19.78 kB / 437.5 MB, free: 12.55 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.889e-05/0.1941, allocations: 8 kB / 437.5 MB, free: 12.54 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001106/0.1942, allocations: 239.4 kB / 437.7 MB, free: 12.29 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.287e-05/0.1942, allocations: 23.72 kB / 437.7 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.189e-05/0.1943, allocations: 13.95 kB / 437.7 MB, free: 12.26 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.72e-07/0.1943, allocations: 7.875 kB / 437.7 MB, free: 12.25 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.504e-06/0.1943, allocations: 0 / 437.7 MB, free: 12.25 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.1943, allocations: 0 / 437.7 MB, free: 12.25 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.468e-05/0.1944, allocations: 237.2 kB / 438 MB, free: 11.97 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.1944, allocations: 0 / 438 MB, free: 11.97 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.1944, allocations: 0 / 438 MB, free: 11.97 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1944, allocations: 4 kB / 438 MB, free: 11.96 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.1944, allocations: 4 kB / 438 MB, free: 11.96 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.1944, allocations: 4 kB / 438 MB, free: 11.96 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1944, allocations: 0 / 438 MB, free: 11.96 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005685/0.195, allocations: 0.8965 MB / 438.9 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.397e-05/0.195, allocations: 100.8 kB / 439 MB, free: 10.92 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.508e-05/0.195, allocations: 4 kB / 439 MB, free: 10.91 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.922e-05/0.1951, allocations: 8 kB / 439 MB, free: 10.91 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.262e-05/0.1951, allocations: 11.92 kB / 439 MB, free: 10.89 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.1951, allocations: 12 kB / 439 MB, free: 10.88 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.229e-05/0.1952, allocations: 120.7 kB / 439.1 MB, free: 10.77 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1952, allocations: 0 / 439.1 MB, free: 10.77 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000219/0.1954, allocations: 60 kB / 439.2 MB, free: 10.71 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0001267/0.1955, allocations: 123.2 kB / 439.3 MB, free: 10.58 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007704/0.1963, allocations: 1.581 MB / 440.9 MB, free: 8.984 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1963, allocations: 0 / 440.9 MB, free: 8.984 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005621/0.1969, allocations: 1.366 MB / 442.3 MB, free: 7.605 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002244/0.1971, allocations: 32.23 kB / 442.3 MB, free: 7.578 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006064/0.1977, allocations: 0.7226 MB / 443 MB, free: 6.824 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001285/0.1979, allocations: 0.752 MB / 443.8 MB, free: 6.047 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.227e-06/0.1979, allocations: 11.38 kB / 443.8 MB, free: 6.035 MB / 318.1 MB Notification: Performance of SimCode: time 2e-07/0.1979, allocations: 0 / 443.8 MB, free: 6.035 MB / 318.1 MB Notification: Performance of Templates: time 0.002996/0.2009, allocations: 2.3 MB / 446.1 MB, free: 3.738 MB / 318.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.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.AC3ph.Precalculation.Z_matrixEqCirc3CalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3CalcHelperMain.o] Error 1