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.001018/0.001023, allocations: 106.3 kB / 17.16 MB, free: 6.324 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.001009/0.001009, allocations: 202.9 kB / 18.08 MB, free: 5.422 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.325/1.325, allocations: 222.9 MB / 241.7 MB, free: 13.81 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1658/0.1658, allocations: 38.04 MB / 329.9 MB, free: 8.891 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001086/0.001086, allocations: 56.98 kB / 398.7 MB, free: 34.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.125, allocations: 58.06 MB / 456.8 MB, free: 8.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Inverter): time 0.008764/0.1338, allocations: 7.942 MB / 464.7 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003603/0.1375, allocations: 1.765 MB / 466.5 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004993/0.138, allocations: 63.62 kB / 466.6 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003678/0.1384, allocations: 91.31 kB / 466.7 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009532/0.1394, allocations: 394.3 kB / 467 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000479/0.1399, allocations: 215.7 kB / 467.3 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001416/0.1413, allocations: 1.64 MB / 468.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004727/0.1418, allocations: 336.2 kB / 469.2 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000566/0.1424, allocations: 426.1 kB / 469.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007325/0.1431, allocations: 0.5567 MB / 470.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.94e-05/0.1432, allocations: 44 kB / 470.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.1433, allocations: 40 kB / 470.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003033/0.1437, allocations: 307.2 kB / 470.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003876/0.144, allocations: 382.1 kB / 471 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006155/0.1447, allocations: 0.7055 MB / 471.7 MB, free: 9.621 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.1447, allocations: 3.984 kB / 471.7 MB, free: 9.617 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1447, allocations: 0 / 471.7 MB, free: 9.617 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.1447, allocations: 0 / 471.7 MB, free: 9.617 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.002041/0.1468, allocations: 1.149 MB / 472.8 MB, free: 8.402 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.1468, allocations: 8.031 kB / 472.8 MB, free: 8.395 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001555/0.147, allocations: 91.91 kB / 472.9 MB, free: 8.305 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008357/0.1478, allocations: 0.5689 MB / 473.5 MB, free: 7.695 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001118/0.1479, allocations: 120.8 kB / 473.6 MB, free: 7.566 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/0.1481, allocations: 64 kB / 473.7 MB, free: 7.504 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001431/0.1495, allocations: 0.8614 MB / 474.5 MB, free: 6.602 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.1495, allocations: 3.938 kB / 474.5 MB, free: 6.598 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.418e-05/0.1496, allocations: 28 kB / 474.6 MB, free: 6.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001089/0.1497, allocations: 37.28 kB / 474.6 MB, free: 6.531 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001166/0.1509, allocations: 0.6179 MB / 475.2 MB, free: 5.914 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0034/0.1543, allocations: 2.762 MB / 478 MB, free: 3.051 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001612/0.1559, allocations: 0.9048 MB / 478.9 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006871/0.1566, allocations: 324.8 kB / 479.2 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.31e-05/0.1567, allocations: 8.312 kB / 479.2 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006865/0.1574, allocations: 346.6 kB / 479.5 MB, free: 1.371 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 2.124e-06/0.1574, allocations: 0 / 479.5 MB, free: 1.371 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.00398/0.1614, allocations: 1.967 MB / 481.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.414e-05/0.1614, allocations: 122.8 kB / 481.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000547/0.162, allocations: 0.5104 MB / 482.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.611e-05/0.162, allocations: 41.7 kB / 482.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002307/0.1623, allocations: 355.8 kB / 482.5 MB, free: 14.22 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.1624, allocations: 146 kB / 482.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001603/0.1626, allocations: 118.1 kB / 482.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.1627, allocations: 370.8 kB / 483.1 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000322/0.1631, allocations: 221.1 kB / 483.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004194/0.1635, allocations: 398.2 kB / 483.7 MB, free: 12.9 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007567/0.1643, allocations: 0.621 MB / 484.4 MB, free: 12.2 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1643, allocations: 4 kB / 484.4 MB, free: 12.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001286/0.1656, allocations: 0.8978 MB / 485.3 MB, free: 11.26 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.665e-05/0.1656, allocations: 49.69 kB / 485.3 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.1656, allocations: 4 kB / 485.3 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003063/0.166, allocations: 94 kB / 485.4 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003673/0.1663, allocations: 103.8 kB / 485.5 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002568/0.1689, allocations: 2.977 MB / 488.5 MB, free: 7.758 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003538/0.1693, allocations: 39.88 kB / 488.5 MB, free: 7.719 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.285e-05/0.1694, allocations: 43.86 kB / 488.6 MB, free: 7.676 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.0003921/0.1698, allocations: 277.5 kB / 488.8 MB, free: 7.395 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.277e-05/0.1699, allocations: 55.34 kB / 488.9 MB, free: 7.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001428/0.1713, allocations: 0.7003 MB / 489.6 MB, free: 6.609 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.1713, allocations: 4 kB / 489.6 MB, free: 6.605 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.1713, allocations: 4 kB / 489.6 MB, free: 6.602 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.1713, allocations: 3.984 kB / 489.6 MB, free: 6.598 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002428/0.1738, allocations: 1.536 MB / 491.1 MB, free: 4.973 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.1738, allocations: 0 / 491.1 MB, free: 4.973 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002904/0.1741, allocations: 59.91 kB / 491.2 MB, free: 4.914 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002975/0.1744, allocations: 105.5 kB / 491.3 MB, free: 4.805 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.745e-05/0.1744, allocations: 15.98 kB / 491.3 MB, free: 4.789 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002552/0.177, allocations: 2.977 MB / 494.3 MB, free: 1.539 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.177, allocations: 4.031 kB / 494.3 MB, free: 1.535 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002106/0.1791, allocations: 1.055 MB / 495.4 MB, free: 440 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000247/0.1794, allocations: 184.3 kB / 495.5 MB, free: 236 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.511e-05/0.1795, allocations: 23.98 kB / 495.6 MB, free: 212 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003707/0.1799, allocations: 43.94 kB / 495.6 MB, free: 168 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.534e-05/0.18, allocations: 35.89 kB / 495.6 MB, free: 132 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.223e-05/0.18, allocations: 12 kB / 495.7 MB, free: 120 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004242/0.1804, allocations: 362.8 kB / 496 MB, free: 15.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1805, allocations: 0 / 496 MB, free: 15.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006892/0.1812, allocations: 144 kB / 496.1 MB, free: 15.62 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.0001902/0.1813, allocations: 139.2 kB / 496.3 MB, free: 15.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001713/0.1831, allocations: 0.9018 MB / 497.2 MB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.1831, allocations: 0 / 497.2 MB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000859/0.1839, allocations: 0.4978 MB / 497.7 MB, free: 14.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007887/0.1848, allocations: 146.1 kB / 497.8 MB, free: 13.88 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002877/0.1876, allocations: 1.811 MB / 499.6 MB, free: 12.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009036/0.1886, allocations: 0.9682 MB / 0.4889 GB, free: 11.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001331/0.1887, allocations: 43.44 kB / 0.4889 GB, free: 10.98 MB / 382.1 MB Notification: Performance of SimCode: time 1.863e-06/0.1887, allocations: 3.938 kB / 0.4889 GB, free: 10.98 MB / 382.1 MB Notification: Performance of Templates: time 0.01649/0.2052, allocations: 13.44 MB / 0.502 GB, free: 13.56 MB / 398.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