Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationFixedInitial.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.SimulationFixedInitial,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.SimulationFixedInitial") translateModel(PowerSystems.Examples.Introductory.SimulationFixedInitial,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.SimulationFixedInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008335/0.0008336, allocations: 94.41 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.0009283/0.0009283, allocations: 186.3 kB / 17.85 MB, free: 5.32 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.31/1.31, allocations: 223.2 MB / 241.9 MB, free: 14.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1681/0.1681, allocations: 38.08 MB / 331 MB, free: 8.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000302/0.000302, allocations: 8 kB / 400.7 MB, free: 34.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1111, allocations: 59.16 MB / 459.9 MB, free: 7.414 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationFixedInitial): time 0.009067/0.1202, allocations: 8.227 MB / 468.1 MB, free: 15.15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005388/0.1256, allocations: 2.685 MB / 470.8 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009774/0.1266, allocations: 59.56 kB / 470.8 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008353/0.1275, allocations: 266.1 kB / 471.1 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00154/0.129, allocations: 0.5791 MB / 471.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001395/0.1304, allocations: 467.2 kB / 472.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001662/0.1321, allocations: 1.562 MB / 473.7 MB, free: 9.535 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001711/0.1338, allocations: 0.9943 MB / 474.7 MB, free: 8.508 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008937/0.1347, allocations: 477.9 kB / 475.1 MB, free: 8.039 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009514/0.1357, allocations: 0.662 MB / 475.8 MB, free: 7.375 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.247e-05/0.1358, allocations: 40 kB / 475.8 MB, free: 7.336 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004906/0.1363, allocations: 187.7 kB / 476 MB, free: 7.152 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004614/0.1368, allocations: 486.7 kB / 476.5 MB, free: 6.676 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002586/0.137, allocations: 217.1 kB / 476.7 MB, free: 6.457 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001058/0.1381, allocations: 0.9781 MB / 477.7 MB, free: 5.477 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1381, allocations: 0 / 477.7 MB, free: 5.477 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.1381, allocations: 0 / 477.7 MB, free: 5.477 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.13e-05/0.1382, allocations: 4 kB / 477.7 MB, free: 5.473 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.002183/0.1403, allocations: 1.159 MB / 478.9 MB, free: 4.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.1404, allocations: 12.03 kB / 478.9 MB, free: 4.238 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009004/0.1413, allocations: 170.5 kB / 479 MB, free: 4.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001116/0.1424, allocations: 0.6873 MB / 479.7 MB, free: 3.344 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.692e-05/0.1425, allocations: 73.97 kB / 479.8 MB, free: 3.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002166/0.1427, allocations: 99.98 kB / 479.9 MB, free: 3.172 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001756/0.1445, allocations: 1.22 MB / 481.1 MB, free: 1.883 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.918e-05/0.1445, allocations: 7.938 kB / 481.1 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.996e-05/0.1446, allocations: 32 kB / 481.2 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002248/0.1449, allocations: 65.92 kB / 481.2 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001546/0.1464, allocations: 1.007 MB / 482.2 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005848/0.1523, allocations: 4.779 MB / 487 MB, free: 11.79 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/0.1534, allocations: 0.672 MB / 487.7 MB, free: 11.09 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006214/0.154, allocations: 459.8 kB / 488.1 MB, free: 10.64 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.603e-05/0.1541, allocations: 8.547 kB / 488.1 MB, free: 10.63 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007564/0.1548, allocations: 0.5119 MB / 488.6 MB, free: 10.09 MB / 366.1 MB Notification: Performance of pre-optimization done (n=69): time 2.976e-06/0.1548, allocations: 0 / 488.6 MB, free: 10.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.005101/0.1599, allocations: 2.784 MB / 491.4 MB, free: 7.223 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001562/0.1601, allocations: 166.8 kB / 491.6 MB, free: 7.023 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007136/0.1609, allocations: 0.5939 MB / 492.2 MB, free: 6.422 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.25e-05/0.1609, allocations: 45.69 kB / 492.2 MB, free: 6.371 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003825/0.1613, allocations: 482.8 kB / 492.7 MB, free: 5.891 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002133/0.1615, allocations: 252.5 kB / 492.9 MB, free: 5.641 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-05/0.1616, allocations: 16 kB / 493 MB, free: 5.625 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001946/0.1618, allocations: 394.7 kB / 493.3 MB, free: 5.23 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005619/0.1624, allocations: 369.8 kB / 493.7 MB, free: 4.867 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007117/0.1631, allocations: 0.6271 MB / 494.3 MB, free: 4.125 MB / 366.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: lineR.i[1] = lineR.i_start[1] (lineL.i_start[1] - lineB.i_start[1] = lineR.i_start[1]) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: lineR.i[2] = lineR.i_start[2] (lineL.i_start[2] - lineB.i_start[2] = lineR.i_start[2]) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: lineR.i[3] = lineR.i_start[3] (lineL.i_start[3] - lineB.i_start[3] = lineR.i_start[3]) Notification: Performance of analyzeInitialSystem (initialization): time 0.005216/0.1683, allocations: 2.516 MB / 496.9 MB, free: 1.555 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/0.1683, allocations: 7.938 kB / 496.9 MB, free: 1.547 MB / 366.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002116/0.1704, allocations: 1.328 MB / 498.2 MB, free: 200 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.464e-05/0.1705, allocations: 42.41 kB / 498.2 MB, free: 152 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/0.1705, allocations: 11.94 kB / 498.2 MB, free: 140 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005977/0.1711, allocations: 246.5 kB / 498.5 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/0.1722, allocations: 267.5 kB / 498.7 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005705/0.1779, allocations: 5.574 MB / 0.4925 GB, free: 9.645 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006713/0.1786, allocations: 39.89 kB / 0.4925 GB, free: 9.605 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-05/0.1787, allocations: 40 kB / 0.4926 GB, free: 9.566 MB / 382.1 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: lineR.i[1] = lineR.i_start[1] lineR.i[2] = lineR.i_start[2] lineR.i[3] = lineR.i_start[3]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 14 (system.initime,$whenCondition1,$PRE.relayNet.cnt,relayNet.cnt,$whenCondition2,switch.control[1],$PRE.switch.t0,switch.t0,$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 (99): * Single equations (assignments): 94 * Array equations: 1 * Algorithm blocks: 1 * 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%) 7,(1,100.0%) 7,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006123/0.1793, allocations: 376.8 kB / 0.4929 GB, free: 9.184 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/0.1794, allocations: 79.06 kB / 0.493 GB, free: 9.105 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001926/0.1813, allocations: 1.145 MB / 0.4941 GB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.749e-05/0.1814, allocations: 8 kB / 0.4941 GB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.1814, allocations: 4.125 kB / 0.4941 GB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.325e-06/0.1814, allocations: 3.984 kB / 0.4941 GB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003329/0.1847, allocations: 2.257 MB / 0.4963 GB, free: 5.574 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.206e-06/0.1847, allocations: 4 kB / 0.4963 GB, free: 5.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007922/0.1855, allocations: 179.8 kB / 0.4965 GB, free: 5.395 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006225/0.1862, allocations: 246.4 kB / 0.4968 GB, free: 5.145 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.787e-05/0.1862, allocations: 27.97 kB / 0.4968 GB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2461/0.4323, allocations: 5.492 MB / 0.5021 GB, free: 53.88 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/0.4324, allocations: 7.625 kB / 0.5022 GB, free: 53.88 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003085/0.4355, allocations: 1.644 MB / 0.5038 GB, free: 53.64 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003235/0.4358, allocations: 148 kB / 0.5039 GB, free: 53.54 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/0.4359, allocations: 22.69 kB / 0.5039 GB, free: 53.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003891/0.4363, allocations: 25.72 kB / 0.5039 GB, free: 53.54 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001837/0.4365, allocations: 62.39 kB / 0.504 GB, free: 53.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.685e-05/0.4366, allocations: 23.14 kB / 0.504 GB, free: 53.54 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006877/0.4373, allocations: 416.7 kB / 0.5044 GB, free: 53.45 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4373, allocations: 0 / 0.5044 GB, free: 53.45 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001321/0.4386, allocations: 271.8 kB / 0.5047 GB, free: 53.45 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (lineL.i[1],lineL.i[2],lineL.i[3],lineB.i[1],lineB.i[2],lineB.i[3]) * Number of discrete variables: 9 (switch.control[1],$whenCondition2,$whenCondition1,switch.t0,switch.open,switch.closed,relayNet.y[1],relayNet.cnt,system.initime) * Number of discrete states: 5 (relayNet.y[1],relayNet.cnt,$whenCondition1,switch.open,switch.closed) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 48 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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%) 7,(1,100.0%) 7,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002091/0.4388, allocations: 136.5 kB / 0.5048 GB, free: 53.36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002146/0.441, allocations: 1.379 MB / 0.5062 GB, free: 52.95 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.441, allocations: 0 / 0.5062 GB, free: 52.95 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001277/0.4423, allocations: 0.9244 MB / 0.5071 GB, free: 52.54 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008576/0.4432, allocations: 171.1 kB / 0.5072 GB, free: 52.54 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003909/0.4471, allocations: 2.7 MB / 0.5099 GB, free: 51.2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008154/0.4479, allocations: 1.115 MB / 0.511 GB, free: 50.45 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002383/0.4482, allocations: 65.22 kB / 0.511 GB, free: 50.44 MB / 382.1 MB Notification: Performance of SimCode: time 8.02e-07/0.4482, allocations: 5.406 kB / 0.511 GB, free: 50.43 MB / 382.1 MB Notification: Performance of Templates: time 0.02755/0.4757, allocations: 20.95 MB / 0.5315 GB, free: 39.22 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationFixedInitial.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationFixedInitial.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.SimulationFixedInitialCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.Introductory.SimulationFixedInitialCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.Introductory.SimulationFixedInitialCalcHelperMain.o] Error 1