Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.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.AC3ph.Inverters.Rectifier,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meterAC.i.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p_av.1.|meterAC.p_av.2.|meterAC.p_av.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier") translateModel(PowerSystems.Examples.AC3ph.Inverters.Rectifier,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meterAC.i.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p_av.1.|meterAC.p_av.2.|meterAC.p_av.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 91.75 kB / 17.31 MB, free: 5.59 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.001179/0.001179, allocations: 182.4 kB / 18.21 MB, free: 5.191 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.456/1.456, allocations: 223.2 MB / 242.2 MB, free: 216 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1883/0.1883, allocations: 38.09 MB / 331.5 MB, free: 8.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003692/0.0003692, allocations: 9.5 kB / 401.4 MB, free: 34.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1442, allocations: 59.16 MB / 460.5 MB, free: 7.082 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.009946/0.1542, allocations: 7.077 MB / 467.6 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005855/0.1601, allocations: 2.356 MB / 470 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006447/0.1608, allocations: 39.75 kB / 470 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005728/0.1614, allocations: 143 kB / 470.1 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001668/0.1631, allocations: 0.5175 MB / 470.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001015/0.1641, allocations: 315.5 kB / 471 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002071/0.1662, allocations: 1.844 MB / 472.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001457/0.1677, allocations: 0.951 MB / 473.8 MB, free: 9.758 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007563/0.1684, allocations: 434.2 kB / 474.2 MB, free: 9.332 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009752/0.1694, allocations: 0.705 MB / 474.9 MB, free: 8.625 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001028/0.1695, allocations: 48 kB / 474.9 MB, free: 8.578 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001136/0.1707, allocations: 0.6082 MB / 475.5 MB, free: 7.969 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003869/0.1711, allocations: 415 kB / 476 MB, free: 7.562 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005399/0.1716, allocations: 495.3 kB / 476.4 MB, free: 7.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00108/0.1727, allocations: 1.146 MB / 477.6 MB, free: 5.922 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1727, allocations: 0 / 477.6 MB, free: 5.922 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1728, allocations: 0 / 477.6 MB, free: 5.922 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.1728, allocations: 0 / 477.6 MB, free: 5.922 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.002662/0.1754, allocations: 1.227 MB / 478.8 MB, free: 4.641 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.1755, allocations: 8.031 kB / 478.8 MB, free: 4.633 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007191/0.1762, allocations: 139.7 kB / 479 MB, free: 4.496 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001163/0.1774, allocations: 0.6609 MB / 479.6 MB, free: 3.793 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002452/0.1776, allocations: 175.6 kB / 479.8 MB, free: 3.602 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002034/0.1779, allocations: 87.92 kB / 479.9 MB, free: 3.516 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00247/0.1803, allocations: 1.434 MB / 481.3 MB, free: 2.043 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.652e-05/0.1804, allocations: 3.984 kB / 481.3 MB, free: 2.039 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.796e-05/0.1805, allocations: 32 kB / 481.3 MB, free: 2.008 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002166/0.1807, allocations: 85.94 kB / 481.4 MB, free: 1.922 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002805/0.1835, allocations: 1.569 MB / 483 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00724/0.1908, allocations: 4.462 MB / 487.5 MB, free: 11.77 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002418/0.1932, allocations: 1.252 MB / 488.7 MB, free: 10.5 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001404/0.1947, allocations: 0.8123 MB / 489.5 MB, free: 9.684 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.511e-05/0.1948, allocations: 16.64 kB / 489.5 MB, free: 9.664 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.336e-05/0.1948, allocations: 47.2 kB / 489.6 MB, free: 9.609 MB / 366.1 MB Notification: Performance of pre-optimization done (n=101): time 3.226e-06/0.1948, allocations: 0 / 489.6 MB, free: 9.609 MB / 366.1 MB Notification: Performance of matching and sorting (n=102): time 0.007822/0.2027, allocations: 3.975 MB / 493.6 MB, free: 5.543 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.138e-05/0.2028, allocations: 86.11 kB / 493.6 MB, free: 5.441 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00051/0.2033, allocations: 398 kB / 494 MB, free: 5.043 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.125e-05/0.2034, allocations: 41.7 kB / 494.1 MB, free: 4.996 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002497/0.2036, allocations: 340.2 kB / 494.4 MB, free: 4.656 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003073/0.204, allocations: 362.9 kB / 494.8 MB, free: 4.297 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/0.2041, allocations: 81.67 kB / 494.8 MB, free: 4.211 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.2043, allocations: 378.8 kB / 495.2 MB, free: 3.832 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001157/0.2054, allocations: 0.6149 MB / 495.8 MB, free: 3.215 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001436/0.2069, allocations: 0.7733 MB / 496.6 MB, free: 2.398 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002349/0.2092, allocations: 1.434 MB / 498 MB, free: 0.918 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.2093, allocations: 0 / 498 MB, free: 0.918 MB / 366.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003038/0.2123, allocations: 1.65 MB / 499.7 MB, free: 15.24 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.2123, allocations: 8 kB / 499.7 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.61e-05/0.2124, allocations: 4 kB / 499.7 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001852/0.2126, allocations: 40.84 kB / 499.7 MB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002748/0.2153, allocations: 0.6283 MB / 0.4886 GB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008071/0.2234, allocations: 6.422 MB / 0.4949 GB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/0.2245, allocations: 87.89 kB / 0.495 GB, free: 7.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.832e-05/0.2246, allocations: 36.08 kB / 0.495 GB, free: 7.484 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (104): * Single equations (assignments): 97 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006008/0.2252, allocations: 322.5 kB / 0.4953 GB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002166/0.2254, allocations: 75.08 kB / 0.4954 GB, free: 7.086 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002926/0.2283, allocations: 1.631 MB / 0.497 GB, free: 5.422 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.754e-05/0.2284, allocations: 28 kB / 0.497 GB, free: 5.395 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.2284, allocations: 3.938 kB / 0.497 GB, free: 5.391 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/0.2284, allocations: 3.984 kB / 0.497 GB, free: 5.387 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004875/0.2333, allocations: 2.939 MB / 0.4999 GB, free: 2.344 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.2333, allocations: 0 / 0.4999 GB, free: 2.344 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003017/0.2364, allocations: 0.6752 MB / 0.5006 GB, free: 1.668 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001406/0.2365, allocations: 44.77 kB / 0.5006 GB, free: 1.621 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.136e-05/0.2366, allocations: 16 kB / 0.5006 GB, free: 1.605 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2735/0.5101, allocations: 1.479 MB / 0.5021 GB, free: 55.36 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.163e-06/0.5102, allocations: 3.406 kB / 0.5021 GB, free: 55.36 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005536/0.5157, allocations: 2.608 MB / 0.5046 GB, free: 55.05 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002258/0.516, allocations: 136.4 kB / 0.5047 GB, free: 54.95 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/0.5161, allocations: 21.14 kB / 0.5048 GB, free: 54.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006479/0.5167, allocations: 81.39 kB / 0.5048 GB, free: 54.95 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002394/0.517, allocations: 82.78 kB / 0.5049 GB, free: 54.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.653e-05/0.5171, allocations: 31.78 kB / 0.5049 GB, free: 54.95 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003623/0.5174, allocations: 277 kB / 0.5052 GB, free: 54.87 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5174, allocations: 0 / 0.5052 GB, free: 54.87 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009391/0.5184, allocations: 236.3 kB / 0.5054 GB, free: 54.87 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (ind.i[1],ind.i[2],ind.i[3],meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],meterDC.pav) * 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 (86): * Single equations (assignments): 81 * Array equations: 3 * 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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003214/0.5187, allocations: 160.4 kB / 0.5056 GB, free: 54.78 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004803/0.5235, allocations: 2.014 MB / 0.5076 GB, free: 54.41 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.5236, allocations: 0 / 0.5076 GB, free: 54.41 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003424/0.527, allocations: 1.327 MB / 0.5089 GB, free: 54.05 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/0.5281, allocations: 145 kB / 0.509 GB, free: 54.01 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005787/0.5339, allocations: 3.189 MB / 0.5121 GB, free: 52.39 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007741/0.5347, allocations: 1.079 MB / 0.5132 GB, free: 51.64 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004055/0.5352, allocations: 65.59 kB / 0.5132 GB, free: 51.62 MB / 382.1 MB Notification: Performance of SimCode: time 1.523e-06/0.5352, allocations: 9.062 kB / 0.5132 GB, free: 51.62 MB / 382.1 MB Notification: Performance of Templates: time 0.02608/0.5613, allocations: 23.78 MB / 0.5365 GB, free: 35.09 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.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.AC3ph.Inverters.RectifierCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.RectifierCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.RectifierCalcHelperMain.o] Error 1