Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="mat",numberOfIntervals=5000,variableFilter="Time|impedance3.i.1.|impedance3.p.1.|impedance3.v.1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|impedance3.i.1.|impedance3.p.1.|impedance3.v.1.",fileNamePrefix="PowerSystems_latest_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.0008589/0.0008587, allocations: 93.22 kB / 17.31 MB, free: 5.934 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.00115/0.00115, allocations: 179.6 kB / 18.22 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 223.3 MB / 242.2 MB, free: 14.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1693/0.1693, allocations: 38.08 MB / 331.4 MB, free: 8.516 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003502/0.0003503, allocations: 11.98 kB / 401.4 MB, free: 34.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1437, allocations: 59.16 MB / 460.5 MB, free: 7.035 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.01128/0.155, allocations: 7.307 MB / 467.8 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00842/0.1635, allocations: 4.172 MB / 472 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007592/0.1643, allocations: 15.94 kB / 472 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000619/0.165, allocations: 127.1 kB / 472.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003777/0.1688, allocations: 1.059 MB / 473.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001181/0.17, allocations: 279.3 kB / 473.5 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003944/0.1739, allocations: 2.545 MB / 476 MB, free: 7.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00109/0.1751, allocations: 349.8 kB / 476.4 MB, free: 7.117 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001658/0.1767, allocations: 453.7 kB / 476.8 MB, free: 6.672 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0012/0.178, allocations: 0.6072 MB / 477.4 MB, free: 6.062 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.474e-05/0.178, allocations: 24 kB / 477.4 MB, free: 6.039 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00291/0.181, allocations: 1.239 MB / 478.7 MB, free: 4.797 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004214/0.1814, allocations: 255.3 kB / 478.9 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003717/0.1818, allocations: 260.5 kB / 479.2 MB, free: 4.285 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001237/0.183, allocations: 0.604 MB / 479.8 MB, free: 3.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.183, allocations: 0 / 479.8 MB, free: 3.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.1831, allocations: 4 kB / 479.8 MB, free: 3.676 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.474e-05/0.1831, allocations: 0 / 479.8 MB, free: 3.676 MB / 350.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.001504/0.1846, allocations: 0.7182 MB / 480.5 MB, free: 2.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/0.1847, allocations: 8.031 kB / 480.5 MB, free: 2.902 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00275/0.1874, allocations: 132.3 kB / 480.7 MB, free: 2.773 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005869/0.188, allocations: 330.4 kB / 481 MB, free: 2.406 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.969e-05/0.1881, allocations: 33.36 kB / 481 MB, free: 2.375 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.443e-05/0.1882, allocations: 36.36 kB / 481 MB, free: 2.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001248/0.1894, allocations: 0.5869 MB / 481.6 MB, free: 1.684 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.368e-05/0.1895, allocations: 4 kB / 481.6 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.659e-05/0.1895, allocations: 15.98 kB / 481.6 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.772e-05/0.1896, allocations: 40.56 kB / 481.7 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008536/0.1905, allocations: 390.1 kB / 482.1 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003478/0.194, allocations: 2.611 MB / 484.7 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009581/0.195, allocations: 427.7 kB / 485.1 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004209/0.1954, allocations: 214.5 kB / 485.3 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.727e-05/0.1955, allocations: 4.531 kB / 485.3 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.801e-05/0.1955, allocations: 34.56 kB / 485.3 MB, free: 13.79 MB / 366.1 MB Notification: Performance of pre-optimization done (n=33): time 2.916e-06/0.1955, allocations: 0 / 485.3 MB, free: 13.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=33): time 0.002468/0.198, allocations: 0.7682 MB / 486.1 MB, free: 13 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.866e-05/0.1981, allocations: 106.8 kB / 486.2 MB, free: 12.87 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004555/0.1986, allocations: 320.5 kB / 486.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.542e-05/0.1986, allocations: 41.64 kB / 486.6 MB, free: 12.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002177/0.1988, allocations: 247.7 kB / 486.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001509/0.199, allocations: 118.3 kB / 486.9 MB, free: 12.13 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.436e-05/0.1991, allocations: 45.69 kB / 487 MB, free: 12.08 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.1993, allocations: 346.9 kB / 487.3 MB, free: 11.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002983/0.1996, allocations: 128.8 kB / 487.4 MB, free: 11.61 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004401/0.2, allocations: 279.4 kB / 487.7 MB, free: 11.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008045/0.2009, allocations: 460.1 kB / 488.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.2009, allocations: 0 / 488.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001196/0.2021, allocations: 0.5618 MB / 488.7 MB, free: 10.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.895e-05/0.2021, allocations: 14.28 kB / 488.7 MB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/0.2022, allocations: 4 kB / 488.7 MB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004474/0.2026, allocations: 128.5 kB / 488.9 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003542/0.203, allocations: 71.91 kB / 488.9 MB, free: 9.973 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003579/0.2066, allocations: 2.337 MB / 491.3 MB, free: 7.488 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003704/0.207, allocations: 47.53 kB / 491.3 MB, free: 7.441 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.919e-05/0.207, allocations: 24.06 kB / 491.3 MB, free: 7.418 MB / 366.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.0003435/0.2074, allocations: 198.7 kB / 491.5 MB, free: 7.215 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001239/0.2075, allocations: 35.53 kB / 491.6 MB, free: 7.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001392/0.2077, allocations: 51.95 kB / 491.6 MB, free: 7.129 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.2077, allocations: 4 kB / 491.6 MB, free: 7.125 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-05/0.2077, allocations: 0 / 491.6 MB, free: 7.125 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.77e-05/0.2077, allocations: 7.984 kB / 491.6 MB, free: 7.117 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001834/0.2096, allocations: 0.9455 MB / 492.6 MB, free: 6.105 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.2096, allocations: 0 / 492.6 MB, free: 6.105 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001448/0.2097, allocations: 35.92 kB / 492.6 MB, free: 6.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002607/0.21, allocations: 117 kB / 492.7 MB, free: 5.953 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.092e-05/0.21, allocations: 4 kB / 492.7 MB, free: 5.949 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002386/0.2124, allocations: 2.343 MB / 495.1 MB, free: 3.457 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.2125, allocations: 4.062 kB / 495.1 MB, free: 3.453 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00077/0.2132, allocations: 0.6223 MB / 495.7 MB, free: 2.801 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001342/0.2134, allocations: 116.7 kB / 495.8 MB, free: 2.668 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.973e-05/0.2134, allocations: 4 kB / 495.8 MB, free: 2.664 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001779/0.2136, allocations: 8 kB / 495.8 MB, free: 2.656 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.52e-05/0.2137, allocations: 27.91 kB / 495.9 MB, free: 2.629 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.281e-05/0.2137, allocations: 12 kB / 495.9 MB, free: 2.617 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002575/0.214, allocations: 226.9 kB / 496.1 MB, free: 2.395 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.214, allocations: 4 kB / 496.1 MB, free: 2.391 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007798/0.2148, allocations: 155.8 kB / 496.2 MB, free: 2.238 MB / 366.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 0.0001332/0.2149, allocations: 103.2 kB / 496.3 MB, free: 2.129 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009341/0.2158, allocations: 0.5111 MB / 496.9 MB, free: 1.605 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.2159, allocations: 0 / 496.9 MB, free: 1.605 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004742/0.2163, allocations: 354 kB / 497.2 MB, free: 1.246 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006577/0.217, allocations: 59.41 kB / 497.3 MB, free: 1.191 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001636/0.2187, allocations: 1.059 MB / 498.3 MB, free: 92 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005477/0.2192, allocations: 0.8785 MB / 499.2 MB, free: 15.19 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.573e-05/0.2193, allocations: 27.44 kB / 499.2 MB, free: 15.16 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2193, allocations: 0 / 499.2 MB, free: 15.16 MB / 382.1 MB Notification: Performance of Templates: time 0.009181/0.2285, allocations: 6.053 MB / 0.4934 GB, free: 9.09 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.makefile make -j1 -f PowerSystems_latest_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_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dCalcHelperMain.o] Error 1