Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.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.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009198/0.0009199, allocations: 108 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.0008797/0.0008798, allocations: 194.9 kB / 18.08 MB, free: 5.281 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.201/1.201, allocations: 205.1 MB / 223.9 MB, free: 12.47 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1588/0.1588, 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.001174/0.001174, allocations: 67.03 kB / 375.3 MB, free: 4.113 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1877/0.1889, allocations: 55.24 MB / 430.5 MB, free: 19.79 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.005368/0.1943, allocations: 7.765 MB / 438.3 MB, free: 11.99 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003403/0.1977, allocations: 4.285 MB / 442.6 MB, free: 7.688 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002168/0.1979, allocations: 15.94 kB / 442.6 MB, free: 7.672 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001667/0.1996, allocations: 0.9754 MB / 443.6 MB, free: 6.695 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001331/0.201, allocations: 1.051 MB / 444.6 MB, free: 5.641 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004579/0.2014, allocations: 275.3 kB / 444.9 MB, free: 5.371 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001191/0.2026, allocations: 2.553 MB / 447.4 MB, free: 2.812 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003284/0.203, allocations: 268.8 kB / 447.7 MB, free: 2.547 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003909/0.2034, allocations: 465.6 kB / 448.1 MB, free: 2.09 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004635/0.2038, allocations: 0.6229 MB / 448.8 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.324e-05/0.2039, allocations: 28 kB / 448.8 MB, free: 1.438 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001212/0.2051, allocations: 1.247 MB / 450 MB, free: 192 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002056/0.2053, allocations: 263.3 kB / 450.3 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002227/0.2055, allocations: 234.8 kB / 450.5 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006466/0.2062, allocations: 0.6159 MB / 451.1 MB, free: 15.08 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.2062, allocations: 0 / 451.1 MB, free: 15.08 MB / 334.1 MB Notification: Performance of FrontEnd: time 7.32e-07/0.2062, allocations: 0 / 451.1 MB, free: 15.08 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.2062, allocations: 4 kB / 451.1 MB, free: 15.07 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.0009636/0.2072, allocations: 0.7961 MB / 451.9 MB, free: 14.23 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.2072, allocations: 12.02 kB / 452 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001356/0.2086, allocations: 132.3 kB / 452.1 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003532/0.209, allocations: 326.4 kB / 452.4 MB, free: 13.73 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.665e-05/0.209, allocations: 33.36 kB / 452.4 MB, free: 13.7 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.485e-05/0.2091, allocations: 40.3 kB / 452.5 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007114/0.2098, allocations: 0.5869 MB / 453.1 MB, free: 13.01 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.2098, allocations: 3.938 kB / 453.1 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.444e-05/0.2098, allocations: 23.98 kB / 453.1 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.161e-05/0.2099, allocations: 32.62 kB / 453.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005085/0.2104, allocations: 386.2 kB / 453.5 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002114/0.2125, allocations: 2.603 MB / 456.1 MB, free: 9.844 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005861/0.2131, allocations: 435.5 kB / 456.5 MB, free: 9.391 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002504/0.2134, allocations: 219 kB / 456.7 MB, free: 9.168 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.2134, allocations: 4 kB / 456.7 MB, free: 9.164 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.2135, allocations: 38.55 kB / 456.8 MB, free: 9.117 MB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 1.563e-06/0.2135, allocations: 4 kB / 456.8 MB, free: 9.113 MB / 334.1 MB Notification: Performance of matching and sorting (n=33): time 0.001495/0.215, allocations: 0.7577 MB / 457.5 MB, free: 8.328 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.82e-05/0.215, allocations: 107.1 kB / 457.6 MB, free: 8.199 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002717/0.2153, allocations: 336.4 kB / 458 MB, free: 7.859 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.2153, allocations: 29.7 kB / 458 MB, free: 7.824 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/0.2155, allocations: 251.7 kB / 458.3 MB, free: 7.574 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.884e-05/0.2156, allocations: 114.4 kB / 458.4 MB, free: 7.461 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.307e-05/0.2157, allocations: 82.03 kB / 458.4 MB, free: 7.375 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.2158, allocations: 346.8 kB / 458.8 MB, free: 7.027 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001741/0.216, allocations: 124.8 kB / 458.9 MB, free: 6.902 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002596/0.2163, allocations: 275.5 kB / 459.2 MB, free: 6.566 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004784/0.2167, allocations: 464.1 kB / 459.6 MB, free: 6.047 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.2168, allocations: 4 kB / 459.6 MB, free: 6.043 MB / 334.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007458/0.2175, allocations: 0.5612 MB / 460.2 MB, free: 5.473 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.2175, allocations: 8 kB / 460.2 MB, free: 5.465 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.2175, allocations: 4 kB / 460.2 MB, free: 5.461 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002882/0.2178, allocations: 123.7 kB / 460.3 MB, free: 5.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000217/0.2181, allocations: 75.78 kB / 460.4 MB, free: 5.266 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002192/0.2203, allocations: 2.357 MB / 462.8 MB, free: 2.758 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001798/0.2205, allocations: 43.53 kB / 462.8 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.304e-05/0.2205, allocations: 20 kB / 462.8 MB, free: 2.695 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (41): * Single equations (assignments): 40 * 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,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001912/0.2207, allocations: 205.5 kB / 463 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.703e-05/0.2208, allocations: 31.62 kB / 463 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.256e-05/0.2208, allocations: 52.02 kB / 463.1 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.2209, allocations: 8 kB / 463.1 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.2209, allocations: 0 / 463.1 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.2209, allocations: 7.984 kB / 463.1 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001098/0.222, allocations: 0.9376 MB / 464.1 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.222, allocations: 4 kB / 464.1 MB, free: 1.379 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001271/0.2221, allocations: 35.92 kB / 464.1 MB, free: 1.344 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002216/0.2224, allocations: 104.8 kB / 464.2 MB, free: 1.238 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.2224, allocations: 8 kB / 464.2 MB, free: 1.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002064/0.2245, allocations: 2.336 MB / 466.5 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.2245, allocations: 192 / 466.5 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006518/0.2251, allocations: 0.6268 MB / 467.2 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.51e-05/0.2252, allocations: 124.4 kB / 467.3 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.654e-05/0.2253, allocations: 8 kB / 467.3 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001608/0.2254, allocations: 4 kB / 467.3 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.739e-05/0.2255, allocations: 35.84 kB / 467.3 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/0.2255, allocations: 12 kB / 467.3 MB, free: 13.9 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001863/0.2257, allocations: 223 kB / 467.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.2257, allocations: 0 / 467.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005626/0.2263, allocations: 155.8 kB / 467.7 MB, free: 13.53 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (20): * Single equations (assignments): 18 * 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,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.39e-05/0.2264, allocations: 103.5 kB / 467.8 MB, free: 13.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007033/0.2271, allocations: 0.5145 MB / 468.3 MB, free: 12.89 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2271, allocations: 0 / 468.3 MB, free: 12.89 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004017/0.2275, allocations: 347 kB / 468.7 MB, free: 12.54 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005375/0.228, allocations: 61.97 kB / 468.7 MB, free: 12.47 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001183/0.2292, allocations: 1.037 MB / 469.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003989/0.2297, allocations: 0.8746 MB / 470.6 MB, free: 10.49 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.989e-05/0.2297, allocations: 27.44 kB / 470.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2297, allocations: 0 / 470.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of Templates: time 0.006791/0.2365, allocations: 6.084 MB / 476.8 MB, free: 4.367 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.makefile make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.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.Network.NetworkLoop_dCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dCalcHelperMain.o] Error 1