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.001005/0.001005, allocations: 94.89 kB / 17.31 MB, free: 6 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.001197/0.001197, allocations: 178.2 kB / 18.21 MB, free: 5.41 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.388/1.388, allocations: 223.2 MB / 242.2 MB, free: 14.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1832/0.1832, allocations: 38.08 MB / 331.4 MB, free: 8.543 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003491/0.0003491, allocations: 8 kB / 401.4 MB, free: 34.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1155, allocations: 59.17 MB / 460.5 MB, free: 7.062 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyState): time 0.008194/0.1237, allocations: 8.75 MB / 469.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004909/0.1286, allocations: 2.82 MB / 472.1 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008283/0.1295, allocations: 59.62 kB / 472.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000597/0.1301, allocations: 210.6 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001081/0.1312, allocations: 477.9 kB / 472.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009892/0.1322, allocations: 407.3 kB / 473.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001794/0.134, allocations: 1.937 MB / 475.2 MB, free: 8.367 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001589/0.1356, allocations: 1.118 MB / 476.3 MB, free: 7.215 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007323/0.1364, allocations: 437.8 kB / 476.7 MB, free: 6.785 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009145/0.1373, allocations: 0.654 MB / 477.4 MB, free: 6.129 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.477e-05/0.1374, allocations: 36 kB / 477.4 MB, free: 6.094 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003974/0.1378, allocations: 195.7 kB / 477.6 MB, free: 5.902 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004005/0.1382, allocations: 454.7 kB / 478 MB, free: 5.457 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004607/0.1387, allocations: 0.4951 MB / 478.5 MB, free: 4.953 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008219/0.1395, allocations: 0.9157 MB / 479.4 MB, free: 4.035 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.1395, allocations: 0 / 479.4 MB, free: 4.035 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1395, allocations: 0 / 479.4 MB, free: 4.035 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.723e-05/0.1395, allocations: 0 / 479.4 MB, free: 4.035 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.001987/0.1415, allocations: 1.139 MB / 480.6 MB, free: 2.836 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.1416, allocations: 12.03 kB / 480.6 MB, free: 2.824 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008739/0.1425, allocations: 159.5 kB / 480.8 MB, free: 2.668 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001031/0.1435, allocations: 0.6881 MB / 481.4 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.878e-05/0.1436, allocations: 66.36 kB / 481.5 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001621/0.1437, allocations: 88.11 kB / 481.6 MB, free: 1.789 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001618/0.1454, allocations: 1.167 MB / 482.8 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.95e-05/0.1454, allocations: 7.938 kB / 482.8 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-05/0.1455, allocations: 36 kB / 482.8 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.335e-05/0.1456, allocations: 57.97 kB / 482.9 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001485/0.1471, allocations: 0.9288 MB / 483.8 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00529/0.1524, allocations: 4.807 MB / 488.6 MB, free: 10.49 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/0.1535, allocations: 0.664 MB / 489.3 MB, free: 9.805 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000655/0.1541, allocations: 391.8 kB / 489.6 MB, free: 9.414 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.243e-05/0.1542, allocations: 4.562 kB / 489.6 MB, free: 9.41 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000619/0.1548, allocations: 451.7 kB / 490.1 MB, free: 8.941 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 1.863e-06/0.1548, allocations: 0 / 490.1 MB, free: 8.941 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.005153/0.16, allocations: 2.459 MB / 492.5 MB, free: 6.414 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/0.1601, allocations: 170.8 kB / 492.7 MB, free: 6.211 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000682/0.1608, allocations: 0.5978 MB / 493.3 MB, free: 5.605 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.435e-05/0.1608, allocations: 37.7 kB / 493.3 MB, free: 5.562 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003571/0.1612, allocations: 490.6 kB / 493.8 MB, free: 5.074 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001917/0.1614, allocations: 228.8 kB / 494 MB, free: 4.848 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.245e-05/0.1615, allocations: 73.69 kB / 494.1 MB, free: 4.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.1617, allocations: 386.8 kB / 494.5 MB, free: 4.383 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004279/0.1621, allocations: 281.8 kB / 494.8 MB, free: 4.105 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006329/0.1628, allocations: 0.5563 MB / 495.3 MB, free: 3.426 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001127/0.1639, allocations: 0.9572 MB / 496.3 MB, free: 2.332 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.1639, allocations: 3.938 kB / 496.3 MB, free: 2.328 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001963/0.1659, allocations: 1.224 MB / 497.5 MB, free: 1.086 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.758e-05/0.1659, allocations: 37.83 kB / 497.5 MB, free: 1.043 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.057e-05/0.1659, allocations: 12 kB / 497.6 MB, free: 1.031 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009738/0.1669, allocations: 329.5 kB / 497.9 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004609/0.1674, allocations: 147.7 kB / 498 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00566/0.1731, allocations: 4.956 MB / 0.4912 GB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005357/0.1736, allocations: 39.97 kB / 0.4912 GB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-05/0.1737, allocations: 43.98 kB / 0.4913 GB, free: 11.23 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.0005586/0.1743, allocations: 359 kB / 0.4916 GB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.611e-05/0.1744, allocations: 79.06 kB / 0.4917 GB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001839/0.1762, allocations: 1.036 MB / 0.4927 GB, free: 9.715 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.1762, allocations: 12.08 kB / 0.4927 GB, free: 9.703 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.1762, allocations: 4 kB / 0.4927 GB, free: 9.699 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/0.1763, allocations: 11.91 kB / 0.4927 GB, free: 9.688 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00299/0.1793, allocations: 2.055 MB / 0.4947 GB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.1793, allocations: 4 kB / 0.4947 GB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002851/0.1796, allocations: 71.91 kB / 0.4948 GB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000797/0.1804, allocations: 312.5 kB / 0.4951 GB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.098e-05/0.1804, allocations: 23.98 kB / 0.4951 GB, free: 7.141 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005917/0.1864, allocations: 4.879 MB / 0.4999 GB, free: 1.965 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.1864, allocations: 4 kB / 0.4999 GB, free: 1.961 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002039/0.1884, allocations: 1.115 MB / 0.501 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001919/0.1887, allocations: 148.2 kB / 0.5011 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.432e-05/0.1887, allocations: 19.98 kB / 0.5011 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003133/0.1891, allocations: 16 kB / 0.5012 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/0.1892, allocations: 60.42 kB / 0.5012 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.972e-05/0.1893, allocations: 16 kB / 0.5012 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005159/0.1898, allocations: 419 kB / 0.5016 GB, free: 120 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.323e-06/0.1898, allocations: 4 kB / 0.5016 GB, free: 116 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.2584/0.4482, allocations: 268.3 kB / 0.5019 GB, free: 55.23 MB / 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.000181/0.4484, allocations: 112 kB / 0.502 GB, free: 55.14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002087/0.4505, allocations: 1.145 MB / 0.5031 GB, free: 54.83 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.4506, allocations: 1.438 kB / 0.5031 GB, free: 54.83 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001119/0.4517, allocations: 0.7595 MB / 0.5039 GB, free: 54.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001244/0.4529, allocations: 169.5 kB / 0.504 GB, free: 54.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003182/0.4561, allocations: 2.249 MB / 0.5062 GB, free: 53.47 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006997/0.4568, allocations: 1.111 MB / 0.5073 GB, free: 52.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001404/0.457, allocations: 59.3 kB / 0.5074 GB, free: 52.76 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.457, allocations: 3.812 kB / 0.5074 GB, free: 52.76 MB / 382.1 MB Notification: Performance of Templates: time 0.02308/0.4801, allocations: 16.88 MB / 0.5239 GB, free: 46.82 MB / 382.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