Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.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.AC1ph_DC.Elementary.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.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.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.Elementary.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008422/0.0008422, allocations: 90.19 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.0008972/0.0008972, allocations: 183.1 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.439/1.439, allocations: 223.2 MB / 242.2 MB, free: 176 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2201/0.2201, allocations: 38.09 MB / 331.5 MB, free: 8.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003695/0.0003698, allocations: 9.562 kB / 401.4 MB, free: 34.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1432, allocations: 59.16 MB / 460.5 MB, free: 7.062 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier): time 0.008972/0.1523, allocations: 6.948 MB / 467.5 MB, free: 80 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004864/0.1572, allocations: 1.742 MB / 469.2 MB, free: 14.33 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001114/0.1583, allocations: 39.75 kB / 469.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007064/0.1591, allocations: 127.1 kB / 469.4 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001304/0.1604, allocations: 402.3 kB / 469.8 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006682/0.1611, allocations: 187.7 kB / 470 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002167/0.1633, allocations: 1.668 MB / 471.6 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004597/0.1638, allocations: 283 kB / 471.9 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006707/0.1644, allocations: 386.3 kB / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000792/0.1652, allocations: 0.5256 MB / 472.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.913e-05/0.1653, allocations: 32 kB / 472.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.932e-05/0.1654, allocations: 35.94 kB / 472.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002834/0.1657, allocations: 279.2 kB / 473.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003414/0.1661, allocations: 360 kB / 473.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006168/0.1667, allocations: 0.6624 MB / 474.2 MB, free: 9.375 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1667, allocations: 0 / 474.2 MB, free: 9.375 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1667, allocations: 0 / 474.2 MB, free: 9.375 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.1667, allocations: 0 / 474.2 MB, free: 9.375 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.001828/0.1686, allocations: 0.9218 MB / 475.1 MB, free: 8.398 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.1686, allocations: 8.031 kB / 475.1 MB, free: 8.391 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001464/0.1688, allocations: 80.09 kB / 475.2 MB, free: 8.312 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008948/0.1697, allocations: 0.5612 MB / 475.7 MB, free: 7.711 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001805/0.1699, allocations: 124.8 kB / 475.9 MB, free: 7.578 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.876e-05/0.17, allocations: 56 kB / 475.9 MB, free: 7.523 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001375/0.1713, allocations: 0.7928 MB / 476.7 MB, free: 6.695 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.1714, allocations: 0 / 476.7 MB, free: 6.695 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.184e-05/0.1714, allocations: 35.94 kB / 476.7 MB, free: 6.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001112/0.1716, allocations: 36.97 kB / 476.8 MB, free: 6.621 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001386/0.173, allocations: 0.7181 MB / 477.5 MB, free: 5.902 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004188/0.1772, allocations: 2.747 MB / 480.2 MB, free: 3.047 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001879/0.179, allocations: 0.9318 MB / 481.2 MB, free: 2.062 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006109/0.1797, allocations: 345.3 kB / 481.5 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.73e-05/0.1797, allocations: 7.984 kB / 481.5 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.505e-05/0.1798, allocations: 42.5 kB / 481.6 MB, free: 1.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=38): time 2.605e-06/0.1798, allocations: 0 / 481.6 MB, free: 1.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=39): time 0.004093/0.1839, allocations: 2.019 MB / 483.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.546e-05/0.184, allocations: 89.08 kB / 483.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004938/0.1845, allocations: 429.8 kB / 484.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.011e-05/0.1845, allocations: 33.7 kB / 484.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002329/0.1848, allocations: 316.2 kB / 484.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/0.1849, allocations: 130.1 kB / 484.6 MB, free: 14.51 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.038e-05/0.185, allocations: 45.7 kB / 484.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.1851, allocations: 358.8 kB / 484.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000505/0.1856, allocations: 253 kB / 485.2 MB, free: 13.85 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005636/0.1862, allocations: 370.3 kB / 485.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001071/0.1873, allocations: 0.6173 MB / 486.2 MB, free: 12.78 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1873, allocations: 0 / 486.2 MB, free: 12.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001433/0.1887, allocations: 0.8155 MB / 487 MB, free: 11.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.1888, allocations: 8 kB / 487 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/0.1888, allocations: 4 kB / 487 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002602/0.1891, allocations: 77.66 kB / 487.1 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001548/0.1906, allocations: 379.6 kB / 487.4 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006082/0.1967, allocations: 6.162 MB / 493.6 MB, free: 4.773 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000432/0.1972, allocations: 48.11 kB / 493.7 MB, free: 4.727 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.703e-05/0.1972, allocations: 19.94 kB / 493.7 MB, free: 4.707 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (54): * Single equations (assignments): 50 * 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.0003916/0.1976, allocations: 245.6 kB / 493.9 MB, free: 4.457 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.657e-05/0.1977, allocations: 43.44 kB / 494 MB, free: 4.414 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001431/0.1991, allocations: 0.765 MB / 494.7 MB, free: 3.621 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.1992, allocations: 4 kB / 494.7 MB, free: 3.617 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.1992, allocations: 4 kB / 494.7 MB, free: 3.613 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.1992, allocations: 4 kB / 494.7 MB, free: 3.609 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002557/0.2017, allocations: 1.541 MB / 496.3 MB, free: 1.977 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.2018, allocations: 4.031 kB / 496.3 MB, free: 1.973 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001752/0.2035, allocations: 403.6 kB / 496.7 MB, free: 1.578 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002754/0.2038, allocations: 93.56 kB / 496.8 MB, free: 1.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.325e-05/0.2038, allocations: 8 kB / 496.8 MB, free: 1.473 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002304/0.2062, allocations: 2.887 MB / 499.7 MB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.2062, allocations: 7.875 kB / 499.7 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00196/0.2081, allocations: 1.164 MB / 0.4891 GB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000159/0.2083, allocations: 124.5 kB / 0.4892 GB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.315e-05/0.2084, allocations: 8 kB / 0.4892 GB, free: 12.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003449/0.2087, allocations: 47.95 kB / 0.4893 GB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.2089, allocations: 31.95 kB / 0.4893 GB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.861e-05/0.2089, allocations: 11.98 kB / 0.4893 GB, free: 12.85 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003495/0.2093, allocations: 299.1 kB / 0.4896 GB, free: 12.56 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2093, allocations: 0 / 0.4896 GB, free: 12.56 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007111/0.21, allocations: 136 kB / 0.4897 GB, free: 12.43 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: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 36 * 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.0001913/0.2102, allocations: 107.2 kB / 0.4898 GB, free: 12.31 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00297/0.2132, allocations: 1.114 MB / 0.4909 GB, free: 11.17 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.2132, allocations: 0 / 0.4909 GB, free: 11.17 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00204/0.2152, allocations: 0.8144 MB / 0.4917 GB, free: 10.33 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008436/0.2161, allocations: 141.8 kB / 0.4918 GB, free: 10.2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002676/0.2188, allocations: 1.827 MB / 0.4936 GB, free: 8.324 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005657/0.2193, allocations: 0.9406 MB / 0.4945 GB, free: 7.359 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001472/0.2195, allocations: 39.44 kB / 0.4946 GB, free: 7.32 MB / 382.1 MB Notification: Performance of SimCode: time 3.627e-06/0.2195, allocations: 0 / 0.4946 GB, free: 7.32 MB / 382.1 MB Notification: Performance of Templates: time 0.2962/0.5157, allocations: 16.77 MB / 0.511 GB, free: 53.61 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.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.AC1ph_DC.Elementary.RectifierCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.RectifierCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.RectifierCalcHelperMain.o] Error 1