Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.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.AC1ph_DC.Elementary.Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meterAC.i|meterAC.p|meterAC.v|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meterAC.i|meterAC.p|meterAC.v|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009235/0.0009237, allocations: 90.88 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.001114/0.001114, allocations: 174.5 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.448/1.448, allocations: 223.2 MB / 242.2 MB, free: 88 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1892/0.1892, allocations: 38.1 MB / 331.5 MB, free: 8.812 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003424/0.0003424, allocations: 8 kB / 401.4 MB, free: 34.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1303, allocations: 59.17 MB / 460.5 MB, free: 7.055 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Inverter): time 0.008903/0.1393, allocations: 7.497 MB / 468 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003792/0.1431, allocations: 1.749 MB / 469.8 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006113/0.1437, allocations: 55.62 kB / 469.8 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003307/0.1441, allocations: 103.2 kB / 469.9 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001056/0.1452, allocations: 390.3 kB / 470.3 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005329/0.1457, allocations: 207.7 kB / 470.5 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001532/0.1472, allocations: 1.644 MB / 472.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004898/0.1477, allocations: 324.2 kB / 472.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000565/0.1483, allocations: 402.1 kB / 472.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008049/0.1491, allocations: 0.5138 MB / 473.4 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.619e-05/0.1492, allocations: 28 kB / 473.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.657e-05/0.1493, allocations: 36 kB / 473.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003143/0.1497, allocations: 295.2 kB / 473.7 MB, free: 9.797 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003754/0.15, allocations: 383.8 kB / 474.1 MB, free: 9.414 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006482/0.1507, allocations: 0.6857 MB / 474.8 MB, free: 8.727 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1507, allocations: 0 / 474.8 MB, free: 8.727 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.935e-06/0.1507, allocations: 0 / 474.8 MB, free: 8.727 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.478e-06/0.1507, allocations: 0 / 474.8 MB, free: 8.727 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: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.00189/0.1526, allocations: 1.012 MB / 475.8 MB, free: 7.648 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.1527, allocations: 8.031 kB / 475.8 MB, free: 7.641 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001598/0.1528, allocations: 87.91 kB / 475.9 MB, free: 7.555 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009195/0.1538, allocations: 0.5767 MB / 476.5 MB, free: 6.938 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001242/0.1539, allocations: 116.8 kB / 476.6 MB, free: 6.812 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/0.154, allocations: 63.94 kB / 476.7 MB, free: 6.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001576/0.1556, allocations: 0.8848 MB / 477.5 MB, free: 5.824 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.1556, allocations: 0 / 477.5 MB, free: 5.824 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.058e-05/0.1557, allocations: 24 kB / 477.6 MB, free: 5.801 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001154/0.1559, allocations: 41.28 kB / 477.6 MB, free: 5.758 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001204/0.1571, allocations: 0.6373 MB / 478.2 MB, free: 5.121 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004134/0.1612, allocations: 2.774 MB / 481 MB, free: 2.246 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001757/0.163, allocations: 0.9205 MB / 481.9 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007546/0.1638, allocations: 334.2 kB / 482.3 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.811e-05/0.1638, allocations: 4.328 kB / 482.3 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000754/0.1646, allocations: 362.9 kB / 482.6 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 1.934e-06/0.1646, allocations: 0 / 482.6 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.004616/0.1692, allocations: 2.041 MB / 484.7 MB, free: 14.37 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/0.1693, allocations: 118.8 kB / 484.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007196/0.1701, allocations: 0.5066 MB / 485.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.491e-05/0.1701, allocations: 37.7 kB / 485.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002776/0.1704, allocations: 359.7 kB / 485.7 MB, free: 13.31 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/0.1705, allocations: 142 kB / 485.8 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.695e-05/0.1706, allocations: 61.69 kB / 485.9 MB, free: 13.1 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.1708, allocations: 370.8 kB / 486.2 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003298/0.1711, allocations: 225.1 kB / 486.5 MB, free: 12.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004563/0.1716, allocations: 391 kB / 486.8 MB, free: 12.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008218/0.1724, allocations: 0.6211 MB / 487.5 MB, free: 11.35 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.1724, allocations: 0 / 487.5 MB, free: 11.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001332/0.1737, allocations: 0.8942 MB / 488.4 MB, free: 10.42 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.782e-05/0.1738, allocations: 53.78 kB / 488.4 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.1738, allocations: 4 kB / 488.4 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000329/0.1742, allocations: 89.66 kB / 488.5 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003878/0.1746, allocations: 111.8 kB / 488.6 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002686/0.1773, allocations: 2.981 MB / 491.6 MB, free: 6.906 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003822/0.1777, allocations: 39.97 kB / 491.6 MB, free: 6.867 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.676e-05/0.1778, allocations: 35.98 kB / 491.7 MB, free: 6.832 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 14 (system.initime,dc_ac.modulator.t0,$PRE.dc_ac.modulator.t0,dc_ac.modulator.sigdel_t,$PRE.dc_ac.modulator.sigdel_t,dc_ac.modulator.gates[4],$PRE.dc_ac.modulator.gates[4],dc_ac.modulator.gates[3],$PRE.dc_ac.modulator.gates[3],dc_ac.modulator.gates[2],$PRE.dc_ac.modulator.gates[2],dc_ac.modulator.gates[1],$PRE.dc_ac.modulator.gates[1],$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * 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 {(1,2,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004009/0.1782, allocations: 277.5 kB / 491.9 MB, free: 6.551 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.389e-05/0.1783, allocations: 63.33 kB / 492 MB, free: 6.488 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00156/0.1798, allocations: 0.7199 MB / 492.7 MB, free: 5.738 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.1798, allocations: 4 kB / 492.7 MB, free: 5.734 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.1799, allocations: 11.98 kB / 492.7 MB, free: 5.723 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.1799, allocations: 0 / 492.7 MB, free: 5.723 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002799/0.1827, allocations: 1.563 MB / 494.3 MB, free: 4.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.1827, allocations: 0 / 494.3 MB, free: 4.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002971/0.183, allocations: 67.78 kB / 494.4 MB, free: 4.004 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000321/0.1833, allocations: 101.7 kB / 494.5 MB, free: 3.898 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.357e-05/0.1834, allocations: 15.98 kB / 494.5 MB, free: 3.883 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002486/0.1859, allocations: 2.981 MB / 497.5 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.1859, allocations: 4.031 kB / 497.5 MB, free: 0.625 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002082/0.188, allocations: 1.106 MB / 498.6 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002231/0.1882, allocations: 176.3 kB / 498.7 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.392e-05/0.1883, allocations: 27.98 kB / 498.8 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003901/0.1887, allocations: 43.95 kB / 498.8 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.528e-05/0.1888, allocations: 39.83 kB / 498.9 MB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.194e-05/0.1889, allocations: 15.98 kB / 498.9 MB, free: 15.15 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004198/0.1893, allocations: 354.8 kB / 499.2 MB, free: 14.81 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1893, allocations: 0 / 499.2 MB, free: 14.81 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007436/0.19, allocations: 156 kB / 499.4 MB, free: 14.66 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,meterDC.pav) * Number of discrete variables: 8 ($whenCondition1,dc_ac.modulator.gates[1],dc_ac.modulator.gates[2],dc_ac.modulator.gates[3],dc_ac.modulator.gates[4],dc_ac.modulator.sigdel_t,dc_ac.modulator.t0,system.initime) * Number of discrete states: 6 (dc_ac.modulator.t0,dc_ac.modulator.sigdel_t,dc_ac.modulator.gates[3],dc_ac.modulator.gates[4],dc_ac.modulator.gates[1],dc_ac.modulator.gates[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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,1,100.0%), (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.0001911/0.1902, allocations: 127.2 kB / 499.5 MB, free: 14.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001523/0.1918, allocations: 0.9102 MB / 0.4887 GB, free: 13.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1918, allocations: 4.062 kB / 0.4887 GB, free: 13.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008803/0.1927, allocations: 0.505 MB / 0.4892 GB, free: 13.04 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000866/0.1936, allocations: 153.2 kB / 0.4893 GB, free: 12.89 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002828/0.1964, allocations: 1.913 MB / 0.4912 GB, free: 10.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006263/0.197, allocations: 0.976 MB / 0.4921 GB, free: 9.926 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001337/0.1972, allocations: 47.44 kB / 0.4922 GB, free: 9.879 MB / 382.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1972, allocations: 0 / 0.4922 GB, free: 9.879 MB / 382.1 MB Notification: Performance of Templates: time 0.2617/0.4589, allocations: 13.36 MB / 0.5052 GB, free: 55.64 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.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.AC1ph_DC.Elementary.InverterCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.InverterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.InverterCalcHelperMain.o] Error 1