Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.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.Generic.Test.FixedLoadTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest") translateModel(PowerSystems.Examples.Generic.Test.FixedLoadTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009049/0.000905, allocations: 109.7 kB / 17.16 MB, free: 6.328 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: 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.188/1.188, 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.1597/0.1597, allocations: 38 MB / 309.3 MB, free: 6.25 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.001158/0.001158, allocations: 71.02 kB / 375.3 MB, free: 4.117 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1733/0.1744, allocations: 55.23 MB / 430.5 MB, free: 19.7 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedLoadTest): time 0.00361/0.1781, allocations: 3.707 MB / 434.2 MB, free: 15.98 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001601/0.1797, allocations: 1.638 MB / 435.9 MB, free: 14.33 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001791/0.1799, allocations: 11.94 kB / 435.9 MB, free: 14.32 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000611/0.1805, allocations: 239.1 kB / 436.1 MB, free: 14.08 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004666/0.181, allocations: 271.2 kB / 436.4 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000239/0.1813, allocations: 111.7 kB / 436.5 MB, free: 13.71 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003056/0.1816, allocations: 0.5767 MB / 437 MB, free: 13.13 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002405/0.1818, allocations: 146 kB / 437.2 MB, free: 12.99 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001383/0.182, allocations: 123.4 kB / 437.3 MB, free: 12.87 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00016/0.1821, allocations: 163.4 kB / 437.5 MB, free: 12.71 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.088e-05/0.1822, allocations: 12 kB / 437.5 MB, free: 12.7 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003666/0.1825, allocations: 403.1 kB / 437.9 MB, free: 12.3 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.961e-05/0.1826, allocations: 91.75 kB / 438 MB, free: 12.21 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.914e-05/0.1827, allocations: 107.4 kB / 438.1 MB, free: 12.11 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002147/0.1829, allocations: 263.5 kB / 438.3 MB, free: 11.85 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1829, allocations: 0 / 438.3 MB, free: 11.85 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1829, allocations: 0 / 438.3 MB, free: 11.85 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.1829, allocations: 3.938 kB / 438.3 MB, free: 11.84 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0004675/0.1834, allocations: 0.522 MB / 438.9 MB, free: 11.27 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.815e-05/0.1835, allocations: 8.031 kB / 438.9 MB, free: 11.27 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008093/0.1843, allocations: 100.5 kB / 439 MB, free: 11.17 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002013/0.1845, allocations: 259.8 kB / 439.2 MB, free: 10.88 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.1845, allocations: 16.38 kB / 439.2 MB, free: 10.86 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.571e-05/0.1845, allocations: 16.38 kB / 439.2 MB, free: 10.84 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003671/0.1849, allocations: 341.7 kB / 439.6 MB, free: 10.48 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.1849, allocations: 0 / 439.6 MB, free: 10.48 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.189e-05/0.185, allocations: 4 kB / 439.6 MB, free: 10.48 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.543e-05/0.185, allocations: 23.98 kB / 439.6 MB, free: 10.46 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003516/0.1853, allocations: 311.7 kB / 439.9 MB, free: 10.15 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001126/0.1865, allocations: 1.264 MB / 441.2 MB, free: 8.801 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001939/0.1867, allocations: 168.9 kB / 441.3 MB, free: 8.617 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.1868, allocations: 105.7 kB / 441.4 MB, free: 8.508 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.1868, allocations: 4 kB / 441.4 MB, free: 8.504 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.389e-05/0.1869, allocations: 38.56 kB / 441.5 MB, free: 8.457 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.273e-06/0.1869, allocations: 0 / 441.5 MB, free: 8.457 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.001172/0.188, allocations: 0.6544 MB / 442.1 MB, free: 7.773 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.175e-05/0.1881, allocations: 92.92 kB / 442.2 MB, free: 7.664 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.1882, allocations: 194.2 kB / 442.4 MB, free: 7.461 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.1882, allocations: 29.7 kB / 442.4 MB, free: 7.426 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.796e-05/0.1883, allocations: 152 kB / 442.6 MB, free: 7.273 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.701e-05/0.1883, allocations: 63.11 kB / 442.7 MB, free: 7.211 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.348e-05/0.1884, allocations: 49.7 kB / 442.7 MB, free: 7.156 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.735e-05/0.1884, allocations: 326.8 kB / 443 MB, free: 6.828 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.1885, allocations: 83.89 kB / 443.1 MB, free: 6.746 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/0.1886, allocations: 152.5 kB / 443.3 MB, free: 6.566 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002201/0.1888, allocations: 253.5 kB / 443.5 MB, free: 6.289 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1889, allocations: 0 / 443.5 MB, free: 6.289 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004668/0.1893, allocations: 349.2 kB / 443.8 MB, free: 5.941 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.1893, allocations: 15.98 kB / 443.9 MB, free: 5.926 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.1894, allocations: 0 / 443.9 MB, free: 5.926 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003071/0.1897, allocations: 96.72 kB / 444 MB, free: 5.828 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.1898, allocations: 31.98 kB / 444 MB, free: 5.797 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001629/0.1914, allocations: 1.966 MB / 446 MB, free: 3.695 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.1916, allocations: 8 kB / 446 MB, free: 3.688 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.7e-05/0.1916, allocations: 11.98 kB / 446 MB, free: 3.676 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 20 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 9.032e-05/0.1917, allocations: 153.7 kB / 446.1 MB, free: 3.516 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.724e-05/0.1917, allocations: 15.81 kB / 446.1 MB, free: 3.5 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004727/0.1922, allocations: 332.5 kB / 446.5 MB, free: 3.172 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.1922, allocations: 4 kB / 446.5 MB, free: 3.168 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.1922, allocations: 4 kB / 446.5 MB, free: 3.164 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.1922, allocations: 0 / 446.5 MB, free: 3.164 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008292/0.1931, allocations: 0.7503 MB / 447.2 MB, free: 2.348 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.1931, allocations: 4 kB / 447.2 MB, free: 2.344 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.272e-05/0.1932, allocations: 27.92 kB / 447.3 MB, free: 2.316 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002232/0.1934, allocations: 72.78 kB / 447.3 MB, free: 2.242 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.1934, allocations: 11.98 kB / 447.3 MB, free: 2.23 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001235/0.1947, allocations: 1.826 MB / 449.2 MB, free: 272 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1947, allocations: 0 / 449.2 MB, free: 272 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004936/0.1952, allocations: 406.5 kB / 449.6 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.007e-05/0.1953, allocations: 100.9 kB / 449.7 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.527e-05/0.1953, allocations: 0 / 449.7 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.1954, allocations: 11.94 kB / 449.7 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.968e-05/0.1955, allocations: 23.84 kB / 449.7 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.617e-05/0.1955, allocations: 12 kB / 449.7 MB, free: 15.67 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001032/0.1956, allocations: 144.1 kB / 449.8 MB, free: 15.53 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1956, allocations: 0 / 449.8 MB, free: 15.53 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004019/0.196, allocations: 68 kB / 449.9 MB, free: 15.46 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,3)} Notification: Performance of Backend phase and start with SimCode phase: time 8.93e-05/0.1961, allocations: 99.19 kB / 450 MB, free: 15.36 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005851/0.1967, allocations: 370.3 kB / 450.4 MB, free: 14.98 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1967, allocations: 0.5625 kB / 450.4 MB, free: 14.98 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003442/0.1971, allocations: 263.2 kB / 450.6 MB, free: 14.71 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003349/0.1974, allocations: 31.98 kB / 450.7 MB, free: 14.68 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007671/0.1982, allocations: 0.6214 MB / 451.3 MB, free: 14.03 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003035/0.1985, allocations: 0.7677 MB / 452 MB, free: 13.23 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.828e-05/0.1986, allocations: 15.44 kB / 452.1 MB, free: 13.22 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1986, allocations: 0 / 452.1 MB, free: 13.22 MB / 334.1 MB Notification: Performance of Templates: time 0.004389/0.203, allocations: 3.503 MB / 455.6 MB, free: 9.711 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.makefile make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.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.Generic.Test.FixedLoadTestCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTestCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTestCalcHelperMain.o] Error 1