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.0007821/0.000782, allocations: 91.45 kB / 16.95 MB, free: 5.582 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.000779/0.000779, allocations: 187.6 kB / 17.85 MB, free: 5.246 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.306/1.306, allocations: 223.3 MB / 241.9 MB, free: 14.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1673/0.1673, allocations: 38.09 MB / 331.1 MB, free: 8.617 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000348/0.000348, allocations: 8 kB / 400.7 MB, free: 34.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1205, allocations: 59.17 MB / 459.9 MB, free: 7.383 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyState): time 0.008398/0.129, allocations: 8.227 MB / 468.1 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005333/0.1344, allocations: 2.681 MB / 470.8 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000936/0.1354, allocations: 59.62 kB / 470.8 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007748/0.1361, allocations: 262.1 kB / 471.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00171/0.1379, allocations: 0.5908 MB / 471.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001454/0.1393, allocations: 463.2 kB / 472.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001943/0.1413, allocations: 1.523 MB / 473.7 MB, free: 9.543 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001741/0.143, allocations: 0.9982 MB / 474.7 MB, free: 8.512 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008869/0.1439, allocations: 453.9 kB / 475.1 MB, free: 8.066 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009829/0.1449, allocations: 0.6425 MB / 475.7 MB, free: 7.422 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.464e-05/0.145, allocations: 36 kB / 475.8 MB, free: 7.387 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004674/0.1455, allocations: 155.8 kB / 475.9 MB, free: 7.234 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004498/0.146, allocations: 454.8 kB / 476.4 MB, free: 6.789 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002359/0.1462, allocations: 209.2 kB / 476.6 MB, free: 6.578 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009077/0.1471, allocations: 0.9157 MB / 477.5 MB, free: 5.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.1471, allocations: 0 / 477.5 MB, free: 5.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.627e-06/0.1471, allocations: 0 / 477.5 MB, free: 5.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.73e-05/0.1472, allocations: 3.938 kB / 477.5 MB, free: 5.656 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.001974/0.1492, allocations: 1.142 MB / 478.6 MB, free: 4.453 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.1492, allocations: 8.031 kB / 478.6 MB, free: 4.445 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008268/0.15, allocations: 166.5 kB / 478.8 MB, free: 4.281 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001063/0.1511, allocations: 0.664 MB / 479.5 MB, free: 3.578 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.753e-05/0.1512, allocations: 58 kB / 479.5 MB, free: 3.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.1513, allocations: 91.89 kB / 479.6 MB, free: 3.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00169/0.153, allocations: 1.171 MB / 480.8 MB, free: 2.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.744e-05/0.153, allocations: 4 kB / 480.8 MB, free: 2.176 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.591e-05/0.1531, allocations: 35.98 kB / 480.8 MB, free: 2.141 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.132e-05/0.1532, allocations: 57.92 kB / 480.9 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001696/0.1549, allocations: 0.9249 MB / 481.8 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005979/0.1609, allocations: 4.807 MB / 486.6 MB, free: 12.14 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001295/0.1623, allocations: 0.6717 MB / 487.3 MB, free: 11.44 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005929/0.1629, allocations: 383.8 kB / 487.7 MB, free: 11.06 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.942e-05/0.1629, allocations: 12.55 kB / 487.7 MB, free: 11.05 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007587/0.1637, allocations: 439.8 kB / 488.1 MB, free: 10.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 3.908e-06/0.1637, allocations: 0 / 488.1 MB, free: 10.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.00542/0.1691, allocations: 2.44 MB / 490.5 MB, free: 8.082 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001118/0.1693, allocations: 166.8 kB / 490.7 MB, free: 7.883 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007047/0.17, allocations: 0.5938 MB / 491.3 MB, free: 7.281 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.63e-05/0.17, allocations: 41.7 kB / 491.3 MB, free: 7.234 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004381/0.1705, allocations: 490.6 kB / 491.8 MB, free: 6.746 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002359/0.1707, allocations: 213 kB / 492 MB, free: 6.535 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.772e-05/0.1708, allocations: 24 kB / 492.1 MB, free: 6.512 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000204/0.171, allocations: 390.8 kB / 492.4 MB, free: 6.121 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005575/0.1716, allocations: 277.8 kB / 492.7 MB, free: 5.848 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008387/0.1724, allocations: 0.5524 MB / 493.3 MB, free: 5.172 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006359/0.173, allocations: 407.6 kB / 493.7 MB, free: 4.766 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.1731, allocations: 4 kB / 493.7 MB, free: 4.762 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002124/0.1752, allocations: 1.223 MB / 494.9 MB, free: 3.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.875e-05/0.1753, allocations: 33.7 kB / 494.9 MB, free: 3.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/0.1753, allocations: 8 kB / 494.9 MB, free: 3.473 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000964/0.1762, allocations: 338.1 kB / 495.3 MB, free: 3.137 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004748/0.1767, allocations: 151.7 kB / 495.4 MB, free: 2.988 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006261/0.183, allocations: 4.937 MB / 0.4886 GB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006327/0.1837, allocations: 36.03 kB / 0.4886 GB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.98e-05/0.1838, allocations: 36 kB / 0.4887 GB, free: 13.69 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,$whenCondition1,$PRE.relayNet.cnt,relayNet.cnt,switch.control[1],$PRE.switch.open,switch.open,$PRE.switch.closed,switch.closed,$PRE.relayNet.y[1],relayNet.y[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 (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 {(3,100.0%) 17,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005565/0.1843, allocations: 355.1 kB / 0.489 GB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.1844, allocations: 83.05 kB / 0.4891 GB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001877/0.1863, allocations: 1.04 MB / 0.4901 GB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.1863, allocations: 8 kB / 0.4901 GB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.1863, allocations: 4 kB / 0.4901 GB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.1864, allocations: 7.984 kB / 0.4901 GB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003302/0.1897, allocations: 2.059 MB / 0.4921 GB, free: 10.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.1897, allocations: 3.938 kB / 0.4921 GB, free: 10.01 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002982/0.19, allocations: 80.05 kB / 0.4922 GB, free: 9.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008108/0.1908, allocations: 309.4 kB / 0.4925 GB, free: 9.621 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.489e-05/0.1909, allocations: 16 kB / 0.4925 GB, free: 9.605 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006131/0.197, allocations: 4.886 MB / 0.4973 GB, free: 4.422 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.1971, allocations: 0 / 0.4973 GB, free: 4.422 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002009/0.1991, allocations: 1.115 MB / 0.4984 GB, free: 3.262 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000209/0.1993, allocations: 148.2 kB / 0.4985 GB, free: 3.098 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.385e-05/0.1994, allocations: 19.94 kB / 0.4986 GB, free: 3.078 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003007/0.1997, allocations: 19.98 kB / 0.4986 GB, free: 3.059 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/0.1998, allocations: 52.48 kB / 0.4986 GB, free: 3.004 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.152e-05/0.1999, allocations: 16 kB / 0.4986 GB, free: 2.988 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000514/0.2004, allocations: 419 kB / 0.499 GB, free: 2.582 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.2004, allocations: 0 / 0.499 GB, free: 2.582 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00113/0.2016, allocations: 268 kB / 0.4993 GB, free: 2.32 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 (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 {(3,100.0%) 17,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001832/0.2017, allocations: 120 kB / 0.4994 GB, free: 2.195 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00197/0.2037, allocations: 1.145 MB / 0.5005 GB, free: 1.016 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.2037, allocations: 4.062 kB / 0.5005 GB, free: 1.012 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001019/0.2048, allocations: 0.7555 MB / 0.5013 GB, free: 224 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008405/0.2056, allocations: 170.1 kB / 0.5014 GB, free: 60 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2187/0.4243, allocations: 2.197 MB / 0.5036 GB, free: 54.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007029/0.425, allocations: 1.101 MB / 0.5046 GB, free: 54.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001687/0.4252, allocations: 58.69 kB / 0.5047 GB, free: 54.14 MB / 382.1 MB Notification: Performance of SimCode: time 7.81e-07/0.4252, allocations: 0 / 0.5047 GB, free: 54.14 MB / 382.1 MB Notification: Performance of Templates: time 0.02613/0.4514, allocations: 16.95 MB / 0.5213 GB, free: 48.28 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++ 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.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