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.0007632/0.0007633, allocations: 91.69 kB / 17.31 MB, free: 5.59 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.0009488/0.0009488, allocations: 183.6 kB / 18.21 MB, free: 5.191 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.532/1.532, allocations: 223.2 MB / 242.2 MB, free: 216 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2026/0.2026, allocations: 38.1 MB / 331.5 MB, free: 8.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004573/0.0004577, allocations: 8 kB / 401.4 MB, free: 34.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1266, allocations: 59.17 MB / 460.5 MB, free: 7.09 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Breaker): time 0.007927/0.1346, allocations: 6.407 MB / 466.9 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00458/0.1392, allocations: 2.263 MB / 469.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007922/0.14, allocations: 27.81 kB / 469.2 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000588/0.1406, allocations: 111.2 kB / 469.3 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001542/0.1422, allocations: 446.1 kB / 469.8 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001023/0.1433, allocations: 331.5 kB / 470.1 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002035/0.1453, allocations: 1.45 MB / 471.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001425/0.1468, allocations: 0.7807 MB / 472.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007841/0.1476, allocations: 350.4 kB / 472.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001016/0.1486, allocations: 0.541 MB / 473.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001783/0.1488, allocations: 40 kB / 473.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001048/0.1499, allocations: 499.1 kB / 473.7 MB, free: 9.793 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004342/0.1503, allocations: 343 kB / 474.1 MB, free: 9.457 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006312/0.151, allocations: 443.4 kB / 474.5 MB, free: 9.016 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001016/0.152, allocations: 0.8846 MB / 475.4 MB, free: 8.129 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.152, allocations: 0 / 475.4 MB, free: 8.129 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.152, allocations: 0 / 475.4 MB, free: 8.129 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.152, allocations: 0 / 475.4 MB, free: 8.129 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.002189/0.1542, allocations: 1.113 MB / 476.5 MB, free: 6.961 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.1543, allocations: 12.03 kB / 476.5 MB, free: 6.949 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006735/0.155, allocations: 131.8 kB / 476.6 MB, free: 6.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008332/0.1558, allocations: 0.5579 MB / 477.2 MB, free: 6.223 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.079e-05/0.1559, allocations: 62.36 kB / 477.3 MB, free: 6.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002012/0.1561, allocations: 84.11 kB / 477.3 MB, free: 6.078 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001656/0.1578, allocations: 1.08 MB / 478.4 MB, free: 4.934 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.922e-05/0.1578, allocations: 4 kB / 478.4 MB, free: 4.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.641e-05/0.1579, allocations: 35.92 kB / 478.5 MB, free: 4.895 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001378/0.158, allocations: 49.98 kB / 478.5 MB, free: 4.844 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001669/0.1597, allocations: 0.9406 MB / 479.5 MB, free: 3.906 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005493/0.1652, allocations: 4.231 MB / 483.7 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00123/0.1665, allocations: 0.9415 MB / 484.6 MB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006101/0.1671, allocations: 447.5 kB / 485.1 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.884e-05/0.1672, allocations: 16.53 kB / 485.1 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009288/0.1681, allocations: 0.6318 MB / 485.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of pre-optimization done (n=92): time 2.725e-06/0.1681, allocations: 4 kB / 485.7 MB, free: 13.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=93): time 0.004702/0.1728, allocations: 2.9 MB / 488.6 MB, free: 10.31 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000119/0.173, allocations: 153.6 kB / 488.8 MB, free: 10.13 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005862/0.1736, allocations: 473.7 kB / 489.2 MB, free: 9.664 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.924e-05/0.1736, allocations: 53.62 kB / 489.3 MB, free: 9.605 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003135/0.174, allocations: 379.7 kB / 489.7 MB, free: 9.227 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002567/0.1742, allocations: 288.1 kB / 489.9 MB, free: 8.941 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/0.1743, allocations: 93.61 kB / 490 MB, free: 8.844 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001964/0.1746, allocations: 386.8 kB / 490.4 MB, free: 8.457 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007087/0.1753, allocations: 390.4 kB / 490.8 MB, free: 8.074 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008036/0.1761, allocations: 0.6168 MB / 491.4 MB, free: 7.367 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001467/0.1776, allocations: 1.079 MB / 492.5 MB, free: 6.184 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.1776, allocations: 4 kB / 492.5 MB, free: 6.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.003146/0.1807, allocations: 1.51 MB / 494 MB, free: 4.656 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.756e-05/0.1808, allocations: 41.7 kB / 494 MB, free: 4.609 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002386/0.1832, allocations: 1.16 MB / 495.2 MB, free: 3.445 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001383/0.1846, allocations: 437.3 kB / 495.6 MB, free: 3.016 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004731/0.1851, allocations: 127.8 kB / 495.7 MB, free: 2.891 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007677/0.1928, allocations: 4.728 MB / 0.4887 GB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007968/0.1936, allocations: 67.94 kB / 0.4888 GB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001418/0.1938, allocations: 39.94 kB / 0.4888 GB, free: 13.92 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.0007008/0.1945, allocations: 361.6 kB / 0.4892 GB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002578/0.1947, allocations: 67.16 kB / 0.4893 GB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002061/0.1968, allocations: 1.13 MB / 0.4904 GB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-05/0.1969, allocations: 15.94 kB / 0.4904 GB, free: 12.31 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.498e-05/0.1969, allocations: 7.938 kB / 0.4904 GB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.349e-05/0.1969, allocations: 3.984 kB / 0.4904 GB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004586/0.2015, allocations: 2.148 MB / 0.4925 GB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.286e-05/0.2015, allocations: 7.984 kB / 0.4925 GB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006136/0.2022, allocations: 119.8 kB / 0.4926 GB, free: 9.953 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000197/0.2024, allocations: 90.59 kB / 0.4927 GB, free: 9.855 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.301e-05/0.2025, allocations: 19.98 kB / 0.4927 GB, free: 9.836 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003792/0.2063, allocations: 3.929 MB / 0.4965 GB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.2063, allocations: 4.188 kB / 0.4966 GB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002877/0.2092, allocations: 1.764 MB / 0.4983 GB, free: 3.695 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00027/0.2094, allocations: 132.3 kB / 0.4984 GB, free: 3.547 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001389/0.2096, allocations: 28.03 kB / 0.4984 GB, free: 3.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000535/0.2101, allocations: 63.94 kB / 0.4985 GB, free: 3.457 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002168/0.2104, allocations: 76.89 kB / 0.4986 GB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.189e-05/0.2104, allocations: 31.97 kB / 0.4986 GB, free: 3.352 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004914/0.2109, allocations: 331.1 kB / 0.4989 GB, free: 3.027 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2109, allocations: 0 / 0.4989 GB, free: 3.027 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001094/0.212, allocations: 252 kB / 0.4992 GB, free: 2.781 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.0003253/0.2124, allocations: 157.5 kB / 0.4993 GB, free: 2.617 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00246/0.2148, allocations: 1.358 MB / 0.5006 GB, free: 1.238 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.2149, allocations: 0 / 0.5006 GB, free: 1.238 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001278/0.2161, allocations: 0.9385 MB / 0.5015 GB, free: 256 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008254/0.217, allocations: 117.8 kB / 0.5017 GB, free: 140 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2489/0.4659, allocations: 2.283 MB / 0.5039 GB, free: 55.78 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007569/0.4667, allocations: 1.035 MB / 0.5049 GB, free: 55.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004175/0.4671, allocations: 66.92 kB / 0.505 GB, free: 55.06 MB / 382.1 MB Notification: Performance of SimCode: time 1.312e-06/0.4671, allocations: 0 / 0.505 GB, free: 55.06 MB / 382.1 MB Notification: Performance of Templates: time 0.03524/0.5024, allocations: 16.35 MB / 0.5209 GB, free: 49.37 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++ -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