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.0009369/0.0009368, allocations: 91.8 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.001116/0.001116, allocations: 175.3 kB / 18.21 MB, free: 5.68 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.467/1.467, allocations: 223.3 MB / 242.2 MB, free: 14.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1854/0.1854, allocations: 38.09 MB / 331.5 MB, free: 8.52 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003434/0.0003434, allocations: 10.84 kB / 401.4 MB, free: 34.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1192, allocations: 59.17 MB / 460.5 MB, free: 7.043 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.008068/0.1273, allocations: 7.365 MB / 467.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004595/0.1319, allocations: 2.442 MB / 470.3 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006055/0.1326, allocations: 43.69 kB / 470.4 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005629/0.1332, allocations: 151 kB / 470.5 MB, free: 13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001231/0.1344, allocations: 0.498 MB / 471 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008391/0.1353, allocations: 335.4 kB / 471.4 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001764/0.137, allocations: 1.844 MB / 473.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001596/0.1386, allocations: 0.9549 MB / 474.2 MB, free: 9.328 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008298/0.1395, allocations: 434.1 kB / 474.6 MB, free: 8.902 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009611/0.1405, allocations: 0.6659 MB / 475.2 MB, free: 8.234 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.584e-05/0.1406, allocations: 48 kB / 475.3 MB, free: 8.188 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009142/0.1415, allocations: 0.4991 MB / 475.8 MB, free: 7.688 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004057/0.1419, allocations: 403 kB / 476.2 MB, free: 7.293 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004967/0.1424, allocations: 491.3 kB / 476.7 MB, free: 6.805 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001028/0.1434, allocations: 1.103 MB / 477.8 MB, free: 5.699 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.1435, allocations: 4 kB / 477.8 MB, free: 5.695 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1435, allocations: 3.938 kB / 477.8 MB, free: 5.691 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.234e-05/0.1435, allocations: 4 kB / 477.8 MB, free: 5.688 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.002521/0.146, allocations: 1.184 MB / 479 MB, free: 4.449 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/0.1461, allocations: 8.031 kB / 479 MB, free: 4.441 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007747/0.1469, allocations: 155.7 kB / 479.1 MB, free: 4.289 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001268/0.1481, allocations: 0.6552 MB / 479.8 MB, free: 3.594 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002771/0.1484, allocations: 191.6 kB / 480 MB, free: 3.387 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002438/0.1487, allocations: 91.84 kB / 480.1 MB, free: 3.297 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002333/0.151, allocations: 1.382 MB / 481.4 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.963e-05/0.1511, allocations: 4 kB / 481.4 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.55e-05/0.1512, allocations: 36 kB / 481.5 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001538/0.1513, allocations: 65.91 kB / 481.5 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002381/0.1537, allocations: 1.343 MB / 482.9 MB, free: 416 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007019/0.1607, allocations: 4.97 MB / 487.9 MB, free: 11.27 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002299/0.1631, allocations: 1.219 MB / 489.1 MB, free: 10.01 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001164/0.1643, allocations: 0.6438 MB / 489.7 MB, free: 9.359 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.807e-05/0.1643, allocations: 12.55 kB / 489.7 MB, free: 9.348 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.671e-05/0.1644, allocations: 39.12 kB / 489.8 MB, free: 9.301 MB / 366.1 MB Notification: Performance of pre-optimization done (n=72): time 3.356e-06/0.1644, allocations: 0 / 489.8 MB, free: 9.301 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.006078/0.1705, allocations: 3.3 MB / 493.1 MB, free: 5.906 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.904e-05/0.1706, allocations: 85.67 kB / 493.2 MB, free: 5.805 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005503/0.1711, allocations: 469.9 kB / 493.6 MB, free: 5.332 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.193e-05/0.1712, allocations: 37.7 kB / 493.6 MB, free: 5.289 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002806/0.1715, allocations: 399.2 kB / 494 MB, free: 4.891 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002108/0.1717, allocations: 264.2 kB / 494.3 MB, free: 4.629 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/0.1718, allocations: 69.69 kB / 494.4 MB, free: 4.555 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.172, allocations: 374.8 kB / 494.7 MB, free: 4.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009647/0.173, allocations: 0.5211 MB / 495.2 MB, free: 3.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001028/0.174, allocations: 0.7115 MB / 496 MB, free: 2.871 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002001/0.176, allocations: 1.267 MB / 497.2 MB, free: 1.531 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.176, allocations: 3.938 kB / 497.2 MB, free: 1.527 MB / 366.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004635/0.1807, allocations: 2.134 MB / 499.4 MB, free: 15.36 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.583e-05/0.1807, allocations: 11.98 kB / 499.4 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00395/0.1847, allocations: 1.863 MB / 0.4895 GB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001827/0.1865, allocations: 0.6964 MB / 0.4902 GB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006062/0.1871, allocations: 159.7 kB / 0.4903 GB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01155/0.1987, allocations: 7.075 MB / 0.4972 GB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008799/0.1996, allocations: 88 kB / 0.4973 GB, free: 5.168 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.069e-05/0.1997, allocations: 32 kB / 0.4973 GB, free: 5.137 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.0005866/0.2003, allocations: 313.5 kB / 0.4976 GB, free: 4.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001697/0.2005, allocations: 63.25 kB / 0.4977 GB, free: 4.758 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0025/0.203, allocations: 1.34 MB / 0.499 GB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.636e-05/0.203, allocations: 20 kB / 0.499 GB, free: 3.371 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.203, allocations: 4 kB / 0.499 GB, free: 3.367 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.338e-05/0.203, allocations: 7.922 kB / 0.499 GB, free: 3.359 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004222/0.2073, allocations: 2.465 MB / 0.5015 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.2073, allocations: 0 / 0.5015 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002871/0.2102, allocations: 0.6361 MB / 0.5021 GB, free: 168 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001141/0.2103, allocations: 32.84 kB / 0.5021 GB, free: 132 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.795e-05/0.2104, allocations: 20 kB / 0.5021 GB, free: 112 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3205/0.5309, allocations: 1.458 MB / 0.5036 GB, free: 54.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/0.531, allocations: 2.406 kB / 0.5036 GB, free: 54.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004819/0.5358, allocations: 2.088 MB / 0.5056 GB, free: 54.46 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002958/0.5362, allocations: 137.2 kB / 0.5057 GB, free: 54.37 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001134/0.5363, allocations: 17.42 kB / 0.5057 GB, free: 54.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007042/0.537, allocations: 74.78 kB / 0.5058 GB, free: 54.37 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002266/0.5372, allocations: 63.5 kB / 0.5059 GB, free: 54.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.271e-05/0.5373, allocations: 19.58 kB / 0.5059 GB, free: 54.37 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005209/0.5378, allocations: 322.7 kB / 0.5062 GB, free: 54.28 MB / 382.1 MB Notification: Performance of sort global known variables: time 4e-07/0.5378, allocations: 2.156 kB / 0.5062 GB, free: 54.28 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001182/0.539, allocations: 232.7 kB / 0.5064 GB, free: 54.28 MB / 382.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.0003383/0.5394, allocations: 126.7 kB / 0.5065 GB, free: 54.19 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004168/0.5435, allocations: 1.607 MB / 0.5081 GB, free: 53.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.5436, allocations: 2.062 kB / 0.5081 GB, free: 53.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003326/0.5469, allocations: 1.139 MB / 0.5092 GB, free: 53.51 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001088/0.548, allocations: 155.2 kB / 0.5094 GB, free: 53.47 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004846/0.5529, allocations: 2.84 MB / 0.5121 GB, free: 51.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007854/0.5537, allocations: 1.074 MB / 0.5132 GB, free: 51.19 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002699/0.5539, allocations: 58.19 kB / 0.5133 GB, free: 51.18 MB / 382.1 MB Notification: Performance of SimCode: time 8.01e-07/0.5539, allocations: 0 / 0.5133 GB, free: 51.18 MB / 382.1 MB Notification: Performance of Templates: time 0.02878/0.5827, allocations: 20.07 MB / 0.5329 GB, free: 39.68 MB / 382.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