Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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.Elementary.ImpedanceYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD") translateModel(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009091/0.0009091, allocations: 106.3 kB / 17.16 MB, free: 6.324 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.0008429/0.0008429, allocations: 202.9 kB / 18.08 MB, free: 5.422 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.179/1.179, allocations: 205.1 MB / 223.9 MB, free: 12.49 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1572/0.1572, allocations: 37.99 MB / 309.3 MB, free: 6.246 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.001164/0.001165, allocations: 67.89 kB / 375.3 MB, free: 4.121 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1819/0.1831, allocations: 55.24 MB / 430.5 MB, free: 19.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.004291/0.1874, allocations: 5.204 MB / 435.7 MB, free: 14.59 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001758/0.1892, allocations: 1.797 MB / 437.5 MB, free: 12.78 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001699/0.1894, allocations: 31.81 kB / 437.5 MB, free: 12.75 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006129/0.19, allocations: 267 kB / 437.8 MB, free: 12.49 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003148/0.1903, allocations: 246.9 kB / 438 MB, free: 12.25 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000389/0.1907, allocations: 235.5 kB / 438.3 MB, free: 12.02 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004588/0.1912, allocations: 0.9199 MB / 439.2 MB, free: 11.09 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002949/0.1915, allocations: 240.2 kB / 439.4 MB, free: 10.86 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001933/0.1917, allocations: 231 kB / 439.7 MB, free: 10.63 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003154/0.192, allocations: 338.9 kB / 440 MB, free: 10.3 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.209e-05/0.1921, allocations: 23.94 kB / 440 MB, free: 10.27 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002069/0.1923, allocations: 147.8 kB / 440.2 MB, free: 10.13 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000132/0.1924, allocations: 207.4 kB / 440.4 MB, free: 9.926 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001528/0.1926, allocations: 238.7 kB / 440.6 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002798/0.1929, allocations: 455.1 kB / 441 MB, free: 9.246 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1929, allocations: 0 / 441 MB, free: 9.246 MB / 318.1 MB Notification: Performance of FrontEnd: time 6.51e-07/0.1929, allocations: 0 / 441 MB, free: 9.246 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.648e-06/0.1929, allocations: 0 / 441 MB, free: 9.246 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.000972/0.1939, allocations: 0.7659 MB / 441.8 MB, free: 8.434 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.874e-05/0.1939, allocations: 8.031 kB / 441.8 MB, free: 8.426 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005191/0.1944, allocations: 100.2 kB / 441.9 MB, free: 8.328 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004194/0.1949, allocations: 396 kB / 442.3 MB, free: 7.902 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.1949, allocations: 29.38 kB / 442.3 MB, free: 7.875 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/0.195, allocations: 56.03 kB / 442.4 MB, free: 7.82 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006441/0.1957, allocations: 0.6677 MB / 443 MB, free: 7.086 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.1957, allocations: 0 / 443 MB, free: 7.086 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.99e-05/0.1957, allocations: 20 kB / 443.1 MB, free: 7.066 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001247/0.1959, allocations: 44.97 kB / 443.1 MB, free: 7.023 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005631/0.1964, allocations: 495.4 kB / 443.6 MB, free: 6.539 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002111/0.1985, allocations: 3.16 MB / 446.7 MB, free: 3.199 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003353/0.1989, allocations: 241.3 kB / 447 MB, free: 2.945 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001337/0.199, allocations: 125.7 kB / 447.1 MB, free: 2.816 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.1991, allocations: 7.938 kB / 447.1 MB, free: 2.809 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.44e-05/0.1991, allocations: 34.56 kB / 447.1 MB, free: 2.766 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 1.293e-06/0.1991, allocations: 0 / 447.1 MB, free: 2.766 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.001064/0.2002, allocations: 0.9088 MB / 448.1 MB, free: 1.801 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.583e-05/0.2002, allocations: 81.11 kB / 448.1 MB, free: 1.703 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002115/0.2004, allocations: 324.4 kB / 448.5 MB, free: 1.379 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.2004, allocations: 29.7 kB / 448.5 MB, free: 1.344 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.2005, allocations: 295 kB / 448.8 MB, free: 1.051 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.943e-05/0.2006, allocations: 82.84 kB / 448.8 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.808e-05/0.2007, allocations: 98.06 kB / 448.9 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.277e-05/0.2007, allocations: 346.8 kB / 449.3 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/0.2009, allocations: 132.8 kB / 449.4 MB, free: 400 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002337/0.2011, allocations: 325.2 kB / 449.7 MB, free: 15.98 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005344/0.2017, allocations: 0.4963 MB / 450.2 MB, free: 15.4 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.2017, allocations: 4 kB / 450.2 MB, free: 15.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009684/0.2027, allocations: 0.5846 MB / 450.8 MB, free: 14.8 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.2027, allocations: 12.16 kB / 450.8 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005658/0.2033, allocations: 333.2 kB / 451.2 MB, free: 14.45 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003798/0.2037, allocations: 121.6 kB / 451.3 MB, free: 14.33 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000264/0.2039, allocations: 91.77 kB / 451.4 MB, free: 14.24 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002369/0.2063, allocations: 3.03 MB / 454.4 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002108/0.2065, allocations: 23.98 kB / 454.4 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.005e-05/0.2066, allocations: 24 kB / 454.4 MB, free: 10.89 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (48): * Single equations (assignments): 46 * Array equations: 0 * 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.0001991/0.2068, allocations: 221.6 kB / 454.7 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.432e-05/0.2068, allocations: 35.53 kB / 454.7 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004571/0.2073, allocations: 304.8 kB / 455 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.2073, allocations: 4 kB / 455 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.2073, allocations: 3.984 kB / 455 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.2073, allocations: 7.938 kB / 455 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000958/0.2083, allocations: 0.8043 MB / 455.8 MB, free: 9.438 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.2083, allocations: 0 / 455.8 MB, free: 9.438 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002907/0.2086, allocations: 59.97 kB / 455.9 MB, free: 9.379 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.2086, allocations: 0 / 455.9 MB, free: 9.379 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.573e-05/0.2086, allocations: 11.98 kB / 455.9 MB, free: 9.367 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.2087, allocations: 4 kB / 455.9 MB, free: 9.363 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2087, allocations: 3.938 kB / 455.9 MB, free: 9.359 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005752/0.2092, allocations: 0.5053 MB / 456.4 MB, free: 8.828 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.2094, allocations: 128.8 kB / 456.5 MB, free: 8.684 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.925e-05/0.2094, allocations: 4 kB / 456.5 MB, free: 8.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001599/0.2096, allocations: 7.984 kB / 456.5 MB, free: 8.672 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.344e-05/0.2096, allocations: 27.92 kB / 456.6 MB, free: 8.645 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.2096, allocations: 7.938 kB / 456.6 MB, free: 8.637 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001986/0.2098, allocations: 227 kB / 456.8 MB, free: 8.418 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2099, allocations: 0 / 456.8 MB, free: 8.418 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004109/0.2103, allocations: 96 kB / 456.9 MB, free: 8.324 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (indYD.i[1],indYD.i[2],indYD.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 (27): * Single equations (assignments): 26 * 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 9.41e-05/0.2104, allocations: 99.25 kB / 457 MB, free: 8.219 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007596/0.2111, allocations: 0.5793 MB / 457.6 MB, free: 7.613 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2111, allocations: 0 / 457.6 MB, free: 7.613 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001622/0.2113, allocations: 137 kB / 457.7 MB, free: 7.48 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004489/0.2118, allocations: 66.06 kB / 457.8 MB, free: 7.418 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001407/0.2132, allocations: 1.243 MB / 459 MB, free: 6.137 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003928/0.2136, allocations: 0.8662 MB / 459.9 MB, free: 5.246 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.515e-05/0.2137, allocations: 35.42 kB / 459.9 MB, free: 5.211 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2137, allocations: 0 / 459.9 MB, free: 5.211 MB / 334.1 MB Notification: Performance of Templates: time 0.007394/0.2211, allocations: 6.492 MB / 466.4 MB, free: 14.71 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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.Elementary.ImpedanceYDCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYDCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYDCalcHelperMain.o] Error 1