Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.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_dq,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_dq") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,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_dq") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001316/0.001323, allocations: 110.5 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.001383/0.001384, 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 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 222.9 MB / 241.7 MB, free: 15.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1757/0.1757, allocations: 38.04 MB / 329.9 MB, free: 9.098 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009907/0.0009907, allocations: 57.05 kB / 398.7 MB, free: 34.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1167, allocations: 58.06 MB / 456.8 MB, free: 8.566 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.007626/0.1244, allocations: 7.619 MB / 464.4 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00561/0.13, allocations: 4.495 MB / 468.9 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005264/0.1306, allocations: 15.94 kB / 468.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002199/0.1328, allocations: 0.9864 MB / 469.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00263/0.1354, allocations: 1.141 MB / 471 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008287/0.1362, allocations: 283.3 kB / 471.3 MB, free: 9.973 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002252/0.1385, allocations: 2.58 MB / 473.9 MB, free: 7.387 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000957/0.1395, allocations: 0.6606 MB / 474.6 MB, free: 6.723 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000823/0.1403, allocations: 0.5055 MB / 475.1 MB, free: 6.215 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000849/0.1412, allocations: 0.7399 MB / 475.8 MB, free: 5.473 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.224e-05/0.1413, allocations: 55.94 kB / 475.9 MB, free: 5.418 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002586/0.1439, allocations: 1.606 MB / 477.5 MB, free: 3.809 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004187/0.1443, allocations: 470.9 kB / 477.9 MB, free: 3.348 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003963/0.1447, allocations: 421.9 kB / 478.3 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001422/0.1461, allocations: 1.092 MB / 479.4 MB, free: 1.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.1461, allocations: 4 kB / 479.4 MB, free: 1.836 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.31e-07/0.1462, allocations: 4 kB / 479.4 MB, free: 1.832 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.776e-06/0.1462, allocations: 0 / 479.4 MB, free: 1.832 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.001489/0.1477, allocations: 1.124 MB / 480.6 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.1477, allocations: 8.031 kB / 480.6 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002931/0.1507, allocations: 387.4 kB / 481 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006614/0.1513, allocations: 474.7 kB / 481.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.965e-05/0.1514, allocations: 50.38 kB / 481.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001222/0.1515, allocations: 76.34 kB / 481.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001625/0.1531, allocations: 1.184 MB / 482.7 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.624e-05/0.1532, allocations: 3.906 kB / 482.7 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.802e-05/0.1533, allocations: 31.98 kB / 482.8 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.733e-05/0.1533, allocations: 73.95 kB / 482.8 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001642/0.155, allocations: 1.237 MB / 484.1 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004705/0.1597, allocations: 3.519 MB / 487.6 MB, free: 9.469 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001473/0.1612, allocations: 1.057 MB / 488.6 MB, free: 8.391 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007989/0.162, allocations: 0.661 MB / 489.3 MB, free: 7.727 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.904e-05/0.1621, allocations: 24.91 kB / 489.3 MB, free: 7.699 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/0.1621, allocations: 43.56 kB / 489.4 MB, free: 7.648 MB / 366.1 MB Notification: Performance of pre-optimization done (n=91): time 2.554e-06/0.1621, allocations: 0 / 489.4 MB, free: 7.648 MB / 366.1 MB Notification: Performance of matching and sorting (n=92): time 0.005991/0.1681, allocations: 3.083 MB / 492.5 MB, free: 4.539 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.1682, allocations: 90.05 kB / 492.5 MB, free: 4.434 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003925/0.1686, allocations: 369.5 kB / 492.9 MB, free: 4.066 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.101e-05/0.1687, allocations: 41.7 kB / 492.9 MB, free: 4.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001863/0.1689, allocations: 312.2 kB / 493.3 MB, free: 3.707 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002394/0.1691, allocations: 311.4 kB / 493.6 MB, free: 3.398 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002251/0.1693, allocations: 162.5 kB / 493.7 MB, free: 3.234 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.1695, allocations: 370.7 kB / 494.1 MB, free: 2.863 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006198/0.1701, allocations: 469.7 kB / 494.5 MB, free: 2.402 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000695/0.1708, allocations: 0.5696 MB / 495.1 MB, free: 1.805 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001409/0.1722, allocations: 1.113 MB / 496.2 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.1722, allocations: 0 / 496.2 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002265/0.1745, allocations: 1.477 MB / 497.7 MB, free: 15.17 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.1745, allocations: 8 kB / 497.7 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.1746, allocations: 7.938 kB / 497.7 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009115/0.1755, allocations: 334.3 kB / 498 MB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006429/0.1761, allocations: 187.7 kB / 498.2 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004704/0.1808, allocations: 3.858 MB / 0.4903 GB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005279/0.1814, allocations: 47.94 kB / 0.4904 GB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.059e-05/0.1815, allocations: 35.98 kB / 0.4904 GB, free: 10.54 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.0004092/0.1819, allocations: 298.4 kB / 0.4907 GB, free: 10.24 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001275/0.182, allocations: 55.34 kB / 0.4907 GB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002397/0.1844, allocations: 1.567 MB / 0.4923 GB, free: 8.609 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.1844, allocations: 12 kB / 0.4923 GB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.1845, allocations: 4 kB / 0.4923 GB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/0.1845, allocations: 7.969 kB / 0.4923 GB, free: 8.586 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.004435/0.1889, allocations: 3.032 MB / 0.4952 GB, free: 5.426 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/0.1889, allocations: 4 kB / 0.4952 GB, free: 5.422 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006487/0.1896, allocations: 168.2 kB / 0.4954 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007944/0.1904, allocations: 292.4 kB / 0.4957 GB, free: 4.969 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.079e-05/0.1905, allocations: 27.98 kB / 0.4957 GB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004597/0.1951, allocations: 3.591 MB / 0.4992 GB, free: 1.207 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/0.1951, allocations: 8.047 kB / 0.4992 GB, free: 1.199 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2387/0.4338, allocations: 1.586 MB / 0.5008 GB, free: 56.04 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002433/0.434, allocations: 147.3 kB / 0.5009 GB, free: 55.95 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001453/0.4342, allocations: 21.69 kB / 0.5009 GB, free: 55.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004304/0.4346, allocations: 46.3 kB / 0.501 GB, free: 55.95 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001983/0.4348, allocations: 85.41 kB / 0.5011 GB, free: 55.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.657e-05/0.4349, allocations: 37.3 kB / 0.5011 GB, free: 55.94 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002926/0.4352, allocations: 257.2 kB / 0.5013 GB, free: 55.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4352, allocations: 0.625 kB / 0.5013 GB, free: 55.86 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009429/0.4362, allocations: 307.4 kB / 0.5016 GB, free: 55.86 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.0001487/0.4363, allocations: 123.8 kB / 0.5018 GB, free: 55.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002005/0.4383, allocations: 1.393 MB / 0.5031 GB, free: 55.62 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.4384, allocations: 3.688 kB / 0.5031 GB, free: 55.62 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001114/0.4395, allocations: 0.8436 MB / 0.5039 GB, free: 55.41 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006474/0.4401, allocations: 105.7 kB / 0.504 GB, free: 55.36 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002798/0.443, allocations: 2.229 MB / 0.5062 GB, free: 54.12 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006138/0.4436, allocations: 1.068 MB / 0.5073 GB, free: 53.39 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002395/0.4438, allocations: 74.38 kB / 0.5073 GB, free: 53.37 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4438, allocations: 0 / 0.5073 GB, free: 53.37 MB / 382.1 MB Notification: Performance of Templates: time 0.01686/0.4607, allocations: 12.15 MB / 0.5192 GB, free: 49.89 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.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_dqCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dqCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dqCalcHelperMain.o] Error 1