Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.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.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009097/0.0009097, allocations: 87.64 kB / 16.95 MB, free: 5.953 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.0008199/0.0008202, allocations: 177.3 kB / 17.84 MB, free: 5.621 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.314/1.314, allocations: 223.3 MB / 241.9 MB, free: 224 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1695/0.1695, allocations: 38.08 MB / 331 MB, free: 8.867 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000287/0.000287, allocations: 8 kB / 400.7 MB, free: 34.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1229, allocations: 59.16 MB / 459.9 MB, free: 7.438 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.005751/0.1287, allocations: 5.09 MB / 465 MB, free: 2.32 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002455/0.1312, allocations: 1.458 MB / 466.4 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002653/0.1315, allocations: 35.75 kB / 466.4 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003769/0.1318, allocations: 131.1 kB / 466.6 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007461/0.1326, allocations: 362.3 kB / 466.9 MB, free: 348 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004184/0.133, allocations: 179.7 kB / 467.1 MB, free: 168 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007868/0.1338, allocations: 0.849 MB / 468 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002255/0.1341, allocations: 110.3 kB / 468.1 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003474/0.1344, allocations: 266.9 kB / 468.3 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006163/0.135, allocations: 438.8 kB / 468.7 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.897e-05/0.1351, allocations: 27.94 kB / 468.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.933e-05/0.1352, allocations: 28 kB / 468.8 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002353/0.1354, allocations: 215.4 kB / 469 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001301/0.1356, allocations: 117.5 kB / 469.1 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004376/0.136, allocations: 482.8 kB / 469.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.136, allocations: 0 / 469.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1361, allocations: 0 / 469.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.1361, allocations: 0 / 469.6 MB, free: 13.65 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001566/0.1376, allocations: 0.8543 MB / 470.5 MB, free: 12.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.1377, allocations: 12.03 kB / 470.5 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.989e-05/0.1378, allocations: 51.44 kB / 470.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009701/0.1388, allocations: 0.5793 MB / 471.1 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.019e-05/0.1388, allocations: 28.66 kB / 471.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.909e-05/0.1389, allocations: 51.86 kB / 471.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007551/0.1397, allocations: 0.5401 MB / 471.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.325e-05/0.1397, allocations: 4 kB / 471.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.074e-05/0.1397, allocations: 12 kB / 471.7 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002833/0.14, allocations: 88.52 kB / 471.8 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005172/0.1406, allocations: 358.3 kB / 472.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002621/0.1432, allocations: 2.062 MB / 474.2 MB, free: 8.816 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007617/0.144, allocations: 385.1 kB / 474.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005128/0.1445, allocations: 301 kB / 474.9 MB, free: 8.125 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.174e-05/0.1445, allocations: 4 kB / 474.9 MB, free: 8.121 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.1446, allocations: 46.48 kB / 474.9 MB, free: 8.066 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 2.004e-06/0.1446, allocations: 0 / 474.9 MB, free: 8.066 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.004071/0.1486, allocations: 2.549 MB / 477.5 MB, free: 5.312 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.1487, allocations: 81.11 kB / 477.6 MB, free: 5.215 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003773/0.1491, allocations: 381.7 kB / 477.9 MB, free: 4.832 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.254e-05/0.1491, allocations: 29.7 kB / 478 MB, free: 4.797 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001694/0.1493, allocations: 252.2 kB / 478.2 MB, free: 4.543 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.1494, allocations: 134.1 kB / 478.4 MB, free: 4.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.598e-05/0.1495, allocations: 8 kB / 478.4 MB, free: 4.402 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.1496, allocations: 358.8 kB / 478.7 MB, free: 4.043 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003318/0.1499, allocations: 245 kB / 479 MB, free: 3.801 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000467/0.1504, allocations: 362.7 kB / 479.3 MB, free: 3.402 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003875/0.1508, allocations: 297.5 kB / 479.6 MB, free: 3.113 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1508, allocations: 0 / 479.6 MB, free: 3.113 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001543/0.1524, allocations: 1.006 MB / 480.6 MB, free: 2.094 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.1524, allocations: 4.438 kB / 480.6 MB, free: 2.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.1524, allocations: 11.94 kB / 480.6 MB, free: 2.078 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008687/0.1533, allocations: 413.2 kB / 481 MB, free: 1.668 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002783/0.1536, allocations: 87.83 kB / 481.1 MB, free: 1.582 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004731/0.1583, allocations: 4.711 MB / 485.8 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003117/0.1586, allocations: 43.94 kB / 485.9 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.423e-05/0.1587, allocations: 16 kB / 485.9 MB, free: 12.55 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 (48): * Single equations (assignments): 46 * Array equations: 0 * 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: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000279/0.159, allocations: 213.7 kB / 486.1 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.469e-05/0.1591, allocations: 43.48 kB / 486.1 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001376/0.1604, allocations: 0.8352 MB / 487 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.1605, allocations: 4 kB / 487 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1605, allocations: 8 kB / 487 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.1605, allocations: 0 / 487 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002037/0.1625, allocations: 1.411 MB / 488.4 MB, free: 9.918 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.1625, allocations: 8.016 kB / 488.4 MB, free: 9.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001658/0.1627, allocations: 43.86 kB / 488.4 MB, free: 9.867 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001056/0.1638, allocations: 445.2 kB / 488.9 MB, free: 9.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.228e-05/0.1639, allocations: 35.97 kB / 488.9 MB, free: 9.375 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00493/0.1688, allocations: 6.245 MB / 495.2 MB, free: 2.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1688, allocations: 160 / 495.2 MB, free: 2.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001582/0.1704, allocations: 1.121 MB / 496.3 MB, free: 1.422 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.1705, allocations: 120.5 kB / 496.4 MB, free: 1.285 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.984e-05/0.1706, allocations: 31.98 kB / 496.4 MB, free: 1.254 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002472/0.1709, allocations: 35.94 kB / 496.5 MB, free: 1.219 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.255e-05/0.171, allocations: 35.94 kB / 496.5 MB, free: 1.184 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-05/0.171, allocations: 15.98 kB / 496.5 MB, free: 1.168 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002791/0.1713, allocations: 259.2 kB / 496.8 MB, free: 0.918 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1713, allocations: 0 / 496.8 MB, free: 0.918 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006313/0.1719, allocations: 156 kB / 496.9 MB, free: 0.7656 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4]) * 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 (29): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001579/0.1721, allocations: 121.4 kB / 497 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001471/0.1736, allocations: 0.8849 MB / 497.9 MB, free: 15.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.1736, allocations: 256 / 497.9 MB, free: 15.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001477/0.1751, allocations: 1.086 MB / 499 MB, free: 14.53 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000641/0.1757, allocations: 117.4 kB / 499.1 MB, free: 14.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002955/0.1787, allocations: 2.287 MB / 0.4897 GB, free: 12.08 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004779/0.1792, allocations: 0.882 MB / 0.4905 GB, free: 11.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.876e-05/0.1793, allocations: 39.42 kB / 0.4906 GB, free: 11.14 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1793, allocations: 0 / 0.4906 GB, free: 11.14 MB / 382.1 MB Notification: Performance of Templates: time 0.2238/0.4031, allocations: 13.15 MB / 0.5034 GB, free: 56.12 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.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.AC1ph_DC.Elementary.LineCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LineCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LineCalcHelperMain.o] Error 1