Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|impedance3.i.1.|impedance3.i.2.|impedance3.p.1.|impedance3.p.2.|impedance3.v.1.|impedance3.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|impedance3.i.1.|impedance3.i.2.|impedance3.p.1.|impedance3.p.2.|impedance3.v.1.|impedance3.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 109.2 kB / 17.17 MB, free: 6.32 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.001289/0.001289, allocations: 194.9 kB / 18.08 MB, free: 5.414 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: 222.9 MB / 241.7 MB, free: 15.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1673/0.1673, allocations: 38.03 MB / 329.9 MB, free: 9.078 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001081/0.001081, allocations: 64.45 kB / 398.7 MB, free: 34.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1213, allocations: 58.05 MB / 456.8 MB, free: 8.547 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.007761/0.1291, allocations: 7.611 MB / 464.4 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00554/0.1347, allocations: 4.506 MB / 468.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005331/0.1352, allocations: 15.94 kB / 468.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002287/0.1375, allocations: 0.9853 MB / 469.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002768/0.1403, allocations: 1.145 MB / 471.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008877/0.1412, allocations: 283.3 kB / 471.3 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002419/0.1437, allocations: 2.58 MB / 473.9 MB, free: 7.363 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001141/0.1448, allocations: 0.6606 MB / 474.6 MB, free: 6.699 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001111/0.1459, allocations: 0.5055 MB / 475.1 MB, free: 6.191 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001394/0.1473, allocations: 0.7321 MB / 475.8 MB, free: 5.457 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001833/0.1475, allocations: 48 kB / 475.9 MB, free: 5.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002882/0.1504, allocations: 1.609 MB / 477.5 MB, free: 3.797 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006264/0.1511, allocations: 466.9 kB / 477.9 MB, free: 3.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007357/0.1518, allocations: 429.9 kB / 478.3 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001722/0.1535, allocations: 1.099 MB / 479.4 MB, free: 1.816 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.1536, allocations: 0 / 479.4 MB, free: 1.816 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1536, allocations: 0 / 479.4 MB, free: 1.816 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.969e-06/0.1536, allocations: 0 / 479.4 MB, free: 1.816 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001534/0.1551, allocations: 1.116 MB / 480.6 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.1552, allocations: 12.02 kB / 480.6 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002898/0.1581, allocations: 399.3 kB / 481 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00064/0.1587, allocations: 470.9 kB / 481.4 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.325e-05/0.1588, allocations: 58.36 kB / 481.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001163/0.1589, allocations: 68.36 kB / 481.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001595/0.1605, allocations: 1.18 MB / 482.7 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.535e-05/0.1605, allocations: 3.906 kB / 482.7 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-05/0.1606, allocations: 35.98 kB / 482.8 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.702e-05/0.1607, allocations: 69.95 kB / 482.8 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001666/0.1624, allocations: 1.241 MB / 484.1 MB, free: 13.06 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004644/0.1671, allocations: 3.515 MB / 487.6 MB, free: 9.449 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001474/0.1685, allocations: 1.065 MB / 488.6 MB, free: 8.363 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007808/0.1693, allocations: 0.6605 MB / 489.3 MB, free: 7.699 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.458e-05/0.1694, allocations: 17 kB / 489.3 MB, free: 7.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.1694, allocations: 39.56 kB / 489.4 MB, free: 7.633 MB / 366.1 MB Notification: Performance of pre-optimization done (n=91): time 3.035e-06/0.1695, allocations: 0 / 489.4 MB, free: 7.633 MB / 366.1 MB Notification: Performance of matching and sorting (n=92): time 0.005971/0.1754, allocations: 3.091 MB / 492.5 MB, free: 4.516 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.509e-05/0.1755, allocations: 90.11 kB / 492.5 MB, free: 4.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003597/0.1759, allocations: 361.5 kB / 492.9 MB, free: 4.051 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.274e-05/0.1759, allocations: 41.7 kB / 492.9 MB, free: 4.004 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001754/0.1761, allocations: 312.2 kB / 493.2 MB, free: 3.691 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002398/0.1764, allocations: 319.4 kB / 493.6 MB, free: 3.375 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002357/0.1766, allocations: 158.5 kB / 493.7 MB, free: 3.215 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.1768, allocations: 366.8 kB / 494.1 MB, free: 2.848 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006127/0.1774, allocations: 473.7 kB / 494.5 MB, free: 2.383 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006814/0.1781, allocations: 0.5657 MB / 495.1 MB, free: 1.789 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0014/0.1795, allocations: 1.121 MB / 496.2 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.1795, allocations: 4 kB / 496.2 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002277/0.1818, allocations: 1.469 MB / 497.7 MB, free: 15.15 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.1818, allocations: 4 kB / 497.7 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.1818, allocations: 7.938 kB / 497.7 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009065/0.1827, allocations: 338.4 kB / 498 MB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006507/0.1834, allocations: 179.7 kB / 498.2 MB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00476/0.1882, allocations: 3.862 MB / 0.4903 GB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004649/0.1886, allocations: 47.95 kB / 0.4903 GB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.359e-05/0.1887, allocations: 35.98 kB / 0.4904 GB, free: 10.53 MB / 382.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 (80): * Single equations (assignments): 79 * 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 {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004055/0.1891, allocations: 294.4 kB / 0.4907 GB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/0.1893, allocations: 63.39 kB / 0.4907 GB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002433/0.1917, allocations: 1.563 MB / 0.4922 GB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/0.1917, allocations: 12 kB / 0.4923 GB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/0.1917, allocations: 8 kB / 0.4923 GB, free: 8.574 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.1918, allocations: 3.984 kB / 0.4923 GB, free: 8.57 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00445/0.1962, allocations: 3.032 MB / 0.4952 GB, free: 5.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/0.1962, allocations: 11.92 kB / 0.4952 GB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005917/0.1968, allocations: 171.7 kB / 0.4954 GB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007621/0.1976, allocations: 288.8 kB / 0.4957 GB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.493e-05/0.1977, allocations: 24 kB / 0.4957 GB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004237/0.2019, allocations: 3.595 MB / 0.4992 GB, free: 1.184 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.2019, allocations: 4 kB / 0.4992 GB, free: 1.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.235/0.4369, allocations: 1.588 MB / 0.5008 GB, free: 55.91 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002794/0.4372, allocations: 141.5 kB / 0.5009 GB, free: 55.81 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001833/0.4374, allocations: 23.03 kB / 0.5009 GB, free: 55.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000522/0.438, allocations: 44.97 kB / 0.501 GB, free: 55.81 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002098/0.4382, allocations: 82.52 kB / 0.5011 GB, free: 55.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.479e-05/0.4383, allocations: 39.95 kB / 0.5011 GB, free: 55.81 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003355/0.4386, allocations: 255.8 kB / 0.5013 GB, free: 55.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4386, allocations: 1.906 kB / 0.5013 GB, free: 55.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001118/0.4397, allocations: 307.1 kB / 0.5016 GB, free: 55.73 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (82): * Single equations (assignments): 80 * 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 {(2,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001654/0.4399, allocations: 127.6 kB / 0.5017 GB, free: 55.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002282/0.4422, allocations: 1.386 MB / 0.5031 GB, free: 55.49 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.4422, allocations: 3.062 kB / 0.5031 GB, free: 55.49 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001241/0.4435, allocations: 0.843 MB / 0.5039 GB, free: 55.29 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007757/0.4443, allocations: 106.6 kB / 0.504 GB, free: 55.24 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003151/0.4474, allocations: 2.233 MB / 0.5062 GB, free: 54 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006744/0.4481, allocations: 1.073 MB / 0.5073 GB, free: 53.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002606/0.4484, allocations: 72.42 kB / 0.5073 GB, free: 53.25 MB / 382.1 MB Notification: Performance of SimCode: time 8.72e-07/0.4484, allocations: 0 / 0.5073 GB, free: 53.25 MB / 382.1 MB Notification: Performance of Templates: time 0.0234/0.4718, allocations: 12.16 MB / 0.5192 GB, free: 49.74 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.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.NetworkLoopCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoopCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoopCalcHelperMain.o] Error 1