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.0009648/0.0009648, allocations: 92.48 kB / 16.95 MB, free: 5.578 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.001159/0.001159, allocations: 186.2 kB / 17.84 MB, free: 5.258 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.345/1.345, allocations: 223.2 MB / 241.9 MB, free: 216 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1635/0.1635, allocations: 38.09 MB / 331.1 MB, free: 8.848 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000325/0.0003251, allocations: 13.03 kB / 400.7 MB, free: 34.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1119, allocations: 59.16 MB / 459.9 MB, free: 7.418 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.007373/0.1193, allocations: 6.957 MB / 466.8 MB, free: 440 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004492/0.1238, allocations: 2.323 MB / 469.2 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005589/0.1244, allocations: 43.69 kB / 469.2 MB, free: 14.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005523/0.125, allocations: 178.8 kB / 469.4 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001316/0.1263, allocations: 0.5599 MB / 469.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008434/0.1272, allocations: 351.4 kB / 470.3 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001371/0.1286, allocations: 1.477 MB / 471.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001261/0.1298, allocations: 0.8362 MB / 472.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005997/0.1304, allocations: 450.2 kB / 473 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008494/0.1313, allocations: 0.6505 MB / 473.7 MB, free: 9.531 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.671e-05/0.1314, allocations: 48 kB / 473.7 MB, free: 9.484 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007701/0.1322, allocations: 483.2 kB / 474.2 MB, free: 9.012 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003714/0.1325, allocations: 419 kB / 474.6 MB, free: 8.602 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001897/0.1327, allocations: 193.2 kB / 474.8 MB, free: 8.406 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009809/0.1337, allocations: 1.099 MB / 475.9 MB, free: 7.305 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.1337, allocations: 4 kB / 475.9 MB, free: 7.301 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1338, allocations: 0 / 475.9 MB, free: 7.301 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.128e-05/0.1338, allocations: 0 / 475.9 MB, free: 7.301 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.002215/0.136, allocations: 1.2 MB / 477.1 MB, free: 6.051 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.136, allocations: 12.03 kB / 477.1 MB, free: 6.039 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006712/0.1367, allocations: 146.8 kB / 477.2 MB, free: 5.895 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001129/0.1379, allocations: 0.6427 MB / 477.9 MB, free: 5.207 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002288/0.1381, allocations: 179.1 kB / 478.1 MB, free: 5.016 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001938/0.1383, allocations: 91.94 kB / 478.2 MB, free: 4.926 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002189/0.1405, allocations: 1.382 MB / 479.5 MB, free: 3.477 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.646e-05/0.1406, allocations: 7.938 kB / 479.5 MB, free: 3.469 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.021e-05/0.1406, allocations: 35.95 kB / 479.6 MB, free: 3.434 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001394/0.1408, allocations: 65.95 kB / 479.6 MB, free: 3.371 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002271/0.1431, allocations: 1.343 MB / 481 MB, free: 2.027 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006419/0.1495, allocations: 4.97 MB / 486 MB, free: 12.9 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002086/0.1516, allocations: 1.211 MB / 487.2 MB, free: 11.64 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001091/0.1527, allocations: 0.6477 MB / 487.8 MB, free: 10.99 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.601e-05/0.1528, allocations: 12.55 kB / 487.8 MB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.096e-05/0.1528, allocations: 43.06 kB / 487.9 MB, free: 10.93 MB / 366.1 MB Notification: Performance of pre-optimization done (n=72): time 2.735e-06/0.1529, allocations: 0 / 487.9 MB, free: 10.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.006218/0.1591, allocations: 3.3 MB / 491.2 MB, free: 7.535 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.097e-05/0.1592, allocations: 85.67 kB / 491.3 MB, free: 7.434 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005642/0.1597, allocations: 461.9 kB / 491.7 MB, free: 6.969 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.451e-05/0.1598, allocations: 33.7 kB / 491.7 MB, free: 6.93 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002988/0.1601, allocations: 391.4 kB / 492.1 MB, free: 6.539 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002407/0.1604, allocations: 268.2 kB / 492.4 MB, free: 6.273 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.797e-05/0.1604, allocations: 12 kB / 492.4 MB, free: 6.262 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002076/0.1606, allocations: 378.8 kB / 492.8 MB, free: 5.883 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008952/0.1615, allocations: 0.5094 MB / 493.3 MB, free: 5.371 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00101/0.1626, allocations: 0.7076 MB / 494 MB, free: 4.586 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009802/0.1636, allocations: 0.5848 MB / 494.6 MB, free: 4 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.1636, allocations: 4 kB / 494.6 MB, free: 3.996 MB / 366.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004197/0.1678, allocations: 2.126 MB / 496.7 MB, free: 1.836 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.1678, allocations: 8 kB / 496.7 MB, free: 1.828 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003638/0.1715, allocations: 1.859 MB / 498.6 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001736/0.1732, allocations: 0.7041 MB / 499.3 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005727/0.1738, allocations: 151.8 kB / 499.4 MB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01037/0.1842, allocations: 7.077 MB / 0.4946 GB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007237/0.1849, allocations: 92 kB / 0.4947 GB, free: 7.656 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.023e-05/0.185, allocations: 27.98 kB / 0.4947 GB, free: 7.629 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {4 16} Notification: Performance of prepare postOptimizeDAE: time 0.0005107/0.1855, allocations: 313.5 kB / 0.495 GB, free: 7.312 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001633/0.1857, allocations: 59.25 kB / 0.4951 GB, free: 7.254 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00227/0.188, allocations: 1.348 MB / 0.4964 GB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.007e-05/0.188, allocations: 12 kB / 0.4964 GB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/0.188, allocations: 7.984 kB / 0.4964 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/0.188, allocations: 96 / 0.4964 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003691/0.1917, allocations: 2.461 MB / 0.4988 GB, free: 3.309 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.1917, allocations: 0 / 0.4988 GB, free: 3.309 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002433/0.1942, allocations: 0.64 MB / 0.4995 GB, free: 2.668 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001081/0.1943, allocations: 36.84 kB / 0.4995 GB, free: 2.629 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.033e-05/0.1944, allocations: 23.92 kB / 0.4995 GB, free: 2.605 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00108/0.1955, allocations: 1.459 MB / 0.5009 GB, free: 1.012 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.1955, allocations: 4 kB / 0.5009 GB, free: 1.008 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2504/0.4459, allocations: 2.076 MB / 0.503 GB, free: 55.71 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000287/0.4462, allocations: 128.6 kB / 0.5031 GB, free: 55.62 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.4463, allocations: 17.16 kB / 0.5031 GB, free: 55.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005717/0.4469, allocations: 79.34 kB / 0.5032 GB, free: 55.62 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001925/0.4471, allocations: 65.02 kB / 0.5032 GB, free: 55.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.802e-05/0.4472, allocations: 16.83 kB / 0.5033 GB, free: 55.62 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004416/0.4476, allocations: 317 kB / 0.5036 GB, free: 55.53 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4476, allocations: 1.469 kB / 0.5036 GB, free: 55.53 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001092/0.4487, allocations: 234.7 kB / 0.5038 GB, free: 55.53 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002165/0.449, allocations: 131.6 kB / 0.5039 GB, free: 55.44 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003057/0.452, allocations: 1.595 MB / 0.5055 GB, free: 55.2 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.452, allocations: 1.25 kB / 0.5055 GB, free: 55.2 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002625/0.4547, allocations: 1.132 MB / 0.5066 GB, free: 55.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008304/0.4555, allocations: 153 kB / 0.5067 GB, free: 55.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004296/0.4598, allocations: 2.792 MB / 0.5095 GB, free: 53.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000701/0.4605, allocations: 1.065 MB / 0.5105 GB, free: 52.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00026/0.4608, allocations: 59.53 kB / 0.5105 GB, free: 52.93 MB / 382.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4608, allocations: 0 / 0.5105 GB, free: 52.93 MB / 382.1 MB Notification: Performance of Templates: time 0.02789/0.4887, allocations: 20.09 MB / 0.5302 GB, free: 41.98 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++ NOTFOUND -Winvalid-pch -O0 -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/c/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