Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.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.AC1ph_DC.Elementary.Breaker,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008015/0.0008062, allocations: 90.89 kB / 17.31 MB, free: 5.664 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.0009238/0.0009238, allocations: 179.2 kB / 18.21 MB, free: 5.25 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.366/1.366, allocations: 223.2 MB / 242.2 MB, free: 14.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1833/0.1833, allocations: 38.08 MB / 331.4 MB, free: 8.605 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003509/0.000351, allocations: 8 kB / 401.4 MB, free: 34.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1222, allocations: 59.16 MB / 460.5 MB, free: 7.055 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker): time 0.006335/0.1286, allocations: 5.543 MB / 466.1 MB, free: 1.48 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002453/0.1311, allocations: 1.325 MB / 467.4 MB, free: 156 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002793/0.1314, allocations: 27.81 kB / 467.4 MB, free: 128 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003411/0.1318, allocations: 75.5 kB / 467.5 MB, free: 52 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000648/0.1324, allocations: 290.7 kB / 467.8 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000313/0.1328, allocations: 123.9 kB / 467.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001063/0.1338, allocations: 1.087 MB / 469 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003062/0.1342, allocations: 168.3 kB / 469.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004448/0.1346, allocations: 258.7 kB / 469.4 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005943/0.1352, allocations: 358.7 kB / 469.8 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.231e-05/0.1353, allocations: 20 kB / 469.8 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.23e-05/0.1354, allocations: 24 kB / 469.8 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002209/0.1356, allocations: 179.5 kB / 470 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002683/0.1359, allocations: 260.4 kB / 470.2 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000415/0.1363, allocations: 410.9 kB / 470.6 MB, free: 12.9 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1363, allocations: 0 / 470.6 MB, free: 12.9 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1363, allocations: 0 / 470.6 MB, free: 12.9 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.1363, allocations: 0 / 470.6 MB, free: 12.9 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001475/0.1378, allocations: 0.7569 MB / 471.4 MB, free: 12.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.1379, allocations: 8.031 kB / 471.4 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000108/0.138, allocations: 52.36 kB / 471.4 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006165/0.1386, allocations: 432.5 kB / 471.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.309e-05/0.1386, allocations: 29.12 kB / 471.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.275e-05/0.1387, allocations: 36 kB / 471.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007404/0.1395, allocations: 490.5 kB / 472.4 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.1395, allocations: 4 kB / 472.4 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.291e-05/0.1395, allocations: 19.98 kB / 472.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001072/0.1397, allocations: 28.62 kB / 472.5 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005945/0.1403, allocations: 362.6 kB / 472.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002395/0.1427, allocations: 1.726 MB / 474.5 MB, free: 8.773 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006572/0.1433, allocations: 398.2 kB / 474.9 MB, free: 8.348 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004683/0.1438, allocations: 225.6 kB / 475.2 MB, free: 8.121 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.192e-05/0.1439, allocations: 7.938 kB / 475.2 MB, free: 8.113 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004786/0.1444, allocations: 287.5 kB / 475.4 MB, free: 7.805 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 2.234e-06/0.1444, allocations: 0 / 475.4 MB, free: 7.805 MB / 350.1 MB Notification: Performance of matching and sorting (n=36): time 0.002424/0.1468, allocations: 1.405 MB / 476.8 MB, free: 6.285 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001263/0.1469, allocations: 144.5 kB / 477 MB, free: 6.113 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004841/0.1474, allocations: 369.6 kB / 477.4 MB, free: 5.742 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.556e-05/0.1475, allocations: 33.7 kB / 477.4 MB, free: 5.703 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002161/0.1478, allocations: 259.9 kB / 477.6 MB, free: 5.441 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.193e-05/0.1479, allocations: 106.6 kB / 477.7 MB, free: 5.336 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.333e-05/0.1479, allocations: 45.7 kB / 477.8 MB, free: 5.285 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001781/0.1481, allocations: 350.8 kB / 478.1 MB, free: 4.934 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002276/0.1483, allocations: 137 kB / 478.3 MB, free: 4.801 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000306/0.1487, allocations: 260.1 kB / 478.5 MB, free: 4.492 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005237/0.1492, allocations: 449.4 kB / 479 MB, free: 3.988 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.1492, allocations: 4 kB / 479 MB, free: 3.984 MB / 350.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000862/0.1501, allocations: 0.5465 MB / 479.5 MB, free: 3.418 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.412e-05/0.1501, allocations: 37.73 kB / 479.5 MB, free: 3.375 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.1501, allocations: 4 kB / 479.5 MB, free: 3.371 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000288/0.1504, allocations: 81.61 kB / 479.6 MB, free: 3.285 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002787/0.1507, allocations: 71.83 kB / 479.7 MB, free: 3.215 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00213/0.1529, allocations: 2.792 MB / 482.5 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002693/0.1532, allocations: 28.03 kB / 482.5 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.228e-05/0.1532, allocations: 23.98 kB / 482.5 MB, free: 112 kB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 18 (system.initime,breaker.breaker_1.opening,breaker.breaker_1.t0,$PRE.breaker.breaker_1.t0,breaker.breaker_1.closed,breaker.breaker_1.open,$PRE.breaker.breaker_1.open,breaker.breaker_1.arc,$PRE.breaker.breaker_1.arc,relay.y[1],$PRE.relay.y[1],$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,relay.cnt,$PRE.relay.cnt,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000295/0.1535, allocations: 243.4 kB / 482.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.043e-05/0.1536, allocations: 43.44 kB / 482.8 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008386/0.1544, allocations: 0.4929 MB / 483.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.1544, allocations: 4 kB / 483.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.1544, allocations: 0 / 483.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.1545, allocations: 3.984 kB / 483.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001476/0.1559, allocations: 1.06 MB / 484.4 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.1559, allocations: 0 / 484.4 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002039/0.1562, allocations: 43.92 kB / 484.4 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002542/0.1564, allocations: 89.66 kB / 484.5 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.975e-05/0.1565, allocations: 15.94 kB / 484.5 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002105/0.1586, allocations: 2.79 MB / 487.3 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/0.1586, allocations: 12.23 kB / 487.3 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/0.1598, allocations: 0.7794 MB / 488.1 MB, free: 10.13 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.928e-05/0.1599, allocations: 120.6 kB / 488.2 MB, free: 9.992 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.733e-05/0.1599, allocations: 8 kB / 488.2 MB, free: 9.984 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002568/0.1602, allocations: 35.88 kB / 488.3 MB, free: 9.949 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.1603, allocations: 35.95 kB / 488.3 MB, free: 9.914 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-05/0.1604, allocations: 8 kB / 488.3 MB, free: 9.906 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002803/0.1606, allocations: 263.2 kB / 488.6 MB, free: 9.648 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.1606, allocations: 0 / 488.6 MB, free: 9.648 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005348/0.1612, allocations: 112 kB / 488.7 MB, free: 9.539 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (ind.i[1],ind.i[2]) * Number of discrete variables: 13 (breaker.breaker_1.closed,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,relay.y[1],relay.cnt,breaker.breaker_1.arc,breaker.breaker_1.open,breaker.breaker_1.t0,breaker.breaker_1.opening,system.initime) * Number of discrete states: 5 (breaker.breaker_1.arc,relay.y[1],relay.cnt,$whenCondition1,breaker.breaker_1.open) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.0001605/0.1614, allocations: 127.1 kB / 488.8 MB, free: 9.402 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009206/0.1623, allocations: 0.63 MB / 489.4 MB, free: 8.734 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.1623, allocations: 0 / 489.4 MB, free: 8.734 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006483/0.163, allocations: 0.4932 MB / 489.9 MB, free: 8.203 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006079/0.1636, allocations: 81.5 kB / 490 MB, free: 8.121 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001708/0.1653, allocations: 1.266 MB / 491.3 MB, free: 6.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004427/0.1658, allocations: 0.8665 MB / 492.1 MB, free: 5.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.1659, allocations: 35.42 kB / 492.2 MB, free: 5.895 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1659, allocations: 0 / 492.2 MB, free: 5.895 MB / 366.1 MB Notification: Performance of Templates: time 0.01203/0.1779, allocations: 9.169 MB / 0.4896 GB, free: 12.74 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.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.AC1ph_DC.Elementary.BreakerCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.BreakerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.BreakerCalcHelperMain.o] Error 1