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.001066/0.001066, allocations: 110.6 kB / 17.16 MB, free: 6.328 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.001042/0.001042, 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.337/1.337, 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.1652/0.1652, allocations: 38.03 MB / 329.9 MB, free: 9.102 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001027/0.001027, allocations: 62.23 kB / 398.7 MB, free: 34.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.114, allocations: 58.07 MB / 456.8 MB, free: 8.559 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.007798/0.1219, allocations: 7.677 MB / 464.5 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003821/0.1257, allocations: 2.345 MB / 466.8 MB, free: 14.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004589/0.1262, allocations: 43.69 kB / 466.9 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001564/0.1278, allocations: 0.6631 MB / 467.5 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00114/0.1289, allocations: 0.5487 MB / 468.1 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005945/0.1295, allocations: 211.6 kB / 468.3 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001462/0.131, allocations: 1.8 MB / 470.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008063/0.1318, allocations: 0.5909 MB / 470.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005322/0.1324, allocations: 449.9 kB / 471.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008113/0.1332, allocations: 0.6581 MB / 471.8 MB, free: 9.523 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001058/0.1333, allocations: 52 kB / 471.8 MB, free: 9.473 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004608/0.1338, allocations: 239.7 kB / 472.1 MB, free: 9.238 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003723/0.1342, allocations: 462.9 kB / 472.5 MB, free: 8.785 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004373/0.1346, allocations: 481.5 kB / 473 MB, free: 8.312 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008121/0.1354, allocations: 0.8887 MB / 473.9 MB, free: 7.422 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.1355, allocations: 8 kB / 473.9 MB, free: 7.414 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1355, allocations: 0 / 473.9 MB, free: 7.414 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.601e-05/0.1355, allocations: 0 / 473.9 MB, free: 7.414 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.002014/0.1375, allocations: 1.211 MB / 475.1 MB, free: 6.148 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.1376, allocations: 8.031 kB / 475.1 MB, free: 6.141 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009106/0.1385, allocations: 167.6 kB / 475.3 MB, free: 5.977 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008809/0.1394, allocations: 0.5811 MB / 475.8 MB, free: 5.355 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.244e-05/0.1394, allocations: 66.36 kB / 475.9 MB, free: 5.289 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001899/0.1396, allocations: 104.1 kB / 476 MB, free: 5.188 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001559/0.1412, allocations: 1.164 MB / 477.2 MB, free: 3.969 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.752e-05/0.1412, allocations: 7.906 kB / 477.2 MB, free: 3.961 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.081e-05/0.1413, allocations: 31.98 kB / 477.2 MB, free: 3.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001558/0.1415, allocations: 81.95 kB / 477.3 MB, free: 3.848 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001489/0.143, allocations: 1.011 MB / 478.3 MB, free: 2.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004691/0.1477, allocations: 4.354 MB / 482.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001066/0.1488, allocations: 0.6334 MB / 483.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004141/0.1492, allocations: 307.3 kB / 483.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.019e-05/0.1493, allocations: 12.5 kB / 483.6 MB, free: 13.28 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.781e-05/0.1493, allocations: 47.06 kB / 483.6 MB, free: 13.22 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 2.144e-06/0.1493, allocations: 0 / 483.6 MB, free: 13.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=64): time 0.002657/0.152, allocations: 1.734 MB / 485.4 MB, free: 11.43 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.848e-05/0.152, allocations: 93.53 kB / 485.5 MB, free: 11.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000507/0.1526, allocations: 0.5416 MB / 486 MB, free: 10.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.191e-05/0.1526, allocations: 33.7 kB / 486 MB, free: 10.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002637/0.1529, allocations: 446.7 kB / 486.5 MB, free: 10.29 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001591/0.153, allocations: 224.8 kB / 486.7 MB, free: 10.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002231/0.1533, allocations: 182.6 kB / 486.9 MB, free: 9.883 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.1535, allocations: 382.8 kB / 487.2 MB, free: 9.5 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004285/0.1539, allocations: 285.8 kB / 487.5 MB, free: 9.219 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000604/0.1545, allocations: 0.6075 MB / 488.1 MB, free: 8.461 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/0.1556, allocations: 0.973 MB / 489.1 MB, free: 7.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.1556, allocations: 4 kB / 489.1 MB, free: 7.336 MB / 366.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001949/0.1576, allocations: 1.172 MB / 490.3 MB, free: 6.145 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.1576, allocations: 11.98 kB / 490.3 MB, free: 6.133 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001219/0.1588, allocations: 0.7183 MB / 491 MB, free: 5.406 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006803/0.1595, allocations: 214.9 kB / 491.2 MB, free: 5.188 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006824/0.1602, allocations: 223.6 kB / 491.4 MB, free: 4.969 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004152/0.1644, allocations: 4.914 MB / 496.4 MB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005198/0.1649, allocations: 39.89 kB / 496.4 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-05/0.165, allocations: 48.06 kB / 496.4 MB, free: 15.57 MB / 382.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_cap.color_n[3],phasor_cap.color_n[1],phasor_cap.color_p[3],phasor_cap.color_p[1],phasor_ind.color_n[3],phasor_ind.color_n[1],phasor_ind.color_p[3],phasor_ind.color_p[1],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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (2,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004568/0.1654, allocations: 341.4 kB / 496.8 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.589e-05/0.1655, allocations: 63.25 kB / 496.8 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001019/0.1666, allocations: 0.6615 MB / 497.5 MB, free: 14.49 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.1666, allocations: 8.141 kB / 497.5 MB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.1666, allocations: 3.984 kB / 497.5 MB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/0.1666, allocations: 3.984 kB / 497.5 MB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002195/0.1688, allocations: 1.535 MB / 499.1 MB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.1688, allocations: 4 kB / 499.1 MB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007235/0.1696, allocations: 171.8 kB / 499.2 MB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.1696, allocations: 7.938 kB / 499.2 MB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.761e-05/0.1696, allocations: 12 kB / 499.2 MB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.663e-06/0.1696, allocations: 12.14 kB / 499.3 MB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-06/0.1696, allocations: 11.88 kB / 499.3 MB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001279/0.1709, allocations: 1.014 MB / 0.4886 GB, free: 11.6 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002092/0.1711, allocations: 184.3 kB / 0.4887 GB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.489e-05/0.1712, allocations: 16 kB / 0.4887 GB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002861/0.1715, allocations: 19.92 kB / 0.4888 GB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.1716, allocations: 56.38 kB / 0.4888 GB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.63e-05/0.1717, allocations: 20.12 kB / 0.4888 GB, free: 11.29 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000361/0.1721, allocations: 362.8 kB / 0.4892 GB, free: 10.94 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1721, allocations: 0 / 0.4892 GB, free: 10.94 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007326/0.1728, allocations: 224 kB / 0.4894 GB, free: 10.72 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001428/0.173, allocations: 119.9 kB / 0.4895 GB, free: 10.6 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001559/0.1745, allocations: 1.099 MB / 0.4906 GB, free: 9.461 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.1745, allocations: 448 / 0.4906 GB, free: 9.461 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004342/0.175, allocations: 319 kB / 0.4909 GB, free: 9.148 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007475/0.1757, allocations: 142.1 kB / 0.491 GB, free: 9.008 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003008/0.1787, allocations: 2.377 MB / 0.4933 GB, free: 6.578 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006106/0.1794, allocations: 1.071 MB / 0.4944 GB, free: 5.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001777/0.1796, allocations: 59.44 kB / 0.4944 GB, free: 5.422 MB / 382.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1796, allocations: 0 / 0.4944 GB, free: 5.422 MB / 382.1 MB Notification: Performance of Templates: time 0.01565/0.1952, allocations: 13.99 MB / 0.5081 GB, free: 7.43 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.Display.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.Display.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.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