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.001045/0.001045, allocations: 95.3 kB / 16.95 MB, free: 5.953 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.001188/0.001188, allocations: 177.7 kB / 17.84 MB, free: 5.617 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.322/1.322, allocations: 223.2 MB / 241.8 MB, free: 316 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1743/0.1743, allocations: 38.1 MB / 331.1 MB, free: 8.941 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003365/0.0003366, allocations: 13.22 kB / 400.7 MB, free: 34.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1091, allocations: 59.16 MB / 459.9 MB, free: 7.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.006483/0.1157, allocations: 6.769 MB / 466.6 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004818/0.1205, allocations: 4.162 MB / 470.8 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002574/0.1208, allocations: 15.88 kB / 470.8 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003274/0.1211, allocations: 135.1 kB / 470.9 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001887/0.123, allocations: 0.9614 MB / 471.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006502/0.1237, allocations: 255.3 kB / 472.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001698/0.1254, allocations: 1.913 MB / 474.1 MB, free: 9.176 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00233/0.1278, allocations: 1.287 MB / 475.4 MB, free: 7.871 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00102/0.1288, allocations: 0.4977 MB / 475.9 MB, free: 7.371 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009235/0.1297, allocations: 0.7284 MB / 476.6 MB, free: 6.641 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.1e-05/0.1298, allocations: 43.94 kB / 476.6 MB, free: 6.598 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001969/0.1318, allocations: 0.9236 MB / 477.5 MB, free: 5.672 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005079/0.1323, allocations: 0.5768 MB / 478.1 MB, free: 5.094 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002015/0.1325, allocations: 217.2 kB / 478.3 MB, free: 4.875 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001416/0.1339, allocations: 1.344 MB / 479.7 MB, free: 3.527 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.1339, allocations: 0 / 479.7 MB, free: 3.527 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.134, allocations: 0 / 479.7 MB, free: 3.527 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.134, allocations: 0 / 479.7 MB, free: 3.527 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.001706/0.1357, allocations: 1.174 MB / 480.9 MB, free: 2.301 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.1357, allocations: 12.03 kB / 480.9 MB, free: 2.289 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003457/0.1392, allocations: 0.5371 MB / 481.4 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008017/0.14, allocations: 0.5393 MB / 481.9 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.93e-05/0.1401, allocations: 65.98 kB / 482 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001779/0.1403, allocations: 87.98 kB / 482.1 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002426/0.1427, allocations: 1.493 MB / 483.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.037e-05/0.1427, allocations: 3.906 kB / 483.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/0.1428, allocations: 39.97 kB / 483.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001272/0.143, allocations: 102 kB / 483.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002385/0.1454, allocations: 1.538 MB / 485.3 MB, free: 13.8 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.007707/0.1531, allocations: 4.95 MB / 490.2 MB, free: 8.633 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001781/0.1549, allocations: 1.185 MB / 491.4 MB, free: 7.422 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009898/0.1559, allocations: 0.7623 MB / 492.2 MB, free: 6.66 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.08e-05/0.156, allocations: 21.05 kB / 492.2 MB, free: 6.641 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.622e-05/0.156, allocations: 43.56 kB / 492.2 MB, free: 6.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=107): time 3.306e-06/0.156, allocations: 0 / 492.2 MB, free: 6.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=108): time 0.00725/0.1633, allocations: 3.65 MB / 495.9 MB, free: 2.891 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.853e-05/0.1634, allocations: 98.03 kB / 496 MB, free: 2.773 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005189/0.1639, allocations: 469.7 kB / 496.4 MB, free: 2.309 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.651e-05/0.164, allocations: 45.7 kB / 496.5 MB, free: 2.258 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002658/0.1642, allocations: 423.5 kB / 496.9 MB, free: 1.836 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002981/0.1646, allocations: 370.6 kB / 497.3 MB, free: 1.469 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.776e-05/0.1646, allocations: 20 kB / 497.3 MB, free: 1.449 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.1648, allocations: 394.7 kB / 497.7 MB, free: 1.055 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007635/0.1656, allocations: 0.5296 MB / 498.2 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009849/0.1666, allocations: 0.75 MB / 498.9 MB, free: 15.69 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009265/0.1675, allocations: 0.651 MB / 499.6 MB, free: 15.04 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.1675, allocations: 0 / 499.6 MB, free: 15.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002811/0.1703, allocations: 1.798 MB / 0.4896 GB, free: 13.23 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.1704, allocations: 8 kB / 0.4896 GB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/0.1704, allocations: 4 kB / 0.4896 GB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009961/0.1714, allocations: 405.9 kB / 0.49 GB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008214/0.1722, allocations: 235.6 kB / 0.4903 GB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006424/0.1787, allocations: 5.596 MB / 0.4957 GB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007688/0.1795, allocations: 67.92 kB / 0.4958 GB, free: 6.633 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.653e-05/0.1796, allocations: 40 kB / 0.4958 GB, free: 6.594 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 26,(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000568/0.1801, allocations: 369.4 kB / 0.4962 GB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/0.1803, allocations: 75.11 kB / 0.4962 GB, free: 6.148 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002886/0.1832, allocations: 1.814 MB / 0.498 GB, free: 4.32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/0.1832, allocations: 12 kB / 0.498 GB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.1832, allocations: 4 kB / 0.498 GB, free: 4.305 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.478e-05/0.1832, allocations: 11.97 kB / 0.498 GB, free: 4.293 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.005295/0.1885, allocations: 3.458 MB / 0.5014 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.752e-06/0.1885, allocations: 7.938 kB / 0.5014 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006827/0.1892, allocations: 183.8 kB / 0.5016 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008372/0.1901, allocations: 353.7 kB / 0.5019 GB, free: 168 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.627e-05/0.1902, allocations: 28 kB / 0.502 GB, free: 140 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.239/0.4292, allocations: 5.331 MB / 0.5072 GB, free: 52.03 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.4293, allocations: 8.094 kB / 0.5072 GB, free: 52.03 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003269/0.4325, allocations: 1.811 MB / 0.509 GB, free: 51.39 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002514/0.4328, allocations: 161.1 kB / 0.5091 GB, free: 51.29 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/0.4329, allocations: 29.33 kB / 0.5091 GB, free: 51.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004901/0.4334, allocations: 49.27 kB / 0.5092 GB, free: 51.26 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002172/0.4336, allocations: 91.41 kB / 0.5093 GB, free: 51.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.842e-05/0.4337, allocations: 42.17 kB / 0.5093 GB, free: 51.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000413/0.4341, allocations: 322.5 kB / 0.5096 GB, free: 51.08 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.4342, allocations: 4.562 kB / 0.5096 GB, free: 51.08 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00142/0.4356, allocations: 397.4 kB / 0.51 GB, free: 51.04 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 7,(2,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001859/0.4358, allocations: 128 kB / 0.5101 GB, free: 50.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002853/0.4386, allocations: 1.737 MB / 0.5118 GB, free: 50.19 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.4387, allocations: 1.156 kB / 0.5118 GB, free: 50.19 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001686/0.4403, allocations: 1.077 MB / 0.5129 GB, free: 49.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008369/0.4412, allocations: 120.4 kB / 0.513 GB, free: 49.6 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004253/0.4455, allocations: 2.682 MB / 0.5156 GB, free: 48.18 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009332/0.4464, allocations: 1.18 MB / 0.5168 GB, free: 47.42 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002956/0.4467, allocations: 71.72 kB / 0.5168 GB, free: 47.41 MB / 382.1 MB Notification: Performance of SimCode: time 5.92e-07/0.4467, allocations: 0 / 0.5168 GB, free: 47.41 MB / 382.1 MB Notification: Performance of Templates: time 0.02533/0.4721, allocations: 18.02 MB / 0.5344 GB, free: 37.15 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++ NOTFOUND -Winvalid-pch -O0 -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/c/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