Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.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.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008984/0.0008984, allocations: 110.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.0008771/0.0008771, 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.193/1.193, allocations: 205.1 MB / 223.9 MB, free: 12.4 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1604/0.1604, allocations: 37.99 MB / 309.3 MB, free: 6.23 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.001135/0.001135, allocations: 67.02 kB / 375.3 MB, free: 4.109 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1735, allocations: 55.24 MB / 430.5 MB, free: 19.8 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.004079/0.1776, allocations: 4.982 MB / 435.5 MB, free: 14.8 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00116/0.1788, allocations: 1.181 MB / 436.7 MB, free: 13.61 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001623/0.179, allocations: 27.81 kB / 436.7 MB, free: 13.58 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001508/0.1792, allocations: 43.67 kB / 436.7 MB, free: 13.54 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003803/0.1795, allocations: 227.1 kB / 437 MB, free: 13.32 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001558/0.1797, allocations: 87.84 kB / 437 MB, free: 13.23 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004066/0.1801, allocations: 0.7949 MB / 437.8 MB, free: 12.43 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00017/0.1803, allocations: 126.9 kB / 438 MB, free: 12.31 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001761/0.1805, allocations: 191 kB / 438.2 MB, free: 12.12 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002932/0.1808, allocations: 287.1 kB / 438.4 MB, free: 11.84 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.649e-05/0.1808, allocations: 16 kB / 438.5 MB, free: 11.83 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.05e-05/0.1809, allocations: 16 kB / 438.5 MB, free: 11.81 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001054/0.181, allocations: 139.6 kB / 438.6 MB, free: 11.68 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001187/0.1811, allocations: 167.1 kB / 438.8 MB, free: 11.51 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001654/0.1813, allocations: 275.4 kB / 439 MB, free: 11.24 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1813, allocations: 0 / 439 MB, free: 11.24 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.42e-07/0.1813, allocations: 0 / 439 MB, free: 11.24 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.1813, allocations: 0 / 439 MB, free: 11.24 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0007886/0.1821, allocations: 0.6555 MB / 439.7 MB, free: 10.54 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.818e-05/0.1821, allocations: 12.03 kB / 439.7 MB, free: 10.53 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.913e-05/0.1822, allocations: 36.55 kB / 439.7 MB, free: 10.49 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003498/0.1826, allocations: 367.6 kB / 440.1 MB, free: 10.09 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.1826, allocations: 20.69 kB / 440.1 MB, free: 10.07 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.734e-05/0.1826, allocations: 28 kB / 440.1 MB, free: 10.05 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003647/0.183, allocations: 352.7 kB / 440.5 MB, free: 9.672 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.183, allocations: 0 / 440.5 MB, free: 9.672 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.316e-05/0.1831, allocations: 12 kB / 440.5 MB, free: 9.66 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.471e-05/0.1831, allocations: 24.53 kB / 440.5 MB, free: 9.637 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002908/0.1834, allocations: 242 kB / 440.8 MB, free: 9.398 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001084/0.1845, allocations: 1.378 MB / 442.1 MB, free: 7.941 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000257/0.1848, allocations: 165.1 kB / 442.3 MB, free: 7.762 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001519/0.185, allocations: 105.7 kB / 442.4 MB, free: 7.652 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.185, allocations: 7.938 kB / 442.4 MB, free: 7.645 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.362e-05/0.185, allocations: 34.56 kB / 442.4 MB, free: 7.602 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.202e-06/0.185, allocations: 0 / 442.4 MB, free: 7.602 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.0009529/0.186, allocations: 0.7621 MB / 443.2 MB, free: 6.766 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.167e-05/0.186, allocations: 81.11 kB / 443.3 MB, free: 6.668 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000182/0.1862, allocations: 300.5 kB / 443.6 MB, free: 6.363 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.1862, allocations: 25.7 kB / 443.6 MB, free: 6.332 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.161e-05/0.1863, allocations: 223.6 kB / 443.8 MB, free: 6.109 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.666e-05/0.1863, allocations: 51.2 kB / 443.9 MB, free: 6.059 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.353e-05/0.1864, allocations: 49.7 kB / 443.9 MB, free: 6.004 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.481e-05/0.1864, allocations: 346.8 kB / 444.3 MB, free: 5.656 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.266e-05/0.1865, allocations: 63.95 kB / 444.3 MB, free: 5.594 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.1866, allocations: 164.8 kB / 444.5 MB, free: 5.387 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001994/0.1868, allocations: 260.5 kB / 444.7 MB, free: 5.086 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.1868, allocations: 0 / 444.7 MB, free: 5.086 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003549/0.1872, allocations: 329.6 kB / 445.1 MB, free: 4.754 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.1872, allocations: 4 kB / 445.1 MB, free: 4.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.1872, allocations: 4 kB / 445.1 MB, free: 4.746 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001622/0.1874, allocations: 53.27 kB / 445.1 MB, free: 4.691 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/0.1875, allocations: 51.91 kB / 445.2 MB, free: 4.641 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007812/0.1883, allocations: 1.491 MB / 446.7 MB, free: 3.016 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/0.1885, allocations: 12 kB / 446.7 MB, free: 3.004 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.1885, allocations: 11.94 kB / 446.7 MB, free: 2.992 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 (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001061/0.1886, allocations: 173.7 kB / 446.9 MB, free: 2.812 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.964e-05/0.1886, allocations: 27.62 kB / 446.9 MB, free: 2.785 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003022/0.189, allocations: 244.4 kB / 447.1 MB, free: 2.535 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.614e-06/0.189, allocations: 4 kB / 447.1 MB, free: 2.531 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.189, allocations: 3.938 kB / 447.1 MB, free: 2.527 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.189, allocations: 3.984 kB / 447.1 MB, free: 2.523 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005673/0.1896, allocations: 0.6365 MB / 447.8 MB, free: 1.824 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1896, allocations: 0 / 447.8 MB, free: 1.824 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.982e-05/0.1897, allocations: 27.92 kB / 447.8 MB, free: 1.797 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001488/0.1898, allocations: 64.81 kB / 447.9 MB, free: 1.73 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.1898, allocations: 4 kB / 447.9 MB, free: 1.727 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007249/0.1906, allocations: 1.491 MB / 449.4 MB, free: 100 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.1906, allocations: 0 / 449.4 MB, free: 100 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004611/0.191, allocations: 409.9 kB / 449.8 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.882e-05/0.1911, allocations: 105 kB / 449.9 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.32e-05/0.1912, allocations: 4 kB / 449.9 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.1913, allocations: 7.984 kB / 449.9 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.255e-05/0.1913, allocations: 15.92 kB / 449.9 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.297e-06/0.1913, allocations: 4 kB / 449.9 MB, free: 15.52 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001701/0.1915, allocations: 211.1 kB / 450.1 MB, free: 15.31 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1915, allocations: 0 / 450.1 MB, free: 15.31 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003293/0.1919, allocations: 68 kB / 450.2 MB, free: 15.25 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (ind.i[1],ind.i[2]) * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.618e-05/0.192, allocations: 111.1 kB / 450.3 MB, free: 15.13 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004686/0.1924, allocations: 298.3 kB / 450.6 MB, free: 14.82 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1925, allocations: 0.875 kB / 450.6 MB, free: 14.82 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003034/0.1928, allocations: 215.3 kB / 450.8 MB, free: 14.6 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004339/0.1932, allocations: 65.36 kB / 450.8 MB, free: 14.54 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.1943, allocations: 0.8971 MB / 451.7 MB, free: 13.61 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003488/0.1946, allocations: 0.8107 MB / 452.5 MB, free: 12.77 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.201e-05/0.1947, allocations: 23.44 kB / 452.6 MB, free: 12.75 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1947, allocations: 0 / 452.6 MB, free: 12.75 MB / 334.1 MB Notification: Performance of Templates: time 0.00593/0.2006, allocations: 4.834 MB / 457.4 MB, free: 7.91 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.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.AC1ph_DC.Elementary.ImpedanceCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceCalcHelperMain.o] Error 1