Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Breaker.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.AC3ph.Elementary.Breaker,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,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.AC3ph.Elementary.Breaker") translateModel(PowerSystems.Examples.AC3ph.Elementary.Breaker,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,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.AC3ph.Elementary.Breaker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007547/0.0007547, allocations: 94.05 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.0008113/0.0008114, allocations: 180.8 kB / 17.84 MB, free: 5.324 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.334/1.334, allocations: 223.2 MB / 241.9 MB, free: 308 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1709/0.1709, allocations: 38.09 MB / 331.1 MB, free: 8.859 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003152/0.0003152, allocations: 8.688 kB / 400.7 MB, free: 34.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1106, allocations: 59.17 MB / 459.9 MB, free: 7.414 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Breaker): time 0.00614/0.1168, allocations: 6.064 MB / 465.9 MB, free: 1.32 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003534/0.1204, allocations: 2.143 MB / 468.1 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004535/0.1208, allocations: 27.81 kB / 468.1 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004071/0.1213, allocations: 131 kB / 468.2 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001069/0.1223, allocations: 481.8 kB / 468.7 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007244/0.1231, allocations: 307.3 kB / 469 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001179/0.1243, allocations: 1.189 MB / 470.2 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001006/0.1253, allocations: 0.7145 MB / 470.9 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004421/0.1257, allocations: 366.4 kB / 471.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000639/0.1264, allocations: 0.5334 MB / 471.8 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.522e-05/0.1265, allocations: 40 kB / 471.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006886/0.1272, allocations: 463.2 kB / 472.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003/0.1275, allocations: 343 kB / 472.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001594/0.1277, allocations: 181.3 kB / 472.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007295/0.1284, allocations: 0.8885 MB / 473.7 MB, free: 9.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.1284, allocations: 4 kB / 473.7 MB, free: 9.496 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1284, allocations: 0 / 473.7 MB, free: 9.496 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.1284, allocations: 0 / 473.7 MB, free: 9.496 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: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.001839/0.1303, allocations: 1.109 MB / 474.8 MB, free: 8.328 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.1303, allocations: 8.031 kB / 474.8 MB, free: 8.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005972/0.1309, allocations: 134.8 kB / 474.9 MB, free: 8.188 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007381/0.1317, allocations: 0.5414 MB / 475.5 MB, free: 7.609 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.685e-05/0.1317, allocations: 61.98 kB / 475.5 MB, free: 7.547 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001573/0.1319, allocations: 83.92 kB / 475.6 MB, free: 7.465 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001437/0.1333, allocations: 1.076 MB / 476.7 MB, free: 6.324 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.1334, allocations: 4 kB / 476.7 MB, free: 6.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.447e-05/0.1335, allocations: 39.97 kB / 476.7 MB, free: 6.281 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001107/0.1336, allocations: 53.92 kB / 476.8 MB, free: 6.227 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001343/0.1349, allocations: 0.9367 MB / 477.7 MB, free: 5.293 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004564/0.1395, allocations: 4.242 MB / 482 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/0.1406, allocations: 0.9362 MB / 482.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005664/0.1412, allocations: 443.5 kB / 483.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.073e-05/0.1413, allocations: 12.56 kB / 483.4 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008675/0.1422, allocations: 0.6396 MB / 484 MB, free: 14.74 MB / 366.1 MB Notification: Performance of pre-optimization done (n=92): time 2.655e-06/0.1422, allocations: 0 / 484 MB, free: 14.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=93): time 0.004202/0.1464, allocations: 2.908 MB / 486.9 MB, free: 11.69 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/0.1465, allocations: 153.5 kB / 487.1 MB, free: 11.51 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005004/0.147, allocations: 469.8 kB / 487.5 MB, free: 11.05 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.676e-05/0.1471, allocations: 53.7 kB / 487.6 MB, free: 10.99 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002652/0.1474, allocations: 383.6 kB / 487.9 MB, free: 10.61 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000215/0.1476, allocations: 280.1 kB / 488.2 MB, free: 10.33 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.673e-05/0.1476, allocations: 24 kB / 488.2 MB, free: 10.3 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.1478, allocations: 378.8 kB / 488.6 MB, free: 9.926 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005814/0.1484, allocations: 390.4 kB / 489 MB, free: 9.543 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007136/0.1491, allocations: 0.6168 MB / 489.6 MB, free: 8.836 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000651/0.1498, allocations: 484.5 kB / 490.1 MB, free: 8.355 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.1498, allocations: 0 / 490.1 MB, free: 8.355 MB / 366.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002641/0.1524, allocations: 1.522 MB / 491.6 MB, free: 6.82 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.575e-05/0.1525, allocations: 37.64 kB / 491.6 MB, free: 6.777 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002102/0.1546, allocations: 1.148 MB / 492.8 MB, free: 5.625 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001271/0.1559, allocations: 437.6 kB / 493.2 MB, free: 5.195 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004382/0.1563, allocations: 131.7 kB / 493.3 MB, free: 5.066 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006789/0.1631, allocations: 4.69 MB / 498 MB, free: 244 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006838/0.1638, allocations: 71.84 kB / 498.1 MB, free: 172 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.838e-05/0.1639, allocations: 44 kB / 498.1 MB, free: 128 kB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 46 (system.initime,$whenCondition1,$PRE.relay.cnt,relay.cnt,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$PRE.breaker.breaker_a.arc,breaker.breaker_a.arc,$PRE.breaker.breaker_a.open,breaker.breaker_a.open,breaker.breaker_a.closed,$PRE.breaker.breaker_a.t0,breaker.breaker_a.t0,breaker.breaker_a.opening,$PRE.breaker.breaker_b.arc,breaker.breaker_b.arc,$PRE.breaker.breaker_b.open,breaker.breaker_b.open,breaker.breaker_b.closed,$PRE.breaker.breaker_b.t0,breaker.breaker_b.t0,breaker.breaker_b.opening,$PRE.breaker.breaker_c.arc,breaker.breaker_c.arc,$PRE.breaker.breaker_c.open,breaker.breaker_c.open,breaker.breaker_c.closed,$PRE.breaker.breaker_c.t0,breaker.breaker_c.t0,breaker.breaker_c.opening,$PRE.relay.y[1],relay.y[1],$PRE.relay.y[2],relay.y[2],$PRE.relay.y[3],relay.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 102 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 21} Notification: Performance of prepare postOptimizeDAE: time 0.0005275/0.1645, allocations: 351.4 kB / 498.5 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/0.1646, allocations: 71.2 kB / 498.6 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001773/0.1664, allocations: 1.134 MB / 499.7 MB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.089e-05/0.1664, allocations: 19.94 kB / 499.7 MB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1664, allocations: 0 / 499.7 MB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.622e-05/0.1664, allocations: 7.984 kB / 499.7 MB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003245/0.1697, allocations: 2.151 MB / 0.4901 GB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.1697, allocations: 0 / 0.4901 GB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005592/0.1703, allocations: 119.8 kB / 0.4902 GB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001662/0.1705, allocations: 94.53 kB / 0.4903 GB, free: 12.06 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-05/0.1705, allocations: 20 kB / 0.4903 GB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002713/0.1733, allocations: 3.918 MB / 0.4942 GB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.1733, allocations: 4.031 kB / 0.4942 GB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002594/0.1759, allocations: 1.764 MB / 0.4959 GB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001981/0.1761, allocations: 148.3 kB / 0.496 GB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.1762, allocations: 24 kB / 0.496 GB, free: 5.727 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000424/0.1766, allocations: 55.94 kB / 0.4961 GB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001976/0.1768, allocations: 84.81 kB / 0.4962 GB, free: 5.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-05/0.1769, allocations: 35.98 kB / 0.4962 GB, free: 5.555 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003904/0.1773, allocations: 311.1 kB / 0.4965 GB, free: 5.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1773, allocations: 0 / 0.4965 GB, free: 5.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009933/0.1783, allocations: 260 kB / 0.4968 GB, free: 4.996 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * Number of discrete variables: 33 (breaker.breaker_c.closed,breaker.breaker_a.closed,breaker.breaker_b.closed,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,breaker.breaker_a.arc,breaker.breaker_a.open,breaker.breaker_a.t0,breaker.breaker_a.opening,breaker.breaker_b.arc,breaker.breaker_b.open,breaker.breaker_b.t0,breaker.breaker_b.opening,breaker.breaker_c.arc,breaker.breaker_c.open,breaker.breaker_c.t0,breaker.breaker_c.opening,relay.y[1],relay.y[2],relay.y[3],relay.cnt,system.initime) * Number of discrete states: 11 (breaker.breaker_a.arc,breaker.breaker_b.arc,breaker.breaker_c.arc,relay.y[3],relay.y[2],relay.y[1],relay.cnt,$whenCondition1,breaker.breaker_b.open,breaker.breaker_a.open,breaker.breaker_c.open) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 72 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 7 * 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%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002836/0.1786, allocations: 157.7 kB / 0.4969 GB, free: 4.836 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002149/0.1808, allocations: 1.361 MB / 0.4982 GB, free: 3.453 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.1808, allocations: 0 / 0.4982 GB, free: 3.453 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001101/0.1819, allocations: 0.9432 MB / 0.4992 GB, free: 2.461 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006603/0.1826, allocations: 124.1 kB / 0.4993 GB, free: 2.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003033/0.1856, allocations: 2.244 MB / 0.5015 GB, free: 60 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2062/0.3918, allocations: 1.023 MB / 0.5025 GB, free: 55.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003564/0.3922, allocations: 63.5 kB / 0.5025 GB, free: 55.11 MB / 382.1 MB Notification: Performance of SimCode: time 1.383e-06/0.3922, allocations: 0 / 0.5025 GB, free: 55.11 MB / 382.1 MB Notification: Performance of Templates: time 0.02405/0.4163, allocations: 16.37 MB / 0.5185 GB, free: 49.95 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Breaker.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Breaker.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.AC3ph.Elementary.BreakerCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.BreakerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.BreakerCalcHelperMain.o] Error 1