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.0009365/0.0009366, allocations: 103 kB / 17.16 MB, free: 6.32 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.0009032/0.0009031, allocations: 190.9 kB / 18.07 MB, free: 5.414 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.294/1.294, 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.1633/0.1633, allocations: 38.04 MB / 329.9 MB, free: 9.023 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001046/0.001046, allocations: 61.55 kB / 398.7 MB, free: 34.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1224, allocations: 58.06 MB / 456.8 MB, free: 8.555 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier): time 0.008785/0.1312, allocations: 7.378 MB / 464.2 MB, free: 1.137 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003315/0.1346, allocations: 1.757 MB / 465.9 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004181/0.135, allocations: 43.69 kB / 466 MB, free: 15.33 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005414/0.1356, allocations: 127.2 kB / 466.1 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007717/0.1364, allocations: 402.3 kB / 466.5 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004432/0.1369, allocations: 183.8 kB / 466.7 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001411/0.1383, allocations: 1.675 MB / 468.3 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003906/0.1387, allocations: 291 kB / 468.6 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005277/0.1392, allocations: 402.2 kB / 469 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007474/0.14, allocations: 0.553 MB / 469.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.376e-05/0.1401, allocations: 40 kB / 469.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/0.1402, allocations: 40 kB / 469.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002979/0.1405, allocations: 303.1 kB / 470 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003401/0.1409, allocations: 346.3 kB / 470.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006156/0.1415, allocations: 0.682 MB / 471 MB, free: 10.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1415, allocations: 0 / 471 MB, free: 10.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1415, allocations: 0 / 471 MB, free: 10.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.1415, allocations: 0 / 471 MB, free: 10.32 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.001998/0.1435, allocations: 1.023 MB / 472 MB, free: 9.242 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.691e-05/0.1436, allocations: 8.031 kB / 472 MB, free: 9.234 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001514/0.1438, allocations: 80 kB / 472.1 MB, free: 9.156 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009012/0.1447, allocations: 0.5573 MB / 472.6 MB, free: 8.559 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001479/0.1448, allocations: 120.8 kB / 472.8 MB, free: 8.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.742e-05/0.1449, allocations: 52 kB / 472.8 MB, free: 8.379 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/0.1462, allocations: 0.7811 MB / 473.6 MB, free: 7.562 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.1462, allocations: 0 / 473.6 MB, free: 7.562 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.765e-05/0.1462, allocations: 28 kB / 473.6 MB, free: 7.535 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001082/0.1464, allocations: 40.91 kB / 473.7 MB, free: 7.492 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001232/0.1476, allocations: 0.6908 MB / 474.3 MB, free: 6.801 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.003732/0.1513, allocations: 2.7 MB / 477 MB, free: 3.992 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001647/0.153, allocations: 0.8827 MB / 477.9 MB, free: 3.055 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005464/0.1536, allocations: 329.3 kB / 478.3 MB, free: 2.727 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.978e-05/0.1536, allocations: 7.984 kB / 478.3 MB, free: 2.719 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/0.1536, allocations: 34.56 kB / 478.3 MB, free: 2.676 MB / 350.1 MB Notification: Performance of pre-optimization done (n=38): time 2.134e-06/0.1537, allocations: 0 / 478.3 MB, free: 2.676 MB / 350.1 MB Notification: Performance of matching and sorting (n=39): time 0.003677/0.1573, allocations: 1.941 MB / 480.2 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.19e-05/0.1574, allocations: 89.03 kB / 480.3 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004414/0.1579, allocations: 417.9 kB / 480.7 MB, free: 100 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.675e-05/0.1579, allocations: 33.7 kB / 480.8 MB, free: 60 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002413/0.1582, allocations: 316.2 kB / 481.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.1583, allocations: 138 kB / 481.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001382/0.1584, allocations: 82.25 kB / 481.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.1586, allocations: 366.8 kB / 481.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004452/0.159, allocations: 233 kB / 481.9 MB, free: 14.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005018/0.1595, allocations: 354.2 kB / 482.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009148/0.1605, allocations: 0.5744 MB / 482.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.1605, allocations: 0 / 482.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001273/0.1618, allocations: 0.7919 MB / 483.6 MB, free: 13.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.1618, allocations: 11.94 kB / 483.6 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.1618, allocations: 11.92 kB / 483.6 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000253/0.1621, allocations: 69.67 kB / 483.7 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001271/0.1634, allocations: 291.8 kB / 484 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005191/0.1686, allocations: 6.01 MB / 490 MB, free: 6.168 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000371/0.1689, allocations: 44.02 kB / 490 MB, free: 6.125 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.829e-05/0.169, allocations: 19.94 kB / 490 MB, free: 6.105 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.0003434/0.1693, allocations: 244.4 kB / 490.3 MB, free: 5.859 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.89e-05/0.1694, allocations: 47.42 kB / 490.3 MB, free: 5.812 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001232/0.1707, allocations: 0.7257 MB / 491 MB, free: 5.059 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.1707, allocations: 4 kB / 491 MB, free: 5.055 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.1707, allocations: 8 kB / 491.1 MB, free: 5.047 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.1707, allocations: 7.984 kB / 491.1 MB, free: 5.039 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002231/0.1729, allocations: 1.494 MB / 492.6 MB, free: 3.453 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.173, allocations: 4 kB / 492.6 MB, free: 3.449 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001383/0.1743, allocations: 303.6 kB / 492.9 MB, free: 3.152 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002371/0.1746, allocations: 81.64 kB / 492.9 MB, free: 3.066 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.787e-05/0.1746, allocations: 11.98 kB / 492.9 MB, free: 3.055 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002047/0.1767, allocations: 2.879 MB / 495.8 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.1767, allocations: 7.969 kB / 495.8 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001698/0.1784, allocations: 1.117 MB / 497 MB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.1785, allocations: 128.4 kB / 497.1 MB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.408e-05/0.1786, allocations: 8 kB / 497.1 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002997/0.1789, allocations: 31.97 kB / 497.1 MB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/0.179, allocations: 39.94 kB / 497.2 MB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-05/0.1791, allocations: 8 kB / 497.2 MB, free: 14.49 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003311/0.1794, allocations: 299.1 kB / 497.5 MB, free: 14.2 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1794, allocations: 0 / 497.5 MB, free: 14.2 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006101/0.18, allocations: 136 kB / 497.6 MB, free: 14.07 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.0001563/0.1802, allocations: 129.7 kB / 497.7 MB, free: 13.94 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002364/0.1826, allocations: 0.981 MB / 498.7 MB, free: 12.93 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1826, allocations: 0 / 498.7 MB, free: 12.93 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001668/0.1843, allocations: 0.7168 MB / 499.4 MB, free: 12.19 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007532/0.185, allocations: 144.4 kB / 499.6 MB, free: 12.05 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002334/0.1874, allocations: 1.717 MB / 0.4895 GB, free: 10.29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004915/0.1879, allocations: 0.9406 MB / 0.4904 GB, free: 9.328 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/0.188, allocations: 39.44 kB / 0.4905 GB, free: 9.293 MB / 382.1 MB Notification: Performance of SimCode: time 5.91e-07/0.188, allocations: 0 / 0.4905 GB, free: 9.293 MB / 382.1 MB Notification: Performance of Templates: time 0.01772/0.2058, allocations: 16.83 MB / 0.5069 GB, free: 8.477 MB / 398.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