Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.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_dq0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|impedance3.i.1.|impedance3.i.2.|impedance3.i.3.|impedance3.p.1.|impedance3.p.2.|impedance3.p.3.|impedance3.v.1.|impedance3.v.2.|impedance3.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|impedance3.i.1.|impedance3.i.2.|impedance3.i.3.|impedance3.p.1.|impedance3.p.2.|impedance3.p.3.|impedance3.v.1.|impedance3.v.2.|impedance3.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008715/0.0008715, allocations: 93.7 kB / 17.31 MB, free: 6.531 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.00102/0.00102, allocations: 175.5 kB / 18.21 MB, free: 5.684 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.367/1.367, allocations: 223.3 MB / 242.2 MB, free: 14.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1704/0.1704, allocations: 38.1 MB / 331.5 MB, free: 8.527 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003231/0.0003231, allocations: 8 kB / 401.4 MB, free: 34.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1289, allocations: 59.17 MB / 460.5 MB, free: 7.047 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.007927/0.1368, allocations: 7.186 MB / 467.7 MB, free: 15.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006322/0.1432, allocations: 4.487 MB / 472.2 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004909/0.1437, allocations: 15.94 kB / 472.2 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003931/0.1441, allocations: 131.1 kB / 472.3 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002904/0.1471, allocations: 1.203 MB / 473.5 MB, free: 9.973 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008783/0.1479, allocations: 315.2 kB / 473.9 MB, free: 9.664 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002717/0.1507, allocations: 2.577 MB / 476.4 MB, free: 7.082 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002441/0.1531, allocations: 1.403 MB / 477.8 MB, free: 5.648 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009343/0.1541, allocations: 493.6 kB / 478.3 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001039/0.1551, allocations: 0.7477 MB / 479.1 MB, free: 4.414 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.734e-05/0.1552, allocations: 40 kB / 479.1 MB, free: 4.375 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003291/0.1585, allocations: 1.777 MB / 480.9 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005524/0.1591, allocations: 0.5572 MB / 481.4 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005427/0.1596, allocations: 0.5264 MB / 482 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001952/0.1616, allocations: 1.399 MB / 483.4 MB, free: 100 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1616, allocations: 0 / 483.4 MB, free: 100 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1616, allocations: 4 kB / 483.4 MB, free: 96 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.097e-05/0.1616, allocations: 0 / 483.4 MB, free: 96 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.001944/0.1636, allocations: 1.162 MB / 484.5 MB, free: 14.88 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.1636, allocations: 12.03 kB / 484.5 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003884/0.1675, allocations: 0.5419 MB / 485.1 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007913/0.1683, allocations: 0.5559 MB / 485.6 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.364e-05/0.1684, allocations: 62.36 kB / 485.7 MB, free: 13.67 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000161/0.1686, allocations: 88.38 kB / 485.8 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002461/0.171, allocations: 1.509 MB / 487.3 MB, free: 12.04 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.4e-05/0.1711, allocations: 0 / 487.3 MB, free: 12.04 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000115/0.1712, allocations: 35.98 kB / 487.3 MB, free: 12 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001322/0.1713, allocations: 102 kB / 487.4 MB, free: 11.9 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002509/0.1738, allocations: 1.554 MB / 489 MB, free: 10.34 MB / 366.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 preOpt removeSimpleEquations (simulation): time 0.007839/0.1817, allocations: 4.943 MB / 493.9 MB, free: 5.18 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00184/0.1836, allocations: 1.185 MB / 495.1 MB, free: 3.965 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001023/0.1846, allocations: 0.7663 MB / 495.9 MB, free: 3.199 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.511e-05/0.1847, allocations: 21.06 kB / 495.9 MB, free: 3.18 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.346e-05/0.1847, allocations: 43.56 kB / 495.9 MB, free: 3.129 MB / 366.1 MB Notification: Performance of pre-optimization done (n=107): time 5.69e-06/0.1847, allocations: 96 / 495.9 MB, free: 3.129 MB / 366.1 MB Notification: Performance of matching and sorting (n=108): time 0.007778/0.1925, allocations: 3.712 MB / 499.6 MB, free: 15.37 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.896e-05/0.1926, allocations: 86.11 kB / 499.7 MB, free: 15.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005875/0.1932, allocations: 481.6 kB / 0.4885 GB, free: 14.79 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.53e-05/0.1933, allocations: 41.7 kB / 0.4885 GB, free: 14.74 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003037/0.1936, allocations: 419.5 kB / 0.4889 GB, free: 14.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003503/0.194, allocations: 370.6 kB / 0.4893 GB, free: 13.95 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001572/0.1941, allocations: 101.6 kB / 0.4894 GB, free: 13.85 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001866/0.1943, allocations: 386.8 kB / 0.4897 GB, free: 13.46 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007951/0.1951, allocations: 0.5334 MB / 0.4903 GB, free: 12.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009807/0.1961, allocations: 0.754 MB / 0.491 GB, free: 12.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002007/0.1981, allocations: 1.396 MB / 0.4924 GB, free: 10.62 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/0.1981, allocations: 11.94 kB / 0.4924 GB, free: 10.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003077/0.2012, allocations: 1.798 MB / 0.4941 GB, free: 8.793 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.746e-05/0.2013, allocations: 11.98 kB / 0.4941 GB, free: 8.781 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.2013, allocations: 4 kB / 0.4941 GB, free: 8.777 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001099/0.2024, allocations: 405.7 kB / 0.4945 GB, free: 8.375 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00087/0.2033, allocations: 235.6 kB / 0.4948 GB, free: 8.145 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006924/0.2102, allocations: 5.624 MB / 0.5002 GB, free: 2.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009537/0.2112, allocations: 63.94 kB / 0.5003 GB, free: 2.168 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-05/0.2113, allocations: 47.98 kB / 0.5004 GB, free: 2.121 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (105): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,26,100.0%), (1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000596/0.2119, allocations: 361.4 kB / 0.5007 GB, free: 1.758 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/0.212, allocations: 71.16 kB / 0.5008 GB, free: 1.688 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.231/0.4431, allocations: 1.806 MB / 0.5025 GB, free: 54.26 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.798e-05/0.4431, allocations: 16.58 kB / 0.5025 GB, free: 54.26 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.936e-05/0.4432, allocations: 5.25 kB / 0.5025 GB, free: 54.26 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.185e-05/0.4432, allocations: 12.27 kB / 0.5026 GB, free: 54.26 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.006636/0.4499, allocations: 3.471 MB / 0.506 GB, free: 53.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.906e-06/0.4499, allocations: 3.188 kB / 0.506 GB, free: 53.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007404/0.4506, allocations: 189.2 kB / 0.5061 GB, free: 53.67 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009623/0.4516, allocations: 351.9 kB / 0.5065 GB, free: 53.65 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.456e-05/0.4517, allocations: 31.05 kB / 0.5065 GB, free: 53.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005995/0.4577, allocations: 5.348 MB / 0.5117 GB, free: 50.08 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/0.4577, allocations: 8.438 kB / 0.5117 GB, free: 50.08 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003182/0.4609, allocations: 1.824 MB / 0.5135 GB, free: 49.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002538/0.4612, allocations: 163 kB / 0.5137 GB, free: 49.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/0.4613, allocations: 26.05 kB / 0.5137 GB, free: 49.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000536/0.4619, allocations: 48.67 kB / 0.5137 GB, free: 49.14 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002467/0.4621, allocations: 91.88 kB / 0.5138 GB, free: 49.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.12e-05/0.4622, allocations: 40.64 kB / 0.5139 GB, free: 49.11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005272/0.4627, allocations: 325.2 kB / 0.5142 GB, free: 48.96 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.335e-06/0.4627, allocations: 0 / 0.5142 GB, free: 48.96 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00184/0.4646, allocations: 399.8 kB / 0.5146 GB, free: 48.92 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 (91): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,7,100.0%), (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.0002032/0.4648, allocations: 132.3 kB / 0.5147 GB, free: 48.8 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003058/0.4679, allocations: 1.748 MB / 0.5164 GB, free: 48.06 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.4679, allocations: 3.625 kB / 0.5164 GB, free: 48.06 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001634/0.4695, allocations: 1.078 MB / 0.5174 GB, free: 47.53 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/0.4706, allocations: 122.2 kB / 0.5176 GB, free: 47.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003925/0.4746, allocations: 2.79 MB / 0.5203 GB, free: 45.94 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007635/0.4754, allocations: 1.181 MB / 0.5214 GB, free: 45.17 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003214/0.4757, allocations: 71.14 kB / 0.5215 GB, free: 45.16 MB / 382.1 MB Notification: Performance of SimCode: time 6.61e-07/0.4757, allocations: 0 / 0.5215 GB, free: 45.16 MB / 382.1 MB Notification: Performance of Templates: time 0.02142/0.4971, allocations: 17.99 MB / 0.5391 GB, free: 32.77 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.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_dq0CalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0CalcHelperMain.o] Error 1