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.0009423/0.0009424, allocations: 109.7 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.0009142/0.0009142, 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.291/1.291, 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.1649/0.1649, allocations: 38.05 MB / 329.9 MB, free: 9.098 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001066/0.001066, allocations: 55.62 kB / 398.7 MB, free: 34.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1178, allocations: 58.06 MB / 456.8 MB, free: 8.566 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier): time 0.008056/0.1259, allocations: 7.098 MB / 463.9 MB, free: 1.43 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003245/0.1292, allocations: 1.663 MB / 465.6 MB, free: 15.76 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003437/0.1296, allocations: 39.75 kB / 465.6 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004691/0.13, allocations: 115.2 kB / 465.7 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007022/0.1308, allocations: 398.3 kB / 466.1 MB, free: 15.22 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000355/0.1312, allocations: 163.8 kB / 466.3 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00129/0.1325, allocations: 1.625 MB / 467.9 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003791/0.1329, allocations: 287 kB / 468.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004703/0.1333, allocations: 394.3 kB / 468.5 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006797/0.134, allocations: 0.5452 MB / 469.1 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.44e-05/0.1341, allocations: 40 kB / 469.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001223/0.1343, allocations: 43.94 kB / 469.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002668/0.1345, allocations: 283.3 kB / 469.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003322/0.1349, allocations: 338.3 kB / 469.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005724/0.1354, allocations: 0.6587 MB / 470.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.81e-06/0.1355, allocations: 0 / 470.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1355, allocations: 4 kB / 470.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.1355, allocations: 4 kB / 470.4 MB, free: 10.86 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.00189/0.1374, allocations: 0.9958 MB / 471.4 MB, free: 9.809 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.1374, allocations: 8.031 kB / 471.5 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001315/0.1376, allocations: 72.09 kB / 471.5 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008762/0.1385, allocations: 0.5457 MB / 472.1 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001555/0.1386, allocations: 120.8 kB / 472.2 MB, free: 9.016 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-05/0.1387, allocations: 56 kB / 472.2 MB, free: 8.961 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001197/0.1399, allocations: 0.7733 MB / 473 MB, free: 8.152 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.1399, allocations: 0 / 473 MB, free: 8.152 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.412e-05/0.14, allocations: 27.94 kB / 473 MB, free: 8.125 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001032/0.1401, allocations: 36.91 kB / 473.1 MB, free: 8.086 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001278/0.1414, allocations: 0.7182 MB / 473.8 MB, free: 7.367 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003424/0.1448, allocations: 2.608 MB / 476.4 MB, free: 4.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001459/0.1463, allocations: 0.8087 MB / 477.2 MB, free: 3.812 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006213/0.147, allocations: 407.3 kB / 477.6 MB, free: 3.402 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.964e-05/0.147, allocations: 8.438 kB / 477.6 MB, free: 3.395 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.147, allocations: 35 kB / 477.7 MB, free: 3.352 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 1.623e-06/0.1471, allocations: 3.938 kB / 477.7 MB, free: 3.348 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.003785/0.1508, allocations: 2.147 MB / 479.8 MB, free: 1.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.222e-05/0.1509, allocations: 81.55 kB / 479.9 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003805/0.1513, allocations: 394 kB / 480.3 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.678e-05/0.1513, allocations: 33.7 kB / 480.3 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001876/0.1515, allocations: 296.4 kB / 480.6 MB, free: 272 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/0.1517, allocations: 177.4 kB / 480.8 MB, free: 92 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001609/0.1518, allocations: 106.1 kB / 480.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.152, allocations: 358.8 kB / 481.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005002/0.1525, allocations: 268.9 kB / 481.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005491/0.153, allocations: 389.1 kB / 481.9 MB, free: 14.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/0.1541, allocations: 0.6498 MB / 482.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1541, allocations: 0 / 482.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001407/0.1555, allocations: 0.8759 MB / 483.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.1555, allocations: 4 kB / 483.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.1556, allocations: 4 kB / 483.4 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002538/0.1558, allocations: 77.61 kB / 483.5 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00135/0.1572, allocations: 311.7 kB / 483.8 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005086/0.1623, allocations: 6.026 MB / 489.8 MB, free: 6.387 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003885/0.1627, allocations: 44.11 kB / 489.8 MB, free: 6.344 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.134e-05/0.1627, allocations: 23.98 kB / 489.9 MB, free: 6.32 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.000338/0.1631, allocations: 238.5 kB / 490.1 MB, free: 6.078 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.198e-05/0.1632, allocations: 47.44 kB / 490.1 MB, free: 6.031 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001392/0.1646, allocations: 0.828 MB / 491 MB, free: 5.168 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.1646, allocations: 8 kB / 491 MB, free: 5.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.1646, allocations: 0 / 491 MB, free: 5.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.1646, allocations: 3.984 kB / 491 MB, free: 5.156 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002524/0.1671, allocations: 1.677 MB / 492.7 MB, free: 3.379 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.1671, allocations: 0 / 492.7 MB, free: 3.379 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001411/0.1686, allocations: 331.7 kB / 493 MB, free: 3.055 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002462/0.1688, allocations: 85.55 kB / 493.1 MB, free: 2.965 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.977e-05/0.1689, allocations: 19.98 kB / 493.1 MB, free: 2.945 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001996/0.1709, allocations: 2.887 MB / 496 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1709, allocations: 4.156 kB / 496 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001958/0.1729, allocations: 1.316 MB / 497.3 MB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.173, allocations: 116.5 kB / 497.4 MB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.674e-05/0.173, allocations: 16.03 kB / 497.4 MB, free: 14.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003222/0.1734, allocations: 39.95 kB / 497.5 MB, free: 14.22 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/0.1735, allocations: 51.81 kB / 497.5 MB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-05/0.1735, allocations: 12 kB / 497.5 MB, free: 14.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002717/0.1738, allocations: 283.1 kB / 497.8 MB, free: 13.89 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1738, allocations: 0 / 497.8 MB, free: 13.89 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006149/0.1744, allocations: 151.9 kB / 498 MB, free: 13.74 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.0001441/0.1746, allocations: 123.2 kB / 498.1 MB, free: 13.61 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002323/0.1769, allocations: 1.077 MB / 499.1 MB, free: 12.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1769, allocations: 0 / 499.1 MB, free: 12.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001724/0.1787, allocations: 0.7902 MB / 499.9 MB, free: 11.69 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007112/0.1794, allocations: 133.5 kB / 0.4883 GB, free: 11.56 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002994/0.1824, allocations: 1.871 MB / 0.4902 GB, free: 9.641 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005104/0.1829, allocations: 0.9408 MB / 0.4911 GB, free: 8.672 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001539/0.1831, allocations: 47.42 kB / 0.4911 GB, free: 8.625 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.1831, allocations: 0 / 0.4911 GB, free: 8.625 MB / 382.1 MB Notification: Performance of Templates: time 0.019/0.2021, allocations: 16.69 MB / 0.5074 GB, free: 7.949 MB / 398.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