Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationSteadyState.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.SimulationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationSteadyState") translateModel(PowerSystems.Examples.Introductory.SimulationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 109.7 kB / 17.16 MB, free: 6.324 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.0009765/0.0009766, 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.322/1.322, allocations: 222.9 MB / 241.7 MB, free: 13.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1649/0.1649, allocations: 38.03 MB / 329.9 MB, free: 8.883 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001063/0.001063, allocations: 56.7 kB / 398.7 MB, free: 34.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1233, allocations: 58.07 MB / 456.8 MB, free: 8.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyState): time 0.009702/0.133, allocations: 9.215 MB / 466 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005248/0.1383, allocations: 2.851 MB / 468.9 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009295/0.1393, allocations: 63.56 kB / 468.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002037/0.1413, allocations: 0.8069 MB / 469.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001259/0.1426, allocations: 489.9 kB / 470.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001206/0.1438, allocations: 395.3 kB / 470.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001781/0.1456, allocations: 1.937 MB / 472.5 MB, free: 8.738 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008681/0.1465, allocations: 0.6617 MB / 473.2 MB, free: 8.074 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006133/0.1471, allocations: 485.8 kB / 473.7 MB, free: 7.598 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008686/0.148, allocations: 0.6931 MB / 474.4 MB, free: 6.902 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001003/0.1481, allocations: 55.94 kB / 474.4 MB, free: 6.848 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004515/0.1485, allocations: 207.7 kB / 474.6 MB, free: 6.645 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003938/0.1489, allocations: 478.7 kB / 475.1 MB, free: 6.176 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004461/0.1494, allocations: 0.5013 MB / 475.6 MB, free: 5.672 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007971/0.1502, allocations: 0.9354 MB / 476.5 MB, free: 4.734 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.1502, allocations: 0 / 476.5 MB, free: 4.734 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.12e-07/0.1502, allocations: 0 / 476.5 MB, free: 4.734 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.1502, allocations: 0 / 476.5 MB, free: 4.734 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.002147/0.1524, allocations: 1.306 MB / 477.8 MB, free: 3.367 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.1524, allocations: 12.03 kB / 477.8 MB, free: 3.355 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008665/0.1533, allocations: 171.4 kB / 478 MB, free: 3.188 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001088/0.1544, allocations: 0.6805 MB / 478.7 MB, free: 2.469 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.028e-05/0.1545, allocations: 66.38 kB / 478.8 MB, free: 2.402 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.1546, allocations: 95.95 kB / 478.8 MB, free: 2.309 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001563/0.1562, allocations: 1.175 MB / 480 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.189e-05/0.1562, allocations: 7.938 kB / 480 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.59e-05/0.1563, allocations: 32 kB / 480.1 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.165e-05/0.1564, allocations: 57.97 kB / 480.1 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001335/0.1577, allocations: 0.9249 MB / 481 MB, free: 36 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005122/0.1628, allocations: 4.803 MB / 485.8 MB, free: 11.01 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0011/0.164, allocations: 0.6601 MB / 486.5 MB, free: 10.33 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004784/0.1645, allocations: 382.6 kB / 486.9 MB, free: 9.953 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.868e-05/0.1645, allocations: 12.55 kB / 486.9 MB, free: 9.941 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006094/0.1651, allocations: 451.7 kB / 487.3 MB, free: 9.473 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.514e-06/0.1651, allocations: 0 / 487.3 MB, free: 9.473 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.004979/0.1701, allocations: 2.439 MB / 489.8 MB, free: 6.965 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.68e-05/0.1702, allocations: 178.8 kB / 489.9 MB, free: 6.754 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006902/0.1709, allocations: 0.59 MB / 490.5 MB, free: 6.156 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.672e-05/0.171, allocations: 41.7 kB / 490.6 MB, free: 6.109 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003586/0.1714, allocations: 482.6 kB / 491 MB, free: 5.629 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002022/0.1716, allocations: 220.8 kB / 491.3 MB, free: 5.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002047/0.1718, allocations: 162.5 kB / 491.4 MB, free: 5.246 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000188/0.172, allocations: 386.8 kB / 491.8 MB, free: 4.859 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004318/0.1724, allocations: 285.8 kB / 492.1 MB, free: 4.578 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006491/0.1731, allocations: 0.5562 MB / 492.6 MB, free: 3.898 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001326/0.1744, allocations: 0.9495 MB / 493.6 MB, free: 2.812 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.027e-05/0.1744, allocations: 11.94 kB / 493.6 MB, free: 2.801 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.00214/0.1766, allocations: 1.223 MB / 494.8 MB, free: 1.559 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.95e-05/0.1766, allocations: 37.69 kB / 494.9 MB, free: 1.516 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/0.1767, allocations: 8 kB / 494.9 MB, free: 1.508 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001062/0.1777, allocations: 333.9 kB / 495.2 MB, free: 1.176 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004752/0.1782, allocations: 147.7 kB / 495.3 MB, free: 1.031 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006163/0.1844, allocations: 4.952 MB / 0.4886 GB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005739/0.185, allocations: 28.03 kB / 0.4886 GB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001677/0.1852, allocations: 40 kB / 0.4886 GB, free: 11.71 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,relayNet.cnt,$PRE.relayNet.cnt,$whenCondition1,relayNet.y[1],$PRE.relayNet.y[1],switch.closed,$PRE.switch.closed,switch.open,$PRE.switch.open,switch.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 1 * 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): 2 systems {(3,17,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006797/0.1859, allocations: 366.1 kB / 0.489 GB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001378/0.186, allocations: 75.06 kB / 0.489 GB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001821/0.1878, allocations: 1.036 MB / 0.4901 GB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.625e-05/0.1879, allocations: 8 kB / 0.4901 GB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.1879, allocations: 4 kB / 0.4901 GB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/0.1879, allocations: 11.92 kB / 0.4901 GB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00324/0.1911, allocations: 2.063 MB / 0.4921 GB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.1911, allocations: 0 / 0.4921 GB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000291/0.1914, allocations: 71.89 kB / 0.4922 GB, free: 7.961 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009679/0.1924, allocations: 317.5 kB / 0.4925 GB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.185e-05/0.1925, allocations: 16 kB / 0.4925 GB, free: 7.629 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00567/0.1982, allocations: 4.875 MB / 0.4972 GB, free: 2.457 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.1982, allocations: 4 kB / 0.4972 GB, free: 2.453 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001845/0.2, allocations: 1.119 MB / 0.4983 GB, free: 1.289 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001924/0.2002, allocations: 148.2 kB / 0.4985 GB, free: 1.125 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.999e-05/0.2003, allocations: 16 kB / 0.4985 GB, free: 1.109 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003089/0.2006, allocations: 19.98 kB / 0.4985 GB, free: 1.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001955/0.2008, allocations: 56.53 kB / 0.4986 GB, free: 1.031 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.942e-05/0.2009, allocations: 23.97 kB / 0.4986 GB, free: 1.008 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000532/0.2014, allocations: 415 kB / 0.499 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2015, allocations: 3.938 kB / 0.499 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009695/0.2024, allocations: 272 kB / 0.4993 GB, free: 344 kB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (switch.open,switch.control[1],switch.closed,$whenCondition1,relayNet.y[1],relayNet.cnt,system.initime) * Number of discrete states: 3 (relayNet.y[1],relayNet.cnt,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * 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): 2 systems {(3,17,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001656/0.2026, allocations: 121.3 kB / 0.4994 GB, free: 216 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001737/0.2043, allocations: 1.144 MB / 0.5005 GB, free: 15.04 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.2044, allocations: 0 / 0.5005 GB, free: 15.04 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001112/0.2055, allocations: 0.7643 MB / 0.5012 GB, free: 14.23 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008505/0.2063, allocations: 177.1 kB / 0.5014 GB, free: 14.07 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003044/0.2094, allocations: 2.217 MB / 0.5036 GB, free: 11.8 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007605/0.2102, allocations: 1.099 MB / 0.5046 GB, free: 10.67 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001394/0.2103, allocations: 55.42 kB / 0.5047 GB, free: 10.62 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2103, allocations: 4 kB / 0.5047 GB, free: 10.61 MB / 398.1 MB Notification: Performance of Templates: time 0.2315/0.4419, allocations: 16.96 MB / 0.5213 GB, free: 68.89 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationSteadyState.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationSteadyState.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.SimulationSteadyStateCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.Introductory.SimulationSteadyStateCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.Introductory.SimulationSteadyStateCalcHelperMain.o] Error 1