Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.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.AC1ph_DC.Inverters.Rectifier,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.Rectifier") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier,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.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007811/0.000781, allocations: 93.33 kB / 17.31 MB, free: 6.535 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.0008857/0.0008857, allocations: 175.3 kB / 18.21 MB, free: 5.684 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.489/1.489, allocations: 223.3 MB / 242.2 MB, free: 240 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1983/0.1983, allocations: 38.08 MB / 331.4 MB, free: 8.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003789/0.000379, allocations: 8.531 kB / 401.4 MB, free: 34.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.127, allocations: 59.17 MB / 460.5 MB, free: 7.078 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier): time 0.007667/0.1347, allocations: 6.656 MB / 467.2 MB, free: 396 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003657/0.1384, allocations: 1.656 MB / 468.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005522/0.139, allocations: 35.75 kB / 468.9 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005103/0.1395, allocations: 119.2 kB / 469 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009339/0.1404, allocations: 394.3 kB / 469.4 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004832/0.1409, allocations: 163.8 kB / 469.5 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001563/0.1425, allocations: 1.625 MB / 471.2 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00043/0.1429, allocations: 279 kB / 471.4 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005869/0.1435, allocations: 382.3 kB / 471.8 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008012/0.1444, allocations: 0.514 MB / 472.3 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.536e-05/0.1444, allocations: 35.94 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.1445, allocations: 32 kB / 472.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002709/0.1448, allocations: 267.2 kB / 472.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003444/0.1452, allocations: 348.1 kB / 473 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005776/0.1458, allocations: 0.6351 MB / 473.6 MB, free: 9.926 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1458, allocations: 0 / 473.6 MB, free: 9.926 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.1458, allocations: 0 / 473.6 MB, free: 9.926 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.1458, allocations: 0 / 473.6 MB, free: 9.926 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.001826/0.1476, allocations: 0.9062 MB / 474.5 MB, free: 8.965 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.1477, allocations: 8.031 kB / 474.5 MB, free: 8.957 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000135/0.1478, allocations: 68.19 kB / 474.6 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009514/0.1488, allocations: 0.5496 MB / 475.2 MB, free: 8.301 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001841/0.149, allocations: 124.8 kB / 475.3 MB, free: 8.168 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.892e-05/0.1491, allocations: 56 kB / 475.3 MB, free: 8.113 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001363/0.1505, allocations: 0.7928 MB / 476.1 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.1505, allocations: 0 / 476.1 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.606e-05/0.1506, allocations: 24 kB / 476.1 MB, free: 7.262 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000119/0.1507, allocations: 40.91 kB / 476.2 MB, free: 7.219 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001438/0.1521, allocations: 0.7572 MB / 476.9 MB, free: 6.461 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00472/0.1569, allocations: 2.62 MB / 479.6 MB, free: 3.742 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001857/0.1588, allocations: 0.8529 MB / 480.4 MB, free: 2.852 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007407/0.1595, allocations: 423.3 kB / 480.8 MB, free: 2.426 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.882e-05/0.1596, allocations: 4.438 kB / 480.8 MB, free: 2.422 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.731e-05/0.1597, allocations: 42.94 kB / 480.9 MB, free: 2.371 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 3.166e-06/0.1597, allocations: 4 kB / 480.9 MB, free: 2.367 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.004603/0.1643, allocations: 2.229 MB / 483.1 MB, free: 28 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.653e-05/0.1644, allocations: 81.55 kB / 483.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004743/0.1649, allocations: 398 kB / 483.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.4e-05/0.1649, allocations: 33.69 kB / 483.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002037/0.1651, allocations: 288.5 kB / 483.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001423/0.1653, allocations: 177.4 kB / 484.1 MB, free: 15.03 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.255e-05/0.1654, allocations: 53.7 kB / 484.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.1655, allocations: 358.8 kB / 484.5 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005601/0.1661, allocations: 293 kB / 484.8 MB, free: 14.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006211/0.1667, allocations: 400.5 kB / 485.1 MB, free: 13.9 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001216/0.168, allocations: 0.6889 MB / 485.8 MB, free: 13.17 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.168, allocations: 0 / 485.8 MB, free: 13.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001667/0.1696, allocations: 0.8993 MB / 486.7 MB, free: 12.24 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.733e-05/0.1697, allocations: 8 kB / 486.7 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.1697, allocations: 8.156 kB / 486.8 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002915/0.17, allocations: 73.66 kB / 486.8 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001702/0.1717, allocations: 403.5 kB / 487.2 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006222/0.1779, allocations: 6.182 MB / 493.4 MB, free: 5.035 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005798/0.1786, allocations: 52.11 kB / 493.5 MB, free: 4.984 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.025e-05/0.1786, allocations: 16 kB / 493.5 MB, free: 4.969 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: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004475/0.1791, allocations: 242.5 kB / 493.7 MB, free: 4.723 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.1792, allocations: 47.44 kB / 493.7 MB, free: 4.676 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001627/0.1808, allocations: 0.8632 MB / 494.6 MB, free: 3.777 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.1808, allocations: 8 kB / 494.6 MB, free: 3.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.1809, allocations: 0 / 494.6 MB, free: 3.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/0.1809, allocations: 7.922 kB / 494.6 MB, free: 3.762 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002847/0.1837, allocations: 1.716 MB / 496.3 MB, free: 1.945 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.1837, allocations: 4.031 kB / 496.3 MB, free: 1.941 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001828/0.1856, allocations: 419.6 kB / 496.8 MB, free: 1.531 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002949/0.1859, allocations: 101.5 kB / 496.9 MB, free: 1.426 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.149e-05/0.1859, allocations: 15.98 kB / 496.9 MB, free: 1.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002279/0.1882, allocations: 2.887 MB / 499.8 MB, free: 14.26 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.1882, allocations: 4.031 kB / 499.8 MB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002295/0.1905, allocations: 1.371 MB / 0.4894 GB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000195/0.1908, allocations: 116.5 kB / 0.4895 GB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.755e-05/0.1908, allocations: 16 kB / 0.4895 GB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000383/0.1912, allocations: 43.95 kB / 0.4896 GB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001539/0.1914, allocations: 55.8 kB / 0.4896 GB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.418e-05/0.1914, allocations: 16 kB / 0.4896 GB, free: 12.56 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003501/0.1918, allocations: 279.1 kB / 0.4899 GB, free: 12.29 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1918, allocations: 0 / 0.4899 GB, free: 12.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007517/0.1926, allocations: 148 kB / 0.49 GB, free: 12.14 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,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 (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002211/0.1928, allocations: 107.2 kB / 0.4901 GB, free: 12.03 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002969/0.1958, allocations: 1.206 MB / 0.4913 GB, free: 10.8 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.1958, allocations: 8.062 kB / 0.4913 GB, free: 10.79 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002069/0.1979, allocations: 0.8836 MB / 0.4922 GB, free: 9.879 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009879/0.1989, allocations: 137.4 kB / 0.4923 GB, free: 9.746 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003462/0.2023, allocations: 1.971 MB / 0.4942 GB, free: 7.723 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005638/0.2029, allocations: 0.9447 MB / 0.4952 GB, free: 6.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001704/0.2031, allocations: 47.42 kB / 0.4952 GB, free: 6.703 MB / 382.1 MB Notification: Performance of SimCode: time 8.32e-07/0.2031, allocations: 0 / 0.4952 GB, free: 6.703 MB / 382.1 MB Notification: Performance of Templates: time 0.2701/0.4732, allocations: 16.62 MB / 0.5114 GB, free: 53.32 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.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.AC1ph_DC.Inverters.RectifierCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.RectifierCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.RectifierCalcHelperMain.o] Error 1