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.0009983/0.0009984, allocations: 109.7 kB / 17.16 MB, free: 6.328 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.001019/0.001019, allocations: 202.9 kB / 18.08 MB, free: 5.422 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.312/1.312, allocations: 222.9 MB / 241.7 MB, free: 15.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1623/0.1623, allocations: 38.04 MB / 329.9 MB, free: 9.102 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001035/0.001035, allocations: 54.53 kB / 398.7 MB, free: 34.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.111, allocations: 58.07 MB / 456.8 MB, free: 8.574 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Breaker): time 0.007667/0.1187, allocations: 6.829 MB / 463.6 MB, free: 1.707 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003586/0.1223, allocations: 2.298 MB / 465.9 MB, free: 15.4 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003364/0.1227, allocations: 35.75 kB / 466 MB, free: 15.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001202/0.1239, allocations: 492.4 kB / 466.4 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009094/0.1248, allocations: 454.1 kB / 466.9 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006547/0.1255, allocations: 331.4 kB / 467.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001107/0.1266, allocations: 1.438 MB / 468.6 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006067/0.1272, allocations: 471.5 kB / 469.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004169/0.1276, allocations: 398.2 kB / 469.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006283/0.1283, allocations: 0.5567 MB / 470.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.157e-05/0.1284, allocations: 48 kB / 470.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007464/0.1291, allocations: 0.5031 MB / 470.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003365/0.1295, allocations: 358.9 kB / 471 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004085/0.1299, allocations: 437.8 kB / 471.4 MB, free: 9.926 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007581/0.1307, allocations: 0.9082 MB / 472.3 MB, free: 9.016 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.1307, allocations: 0 / 472.3 MB, free: 9.016 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.1307, allocations: 3.938 kB / 472.3 MB, free: 9.012 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.799e-06/0.1307, allocations: 4 kB / 472.3 MB, free: 9.008 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.002256/0.133, allocations: 1.241 MB / 473.5 MB, free: 7.711 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.133, allocations: 12.02 kB / 473.6 MB, free: 7.699 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000659/0.1337, allocations: 135.8 kB / 473.7 MB, free: 7.566 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007655/0.1345, allocations: 0.5579 MB / 474.2 MB, free: 6.969 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.136e-05/0.1345, allocations: 58.38 kB / 474.3 MB, free: 6.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001714/0.1347, allocations: 80.11 kB / 474.4 MB, free: 6.832 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001431/0.1361, allocations: 1.088 MB / 475.5 MB, free: 5.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.455e-05/0.1362, allocations: 4 kB / 475.5 MB, free: 5.676 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.348e-05/0.1363, allocations: 35.98 kB / 475.5 MB, free: 5.641 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001258/0.1364, allocations: 45.98 kB / 475.5 MB, free: 5.594 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001352/0.1377, allocations: 0.9367 MB / 476.5 MB, free: 4.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00479/0.1425, allocations: 4.223 MB / 480.7 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001156/0.1437, allocations: 0.9473 MB / 481.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005732/0.1443, allocations: 443.5 kB / 482.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.784e-05/0.1444, allocations: 16.55 kB / 482.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008568/0.1452, allocations: 0.6318 MB / 482.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of pre-optimization done (n=92): time 2.234e-06/0.1453, allocations: 0 / 482.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=93): time 0.004154/0.1494, allocations: 2.908 MB / 485.6 MB, free: 11.07 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.687e-05/0.1495, allocations: 145.5 kB / 485.8 MB, free: 10.9 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004908/0.15, allocations: 481.7 kB / 486.3 MB, free: 10.42 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.502e-05/0.1501, allocations: 49.69 kB / 486.3 MB, free: 10.37 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002384/0.1503, allocations: 379.8 kB / 486.7 MB, free: 9.988 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000206/0.1505, allocations: 284.1 kB / 487 MB, free: 9.707 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000237/0.1508, allocations: 178.9 kB / 487.1 MB, free: 9.523 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.1509, allocations: 386.8 kB / 487.5 MB, free: 9.137 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005446/0.1515, allocations: 386.4 kB / 487.9 MB, free: 8.762 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006981/0.1522, allocations: 0.6246 MB / 488.5 MB, free: 8.043 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001274/0.1535, allocations: 1.079 MB / 489.6 MB, free: 6.859 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.1535, allocations: 0 / 489.6 MB, free: 6.859 MB / 366.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002662/0.1562, allocations: 1.517 MB / 491.1 MB, free: 5.328 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.218e-05/0.1562, allocations: 43.98 kB / 491.1 MB, free: 5.281 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002102/0.1583, allocations: 1.156 MB / 492.3 MB, free: 4.121 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001241/0.1596, allocations: 441.3 kB / 492.7 MB, free: 3.688 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004168/0.16, allocations: 123.8 kB / 492.9 MB, free: 3.566 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006463/0.1665, allocations: 4.737 MB / 497.6 MB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005784/0.1671, allocations: 55.95 kB / 497.6 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.597e-05/0.1672, allocations: 43.98 kB / 497.7 MB, free: 14.59 MB / 382.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,relay.cnt,$PRE.relay.cnt,$whenCondition1,relay.y[3],$PRE.relay.y[3],relay.y[2],$PRE.relay.y[2],relay.y[1],$PRE.relay.y[1],breaker.breaker_c.opening,breaker.breaker_c.t0,$PRE.breaker.breaker_c.t0,breaker.breaker_c.closed,breaker.breaker_c.open,$PRE.breaker.breaker_c.open,breaker.breaker_c.arc,$PRE.breaker.breaker_c.arc,breaker.breaker_b.opening,breaker.breaker_b.t0,$PRE.breaker.breaker_b.t0,breaker.breaker_b.closed,breaker.breaker_b.open,$PRE.breaker.breaker_b.open,breaker.breaker_b.arc,$PRE.breaker.breaker_b.arc,breaker.breaker_a.opening,breaker.breaker_a.t0,$PRE.breaker.breaker_a.t0,breaker.breaker_a.closed,breaker.breaker_a.open,$PRE.breaker.breaker_a.open,breaker.breaker_a.arc,$PRE.breaker.breaker_a.arc,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,21)} Notification: Performance of prepare postOptimizeDAE: time 0.0004626/0.1676, allocations: 355.2 kB / 498 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001453/0.1678, allocations: 71.16 kB / 498.1 MB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001669/0.1695, allocations: 1.119 MB / 499.2 MB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.161e-05/0.1695, allocations: 19.94 kB / 499.2 MB, free: 13 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.1695, allocations: 0 / 499.2 MB, free: 13 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.1695, allocations: 11.97 kB / 499.3 MB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002997/0.1725, allocations: 2.155 MB / 0.4897 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.1725, allocations: 0 / 0.4897 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005584/0.1731, allocations: 119.8 kB / 0.4898 GB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000155/0.1733, allocations: 94.58 kB / 0.4899 GB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.759e-05/0.1733, allocations: 16 kB / 0.4899 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002535/0.1759, allocations: 3.922 MB / 0.4937 GB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.1759, allocations: 3.938 kB / 0.4937 GB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002375/0.1783, allocations: 1.768 MB / 0.4954 GB, free: 4.383 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001255/0.1784, allocations: 140.3 kB / 0.4956 GB, free: 4.227 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.1785, allocations: 23.98 kB / 0.4956 GB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004317/0.179, allocations: 47.95 kB / 0.4956 GB, free: 4.156 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001811/0.1791, allocations: 84.88 kB / 0.4957 GB, free: 4.074 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.654e-05/0.1792, allocations: 24 kB / 0.4957 GB, free: 4.051 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000338/0.1796, allocations: 323.1 kB / 0.4961 GB, free: 3.734 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1796, allocations: 0 / 0.4961 GB, free: 3.734 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009041/0.1805, allocations: 252 kB / 0.4963 GB, free: 3.488 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 (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,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002841/0.1808, allocations: 181.6 kB / 0.4965 GB, free: 3.297 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002179/0.1829, allocations: 1.354 MB / 0.4978 GB, free: 1.922 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.183, allocations: 0 / 0.4978 GB, free: 1.922 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001067/0.184, allocations: 0.9471 MB / 0.4987 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006512/0.1847, allocations: 105.9 kB / 0.4988 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002873/0.1876, allocations: 2.209 MB / 0.501 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000591/0.1882, allocations: 1.029 MB / 0.502 GB, free: 13.52 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002141/0.1884, allocations: 63.42 kB / 0.502 GB, free: 13.46 MB / 398.1 MB Notification: Performance of SimCode: time 6.32e-07/0.1884, allocations: 3.938 kB / 0.502 GB, free: 13.45 MB / 398.1 MB Notification: Performance of Templates: time 0.2402/0.4286, allocations: 16.42 MB / 0.5181 GB, free: 70.12 MB / 398.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++ -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.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