Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.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.Inverters.InverterToLoad,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.Inverters.InverterToLoad") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad,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.Inverters.InverterToLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001476/0.001476, allocations: 105.2 kB / 17.16 MB, free: 6.082 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.00171/0.00171, allocations: 198.9 kB / 18.08 MB, free: 5.285 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.382/1.382, allocations: 222.9 MB / 241.7 MB, free: 13.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1696/0.1696, allocations: 38.02 MB / 329.9 MB, free: 8.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001049/0.001049, allocations: 59.83 kB / 398.7 MB, free: 34.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1404, allocations: 58.06 MB / 456.8 MB, free: 8.484 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad): time 0.008844/0.1493, allocations: 7.019 MB / 463.8 MB, free: 1.426 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003706/0.1531, allocations: 1.866 MB / 465.7 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004314/0.1535, allocations: 47.69 kB / 465.7 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005181/0.1541, allocations: 115.2 kB / 465.8 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007222/0.1549, allocations: 338.5 kB / 466.2 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005838/0.1554, allocations: 275.7 kB / 466.4 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00154/0.157, allocations: 1.66 MB / 468.1 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004131/0.1574, allocations: 315 kB / 468.4 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000582/0.158, allocations: 462.2 kB / 468.9 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006982/0.1587, allocations: 0.553 MB / 469.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.964e-05/0.1588, allocations: 48 kB / 469.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001423/0.159, allocations: 48 kB / 469.5 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003191/0.1593, allocations: 307.2 kB / 469.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003792/0.1597, allocations: 378.3 kB / 470.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007053/0.1604, allocations: 0.8225 MB / 471 MB, free: 10.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1604, allocations: 0 / 471 MB, free: 10.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.1604, allocations: 0 / 471 MB, free: 10.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.766e-06/0.1604, allocations: 4 kB / 471 MB, free: 10.22 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.002641/0.1631, allocations: 1.192 MB / 472.2 MB, free: 8.965 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.1631, allocations: 12.03 kB / 472.2 MB, free: 8.953 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001743/0.1633, allocations: 80.09 kB / 472.3 MB, free: 8.875 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001132/0.1645, allocations: 0.6315 MB / 472.9 MB, free: 8.203 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000408/0.1649, allocations: 335.4 kB / 473.2 MB, free: 7.824 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/0.165, allocations: 59.94 kB / 473.3 MB, free: 7.766 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00206/0.1671, allocations: 1.046 MB / 474.3 MB, free: 6.688 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.1671, allocations: 7.938 kB / 474.4 MB, free: 6.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.322e-05/0.1672, allocations: 24 kB / 474.4 MB, free: 6.656 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.548e-05/0.1672, allocations: 16 kB / 474.4 MB, free: 6.641 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002369/0.1696, allocations: 1.089 MB / 475.5 MB, free: 5.547 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004548/0.1741, allocations: 3.201 MB / 478.7 MB, free: 2.246 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001929/0.1761, allocations: 0.7451 MB / 479.4 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001318/0.1774, allocations: 0.5326 MB / 480 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.734e-05/0.1775, allocations: 12.44 kB / 480 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001437/0.1789, allocations: 0.6186 MB / 480.6 MB, free: 292 kB / 350.1 MB Notification: Performance of pre-optimization done (n=49): time 2.876e-06/0.1789, allocations: 0 / 480.6 MB, free: 292 kB / 350.1 MB Notification: Performance of matching and sorting (n=49): time 0.003591/0.1825, allocations: 1.371 MB / 482 MB, free: 14.91 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.32e-05/0.1826, allocations: 140.5 kB / 482.1 MB, free: 14.74 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004445/0.1831, allocations: 385.9 kB / 482.5 MB, free: 14.36 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.371e-05/0.1832, allocations: 37.7 kB / 482.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002279/0.1834, allocations: 304.2 kB / 482.8 MB, free: 14.01 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001465/0.1836, allocations: 157.8 kB / 483 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002075/0.1838, allocations: 118.1 kB / 483.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.1839, allocations: 362.8 kB / 483.4 MB, free: 13.37 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009423/0.1849, allocations: 456.9 kB / 483.9 MB, free: 12.92 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009969/0.1859, allocations: 0.5561 MB / 484.4 MB, free: 12.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0018/0.1877, allocations: 0.8818 MB / 485.3 MB, free: 11.39 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.1877, allocations: 0 / 485.3 MB, free: 11.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002195/0.1899, allocations: 1.089 MB / 486.4 MB, free: 10.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.32e-05/0.19, allocations: 53.62 kB / 486.5 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.188e-06/0.19, allocations: 0 / 486.5 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.42e-05/0.1901, allocations: 8 kB / 486.5 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005083/0.1952, allocations: 1.104 MB / 487.6 MB, free: 9.121 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007009/0.2022, allocations: 4.391 MB / 492 MB, free: 4.465 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007808/0.203, allocations: 115.3 kB / 492.1 MB, free: 4.352 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-05/0.2031, allocations: 39.91 kB / 492.1 MB, free: 4.312 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 14 (inverter.modulator.t0,$PRE.inverter.modulator.t0,inverter.modulator.sigdel_t,$PRE.inverter.modulator.sigdel_t,inverter.modulator.gates[4],$PRE.inverter.modulator.gates[4],inverter.modulator.gates[3],$PRE.inverter.modulator.gates[3],inverter.modulator.gates[2],$PRE.inverter.modulator.gates[2],inverter.modulator.gates[1],$PRE.inverter.modulator.gates[1],system.initime,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000467/0.2036, allocations: 255.4 kB / 492.4 MB, free: 4.051 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.2037, allocations: 47.42 kB / 492.4 MB, free: 4.004 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002499/0.2062, allocations: 0.981 MB / 493.4 MB, free: 3.016 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.2062, allocations: 8 kB / 493.4 MB, free: 3.008 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.2062, allocations: 0 / 493.4 MB, free: 3.008 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/0.2062, allocations: 7.922 kB / 493.4 MB, free: 3 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004043/0.2103, allocations: 2.136 MB / 495.5 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.2103, allocations: 4.031 kB / 495.5 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006351/0.2166, allocations: 1.279 MB / 496.8 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.675e-05/0.2167, allocations: 8 kB / 496.8 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.434e-05/0.2168, allocations: 15.98 kB / 496.9 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.949e-05/0.2168, allocations: 4 kB / 496.9 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.2168, allocations: 0 / 496.9 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00411/0.2209, allocations: 1.699 MB / 498.6 MB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004578/0.2214, allocations: 204.4 kB / 498.8 MB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001756/0.2216, allocations: 27.98 kB / 498.8 MB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007703/0.2224, allocations: 91.88 kB / 498.9 MB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002772/0.2227, allocations: 87.84 kB / 499 MB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.35e-05/0.2227, allocations: 24.02 kB / 499 MB, free: 13.29 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005075/0.2232, allocations: 263.2 kB / 499.2 MB, free: 13.03 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.2233, allocations: 11.94 kB / 499.2 MB, free: 13.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001042/0.2243, allocations: 183.6 kB / 499.4 MB, free: 12.84 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (meterDC.pav,meterAC.pav,ind.i) * Number of discrete variables: 8 ($whenCondition1,system.initime,inverter.modulator.gates[1],inverter.modulator.gates[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.sigdel_t,inverter.modulator.t0) * Number of discrete states: 6 (inverter.modulator.t0,inverter.modulator.sigdel_t,inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.gates[1],inverter.modulator.gates[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003539/0.2247, allocations: 134 kB / 499.6 MB, free: 12.7 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007394/0.2321, allocations: 2.07 MB / 0.4899 GB, free: 10.62 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/0.2321, allocations: 0 / 0.4899 GB, free: 10.62 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003272/0.2354, allocations: 0.937 MB / 0.4908 GB, free: 9.684 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009445/0.2364, allocations: 129.5 kB / 0.4909 GB, free: 9.555 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004066/0.2404, allocations: 1.881 MB / 0.4927 GB, free: 7.625 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006364/0.2411, allocations: 0.9293 MB / 0.4937 GB, free: 6.672 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000259/0.2414, allocations: 43.44 kB / 0.4937 GB, free: 6.629 MB / 382.1 MB Notification: Performance of SimCode: time 2.304e-06/0.2414, allocations: 0 / 0.4937 GB, free: 6.629 MB / 382.1 MB Notification: Performance of Templates: time 0.2108/0.4522, allocations: 11.38 MB / 0.5048 GB, free: 56.88 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.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.Inverters.InverterToLoadCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoadCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoadCalcHelperMain.o] Error 1