Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.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.ImpedanceOneTerm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009041/0.0009042, 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.0008778/0.0008778, 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.169/1.169, allocations: 205.1 MB / 223.9 MB, free: 12.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1559/0.1559, allocations: 38 MB / 309.3 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.001141/0.001141, allocations: 63.91 kB / 375.3 MB, free: 4.117 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.1763, allocations: 55.24 MB / 430.5 MB, free: 19.79 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm): time 0.004293/0.1806, allocations: 4.724 MB / 435.2 MB, free: 15.05 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001532/0.1822, allocations: 1.139 MB / 436.4 MB, free: 13.9 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003837/0.1826, allocations: 27.81 kB / 436.4 MB, free: 13.88 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001904/0.1828, allocations: 35.7 kB / 436.4 MB, free: 13.84 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005262/0.1834, allocations: 163.2 kB / 436.6 MB, free: 13.68 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000184/0.1836, allocations: 75.91 kB / 436.7 MB, free: 13.61 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000351/0.1839, allocations: 0.5218 MB / 437.2 MB, free: 13.08 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001624/0.1841, allocations: 101.7 kB / 437.3 MB, free: 12.99 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002036/0.1843, allocations: 167.2 kB / 437.4 MB, free: 12.82 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002482/0.1846, allocations: 187.3 kB / 437.6 MB, free: 12.64 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.733e-05/0.1846, allocations: 12 kB / 437.6 MB, free: 12.63 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.565e-05/0.1847, allocations: 16 kB / 437.7 MB, free: 12.61 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.601e-05/0.1847, allocations: 83.72 kB / 437.7 MB, free: 12.53 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.1848, allocations: 127.3 kB / 437.9 MB, free: 12.41 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001399/0.185, allocations: 207.5 kB / 438.1 MB, free: 12.2 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.185, allocations: 3.938 kB / 438.1 MB, free: 12.2 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.91e-07/0.185, allocations: 0 / 438.1 MB, free: 12.2 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.185, allocations: 4 kB / 438.1 MB, free: 12.2 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0007093/0.1857, allocations: 0.5932 MB / 438.7 MB, free: 11.55 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.031e-05/0.1858, allocations: 12.02 kB / 438.7 MB, free: 11.54 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.281e-05/0.1858, allocations: 32.56 kB / 438.7 MB, free: 11.51 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002984/0.1861, allocations: 322.9 kB / 439 MB, free: 11.16 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.1862, allocations: 20.56 kB / 439 MB, free: 11.14 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.704e-05/0.1862, allocations: 24 kB / 439.1 MB, free: 11.11 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003119/0.1865, allocations: 290.8 kB / 439.4 MB, free: 10.79 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.1865, allocations: 0 / 439.4 MB, free: 10.79 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.99e-05/0.1866, allocations: 12 kB / 439.4 MB, free: 10.78 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.1866, allocations: 8 kB / 439.4 MB, free: 10.77 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002301/0.1868, allocations: 184.9 kB / 439.6 MB, free: 10.59 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009372/0.1877, allocations: 1.224 MB / 440.8 MB, free: 9.285 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002253/0.188, allocations: 105.2 kB / 440.9 MB, free: 9.164 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.621e-05/0.188, allocations: 57.69 kB / 440.9 MB, free: 9.102 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.1881, allocations: 3.938 kB / 440.9 MB, free: 9.098 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.315e-05/0.1881, allocations: 34.56 kB / 441 MB, free: 9.055 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.273e-06/0.1881, allocations: 0 / 441 MB, free: 9.055 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005897/0.1887, allocations: 484.4 kB / 441.4 MB, free: 8.527 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.517e-05/0.1887, allocations: 89.17 kB / 441.5 MB, free: 8.422 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.1889, allocations: 242.7 kB / 441.8 MB, free: 8.172 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.616e-06/0.1889, allocations: 25.7 kB / 441.8 MB, free: 8.141 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.416e-05/0.189, allocations: 203.5 kB / 442 MB, free: 7.938 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.087e-05/0.189, allocations: 39.45 kB / 442 MB, free: 7.898 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.464e-05/0.189, allocations: 41.7 kB / 442.1 MB, free: 7.852 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.26e-05/0.1891, allocations: 338.7 kB / 442.4 MB, free: 7.512 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.584e-05/0.1891, allocations: 35.97 kB / 442.4 MB, free: 7.477 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.372e-05/0.1892, allocations: 132.7 kB / 442.6 MB, free: 7.301 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.1894, allocations: 193.4 kB / 442.8 MB, free: 7.066 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1894, allocations: 0 / 442.8 MB, free: 7.066 MB / 318.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000224/0.1896, allocations: 209 kB / 443 MB, free: 6.855 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.1896, allocations: 8 kB / 443 MB, free: 6.848 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1896, allocations: 4 kB / 443 MB, free: 6.844 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.1897, allocations: 4 kB / 443 MB, free: 6.84 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/0.1898, allocations: 47.91 kB / 443 MB, free: 6.793 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.1898, allocations: 11.94 kB / 443 MB, free: 6.781 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.1899, allocations: 12.38 kB / 443.1 MB, free: 6.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.1899, allocations: 12 kB / 443.1 MB, free: 6.758 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 (24): * Single equations (assignments): 24 * 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 8.607e-05/0.19, allocations: 153.6 kB / 443.2 MB, free: 6.598 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.472e-05/0.1901, allocations: 23.72 kB / 443.2 MB, free: 6.574 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001785/0.1903, allocations: 131.4 kB / 443.4 MB, free: 6.441 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.1903, allocations: 0 / 443.4 MB, free: 6.441 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1903, allocations: 7.922 kB / 443.4 MB, free: 6.434 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.1903, allocations: 7.938 kB / 443.4 MB, free: 6.426 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003575/0.1906, allocations: 479.2 kB / 443.8 MB, free: 5.898 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1907, allocations: 0 / 443.8 MB, free: 5.898 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/0.1908, allocations: 27.94 kB / 443.9 MB, free: 5.871 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.1908, allocations: 0 / 443.9 MB, free: 5.871 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.1908, allocations: 7.938 kB / 443.9 MB, free: 5.863 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.1908, allocations: 3.984 kB / 443.9 MB, free: 5.859 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1908, allocations: 0 / 443.9 MB, free: 5.859 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002214/0.191, allocations: 284 kB / 444.2 MB, free: 5.562 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.19e-05/0.1911, allocations: 92.86 kB / 444.3 MB, free: 5.453 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.551e-05/0.1911, allocations: 11.94 kB / 444.3 MB, free: 5.441 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.73e-05/0.1912, allocations: 4 kB / 444.3 MB, free: 5.438 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.997e-05/0.1912, allocations: 15.86 kB / 444.3 MB, free: 5.422 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-06/0.1913, allocations: 4 kB / 444.3 MB, free: 5.418 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.628e-05/0.1914, allocations: 174 kB / 444.5 MB, free: 5.25 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1914, allocations: 4.062 kB / 444.5 MB, free: 5.246 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002766/0.1916, allocations: 44 kB / 444.5 MB, free: 5.203 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * 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 (13): * Single equations (assignments): 12 * 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.235e-05/0.1917, allocations: 99.25 kB / 444.6 MB, free: 5.098 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001649/0.1919, allocations: 111.8 kB / 444.7 MB, free: 4.988 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1919, allocations: 0.875 kB / 444.7 MB, free: 4.988 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.773e-05/0.192, allocations: 43.98 kB / 444.8 MB, free: 4.945 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004402/0.1924, allocations: 61.22 kB / 444.8 MB, free: 4.883 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006555/0.1931, allocations: 0.6725 MB / 445.5 MB, free: 4.168 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001488/0.1932, allocations: 0.7755 MB / 446.3 MB, free: 3.367 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.486e-05/0.1933, allocations: 23.42 kB / 446.3 MB, free: 3.344 MB / 318.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1933, allocations: 0 / 446.3 MB, free: 3.344 MB / 318.1 MB Notification: Performance of Templates: time 0.003499/0.1968, allocations: 2.936 MB / 449.2 MB, free: 416 kB / 318.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.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.ImpedanceOneTermCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTermCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTermCalcHelperMain.o] Error 1