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.0007933/0.0007931, allocations: 96.86 kB / 17.31 MB, free: 6.391 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.0008823/0.0008825, allocations: 177.2 kB / 18.21 MB, free: 5.547 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.437/1.437, allocations: 223.2 MB / 242.2 MB, free: 14.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.1724/0.1724, allocations: 38.08 MB / 331.4 MB, free: 8.543 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003245/0.0003245, allocations: 8 kB / 401.4 MB, free: 34.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.13, allocations: 59.17 MB / 460.5 MB, free: 7.062 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.007665/0.1377, allocations: 7.182 MB / 467.7 MB, free: 15.85 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005959/0.1437, allocations: 4.417 MB / 472.1 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005662/0.1443, allocations: 15.94 kB / 472.1 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004678/0.1448, allocations: 127.1 kB / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003102/0.1479, allocations: 1.149 MB / 473.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009934/0.1489, allocations: 287.3 kB / 473.7 MB, free: 9.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002933/0.1518, allocations: 2.58 MB / 476.3 MB, free: 7.254 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002338/0.1542, allocations: 1.242 MB / 477.5 MB, free: 5.988 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009403/0.1551, allocations: 481.6 kB / 478 MB, free: 5.516 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000887/0.156, allocations: 0.6853 MB / 478.7 MB, free: 4.828 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.487e-05/0.1561, allocations: 32 kB / 478.7 MB, free: 4.797 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002762/0.1589, allocations: 1.594 MB / 480.3 MB, free: 3.199 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004904/0.1594, allocations: 446.9 kB / 480.7 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006626/0.1601, allocations: 407.7 kB / 481.1 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002168/0.1622, allocations: 1.087 MB / 482.2 MB, free: 1.266 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.882e-06/0.1623, allocations: 0 / 482.2 MB, free: 1.266 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1623, allocations: 0 / 482.2 MB, free: 1.266 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.428e-05/0.1624, allocations: 4 kB / 482.2 MB, free: 1.262 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.002155/0.1645, allocations: 0.9836 MB / 483.2 MB, free: 232 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/0.1646, allocations: 8.031 kB / 483.2 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003264/0.1679, allocations: 391.4 kB / 483.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007634/0.1686, allocations: 482.6 kB / 484.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.501e-05/0.1687, allocations: 50.38 kB / 484.1 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001446/0.1688, allocations: 76.27 kB / 484.2 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001781/0.1706, allocations: 1.176 MB / 485.4 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.76e-05/0.1707, allocations: 8 kB / 485.4 MB, free: 13.99 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.217e-05/0.1708, allocations: 27.98 kB / 485.4 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.406e-05/0.1709, allocations: 77.95 kB / 485.5 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001808/0.1727, allocations: 1.237 MB / 486.7 MB, free: 12.65 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005295/0.178, allocations: 3.534 MB / 490.3 MB, free: 9.016 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001648/0.1797, allocations: 1.061 MB / 491.3 MB, free: 7.934 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008649/0.1805, allocations: 0.6649 MB / 492 MB, free: 7.266 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.076e-05/0.1806, allocations: 20.92 kB / 492 MB, free: 7.242 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.401e-05/0.1807, allocations: 43.56 kB / 492 MB, free: 7.191 MB / 366.1 MB Notification: Performance of pre-optimization done (n=91): time 2.975e-06/0.1807, allocations: 0 / 492 MB, free: 7.191 MB / 366.1 MB Notification: Performance of matching and sorting (n=92): time 0.006736/0.1874, allocations: 3.103 MB / 495.1 MB, free: 4.062 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.28e-05/0.1876, allocations: 90.05 kB / 495.2 MB, free: 3.957 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004579/0.188, allocations: 361.7 kB / 495.6 MB, free: 3.598 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.625e-05/0.1881, allocations: 37.7 kB / 495.6 MB, free: 3.555 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002118/0.1883, allocations: 320 kB / 495.9 MB, free: 3.234 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003017/0.1886, allocations: 315.4 kB / 496.2 MB, free: 2.922 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001345/0.1888, allocations: 73.69 kB / 496.3 MB, free: 2.844 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002176/0.189, allocations: 370.8 kB / 496.7 MB, free: 2.473 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007545/0.1898, allocations: 469.7 kB / 497.1 MB, free: 2.012 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007599/0.1905, allocations: 0.5657 MB / 497.7 MB, free: 1.418 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001525/0.1921, allocations: 1.117 MB / 498.8 MB, free: 280 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.718e-06/0.1921, allocations: 0 / 498.8 MB, free: 280 kB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002512/0.1946, allocations: 1.477 MB / 0.4886 GB, free: 14.78 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.1946, allocations: 6.344 kB / 0.4886 GB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.1947, allocations: 4 kB / 0.4886 GB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009395/0.1956, allocations: 334.4 kB / 0.4889 GB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006955/0.1963, allocations: 183.7 kB / 0.4891 GB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00563/0.202, allocations: 3.876 MB / 0.4929 GB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005978/0.2026, allocations: 43.95 kB / 0.4929 GB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001324/0.2027, allocations: 44.03 kB / 0.4929 GB, free: 10.14 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.0005456/0.2033, allocations: 290.4 kB / 0.4932 GB, free: 9.848 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001473/0.2034, allocations: 55.34 kB / 0.4933 GB, free: 9.793 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002925/0.2064, allocations: 1.578 MB / 0.4948 GB, free: 8.203 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-05/0.2064, allocations: 12 kB / 0.4948 GB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.484e-05/0.2064, allocations: 4 kB / 0.4948 GB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.341e-05/0.2064, allocations: 7.969 kB / 0.4948 GB, free: 8.18 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.005554/0.212, allocations: 3.028 MB / 0.4978 GB, free: 5.023 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/0.212, allocations: 4 kB / 0.4978 GB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006455/0.2127, allocations: 167.8 kB / 0.498 GB, free: 4.855 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008145/0.2135, allocations: 292.9 kB / 0.4982 GB, free: 4.566 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.021e-05/0.2136, allocations: 31.98 kB / 0.4983 GB, free: 4.535 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005049/0.2186, allocations: 3.603 MB / 0.5018 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.2187, allocations: 4 kB / 0.5018 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2655/0.4842, allocations: 1.588 MB / 0.5033 GB, free: 54.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001959/0.4844, allocations: 142.8 kB / 0.5035 GB, free: 54.84 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.224e-05/0.4845, allocations: 25.78 kB / 0.5035 GB, free: 54.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004474/0.485, allocations: 41.75 kB / 0.5035 GB, free: 54.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002056/0.4852, allocations: 84.59 kB / 0.5036 GB, free: 54.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.887e-05/0.4853, allocations: 36.11 kB / 0.5037 GB, free: 54.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003008/0.4856, allocations: 257.4 kB / 0.5039 GB, free: 54.76 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4856, allocations: 0.5312 kB / 0.5039 GB, free: 54.76 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001023/0.4866, allocations: 307.3 kB / 0.5042 GB, free: 54.76 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.0001649/0.4868, allocations: 131.8 kB / 0.5043 GB, free: 54.67 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002253/0.4891, allocations: 1.395 MB / 0.5057 GB, free: 54.51 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.4891, allocations: 1.031 kB / 0.5057 GB, free: 54.51 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001175/0.4903, allocations: 0.8439 MB / 0.5065 GB, free: 54.36 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007897/0.4911, allocations: 106.5 kB / 0.5066 GB, free: 54.35 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003096/0.4942, allocations: 2.247 MB / 0.5088 GB, free: 53.26 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000745/0.495, allocations: 1.07 MB / 0.5099 GB, free: 52.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002491/0.4952, allocations: 76.3 kB / 0.5099 GB, free: 52.51 MB / 382.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4952, allocations: 0 / 0.5099 GB, free: 52.51 MB / 382.1 MB Notification: Performance of Templates: time 0.01664/0.5119, allocations: 12.09 MB / 0.5217 GB, free: 48.84 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