Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.Display.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.Introductory.Display,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="Time|phasor_cap.i_dq.1.|phasor_cap.i_dq.2.|phasor_cap.p.1.|phasor_cap.p.2.|phasor_cap.v_dq.1.|phasor_cap.v_dq.2.|phasor_ind.i_dq.1.|phasor_ind.i_dq.2.|phasor_ind.p.1.|phasor_ind.p.2.|phasor_ind.v_dq.1.|phasor_ind.v_dq.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Display") translateModel(PowerSystems.Examples.Introductory.Display,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="Time|phasor_cap.i_dq.1.|phasor_cap.i_dq.2.|phasor_cap.p.1.|phasor_cap.p.2.|phasor_cap.v_dq.1.|phasor_cap.v_dq.2.|phasor_ind.i_dq.1.|phasor_ind.i_dq.2.|phasor_ind.p.1.|phasor_ind.p.2.|phasor_ind.v_dq.1.|phasor_ind.v_dq.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Display") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007814/0.0007814, allocations: 93.02 kB / 16.95 MB, free: 5.676 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.0009027/0.0009027, allocations: 179.6 kB / 17.84 MB, free: 5.324 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.318/1.318, allocations: 223.2 MB / 241.9 MB, free: 296 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1713/0.1713, allocations: 38.09 MB / 331.1 MB, free: 8.809 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003095/0.0003096, allocations: 8 kB / 400.7 MB, free: 34.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1241, allocations: 59.17 MB / 459.9 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.007225/0.1313, allocations: 6.816 MB / 466.7 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003853/0.1352, allocations: 2.21 MB / 468.9 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005067/0.1358, allocations: 39.75 kB / 468.9 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000344/0.1361, allocations: 142.9 kB / 469.1 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001463/0.1376, allocations: 0.5911 MB / 469.7 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007304/0.1383, allocations: 263.6 kB / 469.9 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001394/0.1397, allocations: 1.394 MB / 471.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001459/0.1412, allocations: 0.8967 MB / 472.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007642/0.142, allocations: 438 kB / 472.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008929/0.1429, allocations: 0.6036 MB / 473.2 MB, free: 9.918 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.481e-05/0.143, allocations: 36 kB / 473.3 MB, free: 9.883 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004964/0.1435, allocations: 223.7 kB / 473.5 MB, free: 9.664 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004338/0.1439, allocations: 450.9 kB / 473.9 MB, free: 9.223 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002085/0.1442, allocations: 193.2 kB / 474.1 MB, free: 9.027 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008456/0.145, allocations: 0.8807 MB / 475 MB, free: 8.145 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.145, allocations: 7.938 kB / 475 MB, free: 8.137 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.145, allocations: 0 / 475 MB, free: 8.137 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.147e-05/0.145, allocations: 0 / 475 MB, free: 8.137 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: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.001706/0.1468, allocations: 1.051 MB / 476.1 MB, free: 7.031 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.1468, allocations: 15.97 kB / 476.1 MB, free: 7.016 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008101/0.1476, allocations: 158.7 kB / 476.2 MB, free: 6.859 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009554/0.1486, allocations: 0.5762 MB / 476.8 MB, free: 6.242 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.775e-05/0.1487, allocations: 73.97 kB / 476.9 MB, free: 6.168 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000212/0.1489, allocations: 103.9 kB / 477 MB, free: 6.066 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001713/0.1506, allocations: 1.141 MB / 478.1 MB, free: 4.871 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.191e-05/0.1507, allocations: 11.84 kB / 478.1 MB, free: 4.859 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.687e-05/0.1507, allocations: 32 kB / 478.2 MB, free: 4.828 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001553/0.1509, allocations: 81.95 kB / 478.2 MB, free: 4.746 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001614/0.1525, allocations: 1.003 MB / 479.3 MB, free: 3.746 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005226/0.1578, allocations: 4.366 MB / 483.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/0.1589, allocations: 0.6254 MB / 484.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000468/0.1594, allocations: 309.9 kB / 484.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.284e-05/0.1595, allocations: 8.562 kB / 484.6 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.71e-05/0.1595, allocations: 39.12 kB / 484.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 4.369e-06/0.1595, allocations: 0 / 484.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=64): time 0.002908/0.1624, allocations: 1.73 MB / 486.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.903e-05/0.1625, allocations: 85.67 kB / 486.4 MB, free: 12.26 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005832/0.1631, allocations: 0.5415 MB / 486.9 MB, free: 11.71 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.558e-05/0.1632, allocations: 37.83 kB / 487 MB, free: 11.66 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002872/0.1635, allocations: 442.7 kB / 487.4 MB, free: 11.22 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001717/0.1636, allocations: 224.9 kB / 487.6 MB, free: 11 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.739e-05/0.1637, allocations: 20 kB / 487.7 MB, free: 10.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.1638, allocations: 374.8 kB / 488 MB, free: 10.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004522/0.1643, allocations: 277.8 kB / 488.3 MB, free: 10.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006866/0.165, allocations: 0.6114 MB / 488.9 MB, free: 9.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005939/0.1656, allocations: 393.9 kB / 489.3 MB, free: 9.188 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.1656, allocations: 4 kB / 489.3 MB, free: 9.184 MB / 366.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002008/0.1676, allocations: 1.165 MB / 490.5 MB, free: 8.004 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.1677, allocations: 16.06 kB / 490.5 MB, free: 7.988 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001254/0.1689, allocations: 0.7105 MB / 491.2 MB, free: 7.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006786/0.1696, allocations: 218.3 kB / 491.4 MB, free: 7.047 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007275/0.1704, allocations: 219.7 kB / 491.6 MB, free: 6.832 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00453/0.1749, allocations: 4.911 MB / 496.5 MB, free: 1.512 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005329/0.1755, allocations: 39.92 kB / 496.6 MB, free: 1.473 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.909e-05/0.1755, allocations: 40 kB / 496.6 MB, free: 1.434 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 33 (system.initime,phasor_ind.color_p[1],phasor_ind.color_p[3],phasor_ind.color_n[1],phasor_ind.color_n[3],phasor_cap.color_p[1],phasor_cap.color_p[3],phasor_cap.color_n[1],phasor_cap.color_n[3],phasor_cap.color2[3],phasor_cap.color2[2],phasor_cap.color2[1],phasor_cap.color1[3],phasor_cap.color1[2],phasor_cap.color1[1],phasor_cap.colorR[3],phasor_cap.colorR[2],phasor_cap.colorR[1],phasor_cap.colorL[3],phasor_cap.colorL[2],phasor_cap.colorL[1],phasor_ind.color2[3],phasor_ind.color2[2],phasor_ind.color2[1],phasor_ind.color1[3],phasor_ind.color1[2],phasor_ind.color1[1],phasor_ind.colorR[3],phasor_ind.colorR[2],phasor_ind.colorR[1],phasor_ind.colorL[3],phasor_ind.colorL[2],phasor_ind.colorL[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 104 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(2,100.0%) 6,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004936/0.176, allocations: 357.3 kB / 496.9 MB, free: 1.078 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.1761, allocations: 67.16 kB / 497 MB, free: 1.012 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001094/0.1772, allocations: 0.6421 MB / 497.7 MB, free: 368 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.1773, allocations: 8.141 kB / 497.7 MB, free: 360 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.1773, allocations: 7.984 kB / 497.7 MB, free: 352 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/0.1773, allocations: 3.984 kB / 497.7 MB, free: 348 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002416/0.1797, allocations: 1.539 MB / 499.2 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.1797, allocations: 0 / 499.2 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007281/0.1805, allocations: 171.8 kB / 499.4 MB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.348e-06/0.1805, allocations: 4 kB / 499.4 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.311e-05/0.1805, allocations: 27.98 kB / 499.4 MB, free: 14.53 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-06/0.1806, allocations: 7.953 kB / 499.4 MB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.1806, allocations: 4 kB / 499.4 MB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001389/0.182, allocations: 1.018 MB / 0.4887 GB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002311/0.1822, allocations: 180.3 kB / 0.4889 GB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.524e-05/0.1823, allocations: 19.98 kB / 0.4889 GB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002766/0.1826, allocations: 16 kB / 0.4889 GB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.1827, allocations: 48.44 kB / 0.489 GB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.862e-05/0.1827, allocations: 20 kB / 0.489 GB, free: 13.17 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003728/0.1831, allocations: 350.8 kB / 0.4893 GB, free: 12.83 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1831, allocations: 0 / 0.4893 GB, free: 12.83 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008571/0.184, allocations: 224 kB / 0.4895 GB, free: 12.61 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (ind.i[1],ind.i[2],ind.i[3],cap.v[1],cap.v[2],cap.v[3]) * Number of discrete variables: 9 (system.initime,phasor_ind.color_p[1],phasor_ind.color_p[3],phasor_ind.color_n[1],phasor_ind.color_n[3],phasor_cap.color_p[1],phasor_cap.color_p[3],phasor_cap.color_n[1],phasor_cap.color_n[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001548/0.1841, allocations: 128 kB / 0.4897 GB, free: 12.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001693/0.1858, allocations: 1.1 MB / 0.4907 GB, free: 11.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.1859, allocations: 0 / 0.4907 GB, free: 11.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004608/0.1863, allocations: 308.1 kB / 0.491 GB, free: 11.04 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007394/0.1871, allocations: 146.2 kB / 0.4912 GB, free: 10.9 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003314/0.1904, allocations: 2.433 MB / 0.4935 GB, free: 8.414 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008591/0.1913, allocations: 1.071 MB / 0.4946 GB, free: 7.312 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002058/0.1915, allocations: 59.42 kB / 0.4946 GB, free: 7.254 MB / 382.1 MB Notification: Performance of SimCode: time 1.553e-06/0.1915, allocations: 0 / 0.4946 GB, free: 7.254 MB / 382.1 MB Notification: Performance of Templates: time 0.2212/0.4127, allocations: 13.93 MB / 0.5083 GB, free: 54.8 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.Display.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.Display.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.Introductory.DisplayCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.Introductory.DisplayCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.Introductory.DisplayCalcHelperMain.o] Error 1