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.0008267/0.000827, allocations: 97.69 kB / 17.31 MB, free: 6.391 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.0009376/0.0009378, allocations: 179.1 kB / 18.21 MB, free: 5.551 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.358/1.358, allocations: 223.2 MB / 242.2 MB, free: 276 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1891/0.1891, allocations: 38.09 MB / 331.5 MB, free: 8.871 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003285/0.0003286, allocations: 8 kB / 401.4 MB, free: 34.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1191, allocations: 59.17 MB / 460.5 MB, free: 7.121 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationFixedInitial): time 0.009511/0.1287, allocations: 8.743 MB / 469.3 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005097/0.1338, allocations: 2.816 MB / 472.1 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007944/0.1346, allocations: 55.62 kB / 472.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006334/0.1353, allocations: 214.6 kB / 472.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001109/0.1364, allocations: 481.9 kB / 472.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001079/0.1375, allocations: 403.3 kB / 473.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001903/0.1394, allocations: 1.976 MB / 475.2 MB, free: 8.398 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001658/0.141, allocations: 1.129 MB / 476.3 MB, free: 7.238 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007259/0.1418, allocations: 461.8 kB / 476.8 MB, free: 6.785 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009196/0.1427, allocations: 0.6735 MB / 477.4 MB, free: 6.109 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.291e-05/0.1428, allocations: 44 kB / 477.5 MB, free: 6.066 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005225/0.1433, allocations: 227.6 kB / 477.7 MB, free: 5.844 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004466/0.1438, allocations: 474.7 kB / 478.2 MB, free: 5.379 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005427/0.1444, allocations: 0.5147 MB / 478.7 MB, free: 4.855 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001031/0.1454, allocations: 0.9858 MB / 479.7 MB, free: 3.867 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1454, allocations: 0 / 479.7 MB, free: 3.867 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1454, allocations: 4 kB / 479.7 MB, free: 3.863 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.403e-05/0.1454, allocations: 0 / 479.7 MB, free: 3.863 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.00207/0.1475, allocations: 1.148 MB / 480.8 MB, free: 2.652 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.1476, allocations: 8.031 kB / 480.8 MB, free: 2.645 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009911/0.1486, allocations: 167.5 kB / 481 MB, free: 2.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001154/0.1497, allocations: 0.6999 MB / 481.7 MB, free: 1.742 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.012e-05/0.1498, allocations: 74.31 kB / 481.8 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002333/0.15, allocations: 108 kB / 481.9 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001722/0.1518, allocations: 1.223 MB / 483.1 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.832e-05/0.1518, allocations: 0 / 483.1 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.573e-05/0.1519, allocations: 36 kB / 483.1 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002579/0.1522, allocations: 69.91 kB / 483.2 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001535/0.1537, allocations: 1.011 MB / 484.2 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005552/0.1593, allocations: 4.783 MB / 489 MB, free: 10.16 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000999/0.1603, allocations: 0.6798 MB / 489.7 MB, free: 9.461 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006243/0.1609, allocations: 451.8 kB / 490.1 MB, free: 9.016 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.979e-05/0.161, allocations: 8.562 kB / 490.1 MB, free: 9.008 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008441/0.1619, allocations: 0.5041 MB / 490.6 MB, free: 8.473 MB / 366.1 MB Notification: Performance of pre-optimization done (n=69): time 2.134e-06/0.1619, allocations: 4 kB / 490.6 MB, free: 8.469 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.00485/0.1667, allocations: 2.788 MB / 493.4 MB, free: 5.594 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001511/0.1669, allocations: 166.8 kB / 493.6 MB, free: 5.395 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007064/0.1676, allocations: 0.5861 MB / 494.2 MB, free: 4.801 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.874e-05/0.1677, allocations: 41.7 kB / 494.2 MB, free: 4.754 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000371/0.1681, allocations: 482.9 kB / 494.7 MB, free: 4.273 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002242/0.1683, allocations: 256.5 kB / 494.9 MB, free: 4.02 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.1684, allocations: 85.67 kB / 495 MB, free: 3.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.1686, allocations: 394.7 kB / 495.4 MB, free: 3.535 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005765/0.1692, allocations: 377.8 kB / 495.8 MB, free: 3.164 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008948/0.1701, allocations: 0.6349 MB / 496.4 MB, free: 2.414 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.0068/0.1769, allocations: 3.453 MB / 499.9 MB, free: 14.79 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.633e-06/0.1769, allocations: 4 kB / 499.9 MB, free: 14.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002387/0.1793, allocations: 1.347 MB / 0.4895 GB, free: 13.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.51e-05/0.1794, allocations: 37.64 kB / 0.4895 GB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/0.1794, allocations: 8 kB / 0.4895 GB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006544/0.1801, allocations: 250.9 kB / 0.4897 GB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/0.1813, allocations: 263.6 kB / 0.49 GB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006902/0.1882, allocations: 5.577 MB / 0.4954 GB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006435/0.1889, allocations: 36.05 kB / 0.4955 GB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001169/0.189, allocations: 47.98 kB / 0.4955 GB, free: 6.789 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,relayNet.cnt,$PRE.relayNet.cnt,$whenCondition1,$PRE.switch.t0,$PRE.switch.closed,$PRE.switch.open,relayNet.y[1],$PRE.relayNet.y[1],switch.closed,switch.open,switch.t0,switch.control[1],$whenCondition2) * 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 (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,7,100.0%), (1,7,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000635/0.1896, allocations: 387.1 kB / 0.4959 GB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001653/0.1898, allocations: 75.06 kB / 0.496 GB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002045/0.1919, allocations: 1.133 MB / 0.4971 GB, free: 5.164 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.172e-05/0.1919, allocations: 8 kB / 0.4971 GB, free: 5.156 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/0.1919, allocations: 8 kB / 0.4971 GB, free: 5.148 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.1919, allocations: 3.984 kB / 0.4971 GB, free: 5.145 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003794/0.1957, allocations: 2.249 MB / 0.4993 GB, free: 2.809 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.1958, allocations: 160 / 0.4993 GB, free: 2.809 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009139/0.1967, allocations: 195.7 kB / 0.4995 GB, free: 2.617 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007218/0.1974, allocations: 250.2 kB / 0.4997 GB, free: 2.363 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.3e-05/0.1975, allocations: 27.98 kB / 0.4997 GB, free: 2.336 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2563/0.4538, allocations: 5.499 MB / 0.5051 GB, free: 53.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/0.4539, allocations: 2.906 kB / 0.5051 GB, free: 53.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002778/0.4567, allocations: 1.648 MB / 0.5067 GB, free: 52.91 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001752/0.4569, allocations: 146.3 kB / 0.5069 GB, free: 52.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.457, allocations: 24.88 kB / 0.5069 GB, free: 52.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004015/0.4574, allocations: 26.2 kB / 0.5069 GB, free: 52.82 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001608/0.4576, allocations: 58.22 kB / 0.507 GB, free: 52.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.624e-05/0.4576, allocations: 27.05 kB / 0.507 GB, free: 52.82 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005663/0.4582, allocations: 416.9 kB / 0.5074 GB, free: 52.72 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4582, allocations: 0 / 0.5074 GB, free: 52.72 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001122/0.4593, allocations: 272.4 kB / 0.5076 GB, free: 52.72 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 (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,7,100.0%), (1,7,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002379/0.4596, allocations: 139.7 kB / 0.5078 GB, free: 52.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002163/0.4617, allocations: 1.388 MB / 0.5091 GB, free: 52.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/0.4618, allocations: 3.625 kB / 0.5091 GB, free: 52.02 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001322/0.4631, allocations: 0.9126 MB / 0.51 GB, free: 51.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009968/0.4641, allocations: 171.3 kB / 0.5102 GB, free: 51.39 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003642/0.4678, allocations: 2.755 MB / 0.5129 GB, free: 49.9 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000719/0.4685, allocations: 1.126 MB / 0.514 GB, free: 49.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002116/0.4687, allocations: 61.44 kB / 0.514 GB, free: 49.14 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4687, allocations: 1.406 kB / 0.514 GB, free: 49.14 MB / 382.1 MB Notification: Performance of Templates: time 0.02554/0.4943, allocations: 20.93 MB / 0.5345 GB, free: 36.66 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++ -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.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