Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.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.Elementary.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="Time|meterAC.i.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p.1.|meterAC.p.2.|meterAC.p.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC3ph.Elementary.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="Time|meterAC.i.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p.1.|meterAC.p.2.|meterAC.p.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009765/0.0009765, allocations: 110.3 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.0009353/0.0009353, 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.362/1.362, allocations: 222.9 MB / 241.7 MB, free: 15.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1645/0.1645, allocations: 38.04 MB / 329.9 MB, free: 9.098 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001106/0.001106, allocations: 54.75 kB / 398.7 MB, free: 34.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1279, allocations: 58.06 MB / 456.8 MB, free: 8.562 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.01047/0.1385, allocations: 7.809 MB / 464.6 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00487/0.1434, allocations: 2.481 MB / 467.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001188/0.1446, allocations: 43.75 kB / 467.1 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002087/0.1468, allocations: 492 kB / 467.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002229/0.149, allocations: 0.5136 MB / 468.1 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001154/0.1502, allocations: 331.5 kB / 468.4 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002339/0.1526, allocations: 1.844 MB / 470.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00116/0.1537, allocations: 0.6346 MB / 470.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00105/0.1548, allocations: 470.1 kB / 471.4 MB, free: 9.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001165/0.156, allocations: 0.701 MB / 472.1 MB, free: 9.207 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001357/0.1561, allocations: 60 kB / 472.1 MB, free: 9.148 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000973/0.1571, allocations: 0.5186 MB / 472.7 MB, free: 8.629 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004144/0.1576, allocations: 427 kB / 473.1 MB, free: 8.211 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005023/0.1581, allocations: 485.6 kB / 473.6 MB, free: 7.734 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009594/0.159, allocations: 1.126 MB / 474.7 MB, free: 6.605 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.159, allocations: 0 / 474.7 MB, free: 6.605 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1591, allocations: 0 / 474.7 MB, free: 6.605 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.1591, allocations: 4 kB / 474.7 MB, free: 6.602 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002681/0.1618, allocations: 1.352 MB / 476 MB, free: 5.195 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.1618, allocations: 8.031 kB / 476 MB, free: 5.188 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007291/0.1626, allocations: 147.7 kB / 476.2 MB, free: 5.043 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001085/0.1637, allocations: 0.6553 MB / 476.8 MB, free: 4.348 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002424/0.1639, allocations: 175.6 kB / 477 MB, free: 4.156 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002089/0.1641, allocations: 99.91 kB / 477.1 MB, free: 4.059 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002052/0.1662, allocations: 1.354 MB / 478.5 MB, free: 2.641 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.33e-05/0.1662, allocations: 4 kB / 478.5 MB, free: 2.637 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.27e-05/0.1663, allocations: 39.98 kB / 478.5 MB, free: 2.598 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001501/0.1665, allocations: 61.97 kB / 478.6 MB, free: 2.535 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0022/0.1687, allocations: 1.304 MB / 479.9 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006293/0.175, allocations: 4.908 MB / 484.8 MB, free: 12.16 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002002/0.177, allocations: 1.141 MB / 485.9 MB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001025/0.1781, allocations: 0.627 MB / 486.6 MB, free: 10.35 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.937e-05/0.1781, allocations: 16.55 kB / 486.6 MB, free: 10.33 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.1782, allocations: 35.12 kB / 486.6 MB, free: 10.29 MB / 366.1 MB Notification: Performance of pre-optimization done (n=72): time 2.514e-06/0.1782, allocations: 0 / 486.6 MB, free: 10.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.005507/0.1837, allocations: 3.179 MB / 489.8 MB, free: 7.016 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.108e-05/0.1838, allocations: 81.67 kB / 489.9 MB, free: 6.918 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004713/0.1842, allocations: 465.9 kB / 490.3 MB, free: 6.449 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.522e-05/0.1843, allocations: 41.69 kB / 490.4 MB, free: 6.402 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00024/0.1846, allocations: 391.3 kB / 490.7 MB, free: 6.012 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002031/0.1848, allocations: 260.3 kB / 491 MB, free: 5.754 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002324/0.185, allocations: 146.6 kB / 491.1 MB, free: 5.605 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.1852, allocations: 374.8 kB / 491.5 MB, free: 5.23 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008522/0.186, allocations: 0.4937 MB / 492 MB, free: 4.734 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009564/0.187, allocations: 0.692 MB / 492.7 MB, free: 3.965 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001812/0.1888, allocations: 1.22 MB / 493.9 MB, free: 2.672 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.1888, allocations: 7.875 kB / 493.9 MB, free: 2.664 MB / 366.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004046/0.1929, allocations: 1.982 MB / 495.9 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/0.1929, allocations: 8 kB / 495.9 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003491/0.1964, allocations: 1.715 MB / 497.6 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001685/0.1981, allocations: 0.6495 MB / 498.3 MB, free: 14.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005528/0.1987, allocations: 155.7 kB / 498.4 MB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009845/0.2085, allocations: 6.75 MB / 0.4933 GB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007462/0.2093, allocations: 75.91 kB / 0.4934 GB, free: 7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.198e-05/0.2094, allocations: 24 kB / 0.4934 GB, free: 6.977 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (76): * Single equations (assignments): 73 * Array equations: 1 * Algorithm blocks: 0 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0005244/0.2099, allocations: 321.5 kB / 0.4937 GB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001789/0.2101, allocations: 63.34 kB / 0.4938 GB, free: 6.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002274/0.2124, allocations: 1.297 MB / 0.4951 GB, free: 5.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.036e-05/0.2124, allocations: 15.94 kB / 0.4951 GB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.2124, allocations: 0 / 0.4951 GB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.948e-06/0.2124, allocations: 7.922 kB / 0.4951 GB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003682/0.2161, allocations: 2.406 MB / 0.4974 GB, free: 2.746 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.2161, allocations: 0 / 0.4974 GB, free: 2.746 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002381/0.2185, allocations: 0.4916 MB / 0.4979 GB, free: 2.254 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001112/0.2187, allocations: 36.83 kB / 0.4979 GB, free: 2.215 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.925e-05/0.2187, allocations: 16 kB / 0.498 GB, free: 2.199 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001105/0.2198, allocations: 1.474 MB / 0.4994 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.2199, allocations: 0 / 0.4994 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003068/0.2229, allocations: 2.02 MB / 0.5014 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/0.2231, allocations: 136.3 kB / 0.5015 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001063/0.2232, allocations: 12 kB / 0.5015 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005048/0.2237, allocations: 59.92 kB / 0.5016 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001908/0.2239, allocations: 68.39 kB / 0.5016 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.997e-05/0.224, allocations: 16 kB / 0.5017 GB, free: 14.22 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003574/0.2243, allocations: 322.9 kB / 0.502 GB, free: 13.91 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2243, allocations: 0 / 0.502 GB, free: 13.91 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009788/0.2253, allocations: 232 kB / 0.5022 GB, free: 13.68 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (67): * Single equations (assignments): 64 * Array equations: 1 * 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.0002807/0.2256, allocations: 131.2 kB / 0.5023 GB, free: 13.54 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002851/0.2285, allocations: 1.551 MB / 0.5038 GB, free: 11.96 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2285, allocations: 0 / 0.5038 GB, free: 11.96 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002397/0.2309, allocations: 0.9939 MB / 0.5048 GB, free: 10.95 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008584/0.2317, allocations: 145.8 kB / 0.5049 GB, free: 10.81 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004579/0.2363, allocations: 2.719 MB / 0.5076 GB, free: 8.035 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008485/0.2372, allocations: 1.071 MB / 0.5086 GB, free: 6.938 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002644/0.2375, allocations: 59.42 kB / 0.5087 GB, free: 6.879 MB / 398.1 MB Notification: Performance of SimCode: time 9.31e-07/0.2375, allocations: 0 / 0.5087 GB, free: 6.879 MB / 398.1 MB Notification: Performance of Templates: time 0.2374/0.4749, allocations: 20.14 MB / 0.5284 GB, free: 67.32 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.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.Elementary.RectifierCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.RectifierCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.RectifierCalcHelperMain.o] Error 1