Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.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_matrixEqCirc2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000956/0.0009561, allocations: 109.6 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.0008787/0.0008788, 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.191/1.191, allocations: 205.1 MB / 223.9 MB, free: 12.46 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1562/0.1562, allocations: 37.99 MB / 309.3 MB, free: 6.223 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.001165/0.001165, allocations: 67.59 kB / 375.3 MB, free: 4.102 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.1764, allocations: 55.25 MB / 430.5 MB, free: 19.93 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.002638/0.1791, allocations: 2.085 MB / 432.6 MB, free: 17.82 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006264/0.1797, allocations: 0.5698 MB / 433.2 MB, free: 17.25 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.261e-05/0.1798, allocations: 4 kB / 433.2 MB, free: 17.24 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.773e-05/0.1799, allocations: 11.92 kB / 433.2 MB, free: 17.23 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.334e-05/0.18, allocations: 23.89 kB / 433.2 MB, free: 17.21 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001967/0.1802, allocations: 59.86 kB / 433.3 MB, free: 17.15 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.687e-05/0.1803, allocations: 115.6 kB / 433.4 MB, free: 17.04 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.597e-05/0.1803, allocations: 4 kB / 433.4 MB, free: 17.03 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.56e-05/0.1803, allocations: 27.91 kB / 433.4 MB, free: 17 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.628e-05/0.1804, allocations: 31.84 kB / 433.4 MB, free: 16.97 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.964e-06/0.1804, allocations: 0 / 433.4 MB, free: 16.97 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.1805, allocations: 75.84 kB / 433.5 MB, free: 16.9 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.364e-05/0.1806, allocations: 27.92 kB / 433.5 MB, free: 16.87 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.6e-05/0.1806, allocations: 35.67 kB / 433.6 MB, free: 16.84 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000101/0.1807, allocations: 89.97 kB / 433.7 MB, free: 16.75 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1807, allocations: 0 / 433.7 MB, free: 16.75 MB / 318.1 MB Notification: Performance of FrontEnd: time 6.61e-07/0.1807, allocations: 0 / 433.7 MB, free: 16.75 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.725e-06/0.1807, allocations: 4 kB / 433.7 MB, free: 16.75 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0002568/0.181, allocations: 436.7 kB / 434.1 MB, free: 16.27 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.384e-05/0.181, allocations: 8.031 kB / 434.1 MB, free: 16.26 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.947e-05/0.181, allocations: 12.75 kB / 434.1 MB, free: 16.25 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.86e-05/0.1812, allocations: 196.1 kB / 434.3 MB, free: 16.02 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.115e-06/0.1812, allocations: 4.375 kB / 434.3 MB, free: 16.01 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.728e-06/0.1812, allocations: 8.125 kB / 434.3 MB, free: 16 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.692e-05/0.1813, allocations: 85.67 kB / 434.4 MB, free: 15.91 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.1813, allocations: 0 / 434.4 MB, free: 15.91 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.873e-06/0.1813, allocations: 0 / 434.4 MB, free: 15.91 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.226e-06/0.1813, allocations: 0 / 434.4 MB, free: 15.91 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.698e-05/0.1814, allocations: 59.97 kB / 434.5 MB, free: 15.86 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.033e-05/0.1815, allocations: 181.5 kB / 434.6 MB, free: 15.63 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.485e-05/0.1815, allocations: 102.5 kB / 434.7 MB, free: 15.52 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.818e-05/0.1816, allocations: 88.8 kB / 434.8 MB, free: 15.43 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.293e-06/0.1816, allocations: 3.984 kB / 434.8 MB, free: 15.43 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.265e-05/0.1816, allocations: 30.56 kB / 434.9 MB, free: 15.39 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 9.32e-07/0.1816, allocations: 0 / 434.9 MB, free: 15.39 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.0002755/0.1819, allocations: 313 kB / 435.2 MB, free: 15.07 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.987e-05/0.1819, allocations: 97.05 kB / 435.3 MB, free: 14.96 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.828e-05/0.182, allocations: 138.9 kB / 435.4 MB, free: 14.81 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.552e-06/0.182, allocations: 29.7 kB / 435.4 MB, free: 14.78 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.076e-05/0.182, allocations: 84.58 kB / 435.5 MB, free: 14.69 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.008e-05/0.1821, allocations: 82.83 kB / 435.6 MB, free: 14.61 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.826e-05/0.1821, allocations: 25.7 kB / 435.6 MB, free: 14.58 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.044e-05/0.1822, allocations: 326.8 kB / 435.9 MB, free: 14.25 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.354e-05/0.1822, allocations: 55.98 kB / 436 MB, free: 14.2 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.704e-05/0.1823, allocations: 59.83 kB / 436 MB, free: 14.14 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001243/0.1824, allocations: 248.1 kB / 436.3 MB, free: 13.88 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.1824, allocations: 0 / 436.3 MB, free: 13.88 MB / 318.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001486/0.1826, allocations: 231 kB / 436.5 MB, free: 13.64 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.753e-05/0.1826, allocations: 65.66 kB / 436.6 MB, free: 13.57 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.1826, allocations: 0 / 436.6 MB, free: 13.57 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.1826, allocations: 0 / 436.6 MB, free: 13.57 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.32e-07/0.1826, allocations: 0 / 436.6 MB, free: 13.57 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.397e-06/0.1826, allocations: 0 / 436.6 MB, free: 13.57 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.094e-05/0.1827, allocations: 15.84 kB / 436.6 MB, free: 13.55 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.585e-05/0.1827, allocations: 4 kB / 436.6 MB, free: 13.55 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 8.732e-05/0.1828, allocations: 207.3 kB / 436.8 MB, free: 13.33 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.784e-05/0.1828, allocations: 15.81 kB / 436.8 MB, free: 13.32 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.287e-06/0.1828, allocations: 9.188 kB / 436.8 MB, free: 13.31 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1828, allocations: 3.984 kB / 436.8 MB, free: 13.31 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.1828, allocations: 0 / 436.8 MB, free: 13.31 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.1828, allocations: 0 / 436.8 MB, free: 13.31 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.652e-05/0.1829, allocations: 201.4 kB / 437 MB, free: 13.06 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1829, allocations: 0 / 437 MB, free: 13.06 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.1829, allocations: 0 / 437 MB, free: 13.06 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1829, allocations: 0 / 437 MB, free: 13.06 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.183, allocations: 8 kB / 437 MB, free: 13.05 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.183, allocations: 3.984 kB / 437 MB, free: 13.05 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.183, allocations: 4 kB / 437 MB, free: 13.05 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003386/0.1833, allocations: 0.5023 MB / 437.5 MB, free: 12.52 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.938e-05/0.1833, allocations: 92.92 kB / 437.6 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/0.1834, allocations: 11.98 kB / 437.6 MB, free: 12.4 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.288e-05/0.1834, allocations: 4 kB / 437.6 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.97e-05/0.1834, allocations: 4.031 kB / 437.7 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.879e-06/0.1834, allocations: 8 kB / 437.7 MB, free: 12.38 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.747e-05/0.1835, allocations: 106.4 kB / 437.8 MB, free: 12.28 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1835, allocations: 0 / 437.8 MB, free: 12.28 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002119/0.1837, allocations: 43.94 kB / 437.8 MB, free: 12.24 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.0001185/0.1838, allocations: 123.2 kB / 437.9 MB, free: 12.11 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003891/0.1842, allocations: 0.6945 MB / 438.6 MB, free: 11.4 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.1842, allocations: 0 / 438.6 MB, free: 11.4 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002557/0.1845, allocations: 0.5735 MB / 439.2 MB, free: 10.81 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001937/0.1847, allocations: 16.45 kB / 439.2 MB, free: 10.8 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004216/0.1851, allocations: 0.4916 MB / 439.7 MB, free: 10.28 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.837e-05/0.1852, allocations: 0.7202 MB / 440.4 MB, free: 9.531 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.656e-06/0.1852, allocations: 7.438 kB / 440.4 MB, free: 9.523 MB / 318.1 MB Notification: Performance of SimCode: time 2e-07/0.1852, allocations: 0 / 440.4 MB, free: 9.523 MB / 318.1 MB Notification: Performance of Templates: time 0.002348/0.1876, allocations: 1.712 MB / 442.1 MB, free: 7.816 MB / 318.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.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_matrixEqCirc2CalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2CalcHelperMain.o] Error 1