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.001131/0.001131, allocations: 106.3 kB / 17.16 MB, free: 6.324 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.0009937/0.0009938, 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.386/1.386, allocations: 222.9 MB / 241.7 MB, free: 15.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.1757/0.1757, allocations: 38.05 MB / 329.9 MB, free: 9.086 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001125/0.001125, allocations: 55.08 kB / 398.7 MB, free: 34.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1117, allocations: 58.07 MB / 456.8 MB, free: 8.559 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker): time 0.008401/0.1201, allocations: 5.945 MB / 462.7 MB, free: 2.578 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002909/0.1231, allocations: 1.344 MB / 464.1 MB, free: 1.23 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000681/0.1238, allocations: 31.81 kB / 464.1 MB, free: 1.199 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004855/0.1243, allocations: 71.5 kB / 464.2 MB, free: 1.129 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009433/0.1253, allocations: 290.7 kB / 464.5 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003851/0.1257, allocations: 139.8 kB / 464.6 MB, free: 0.707 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001015/0.1267, allocations: 1.083 MB / 465.7 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002794/0.127, allocations: 168.3 kB / 465.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003764/0.1274, allocations: 270.7 kB / 466.1 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005246/0.1279, allocations: 374.7 kB / 466.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.103e-05/0.128, allocations: 24 kB / 466.5 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.183e-05/0.1281, allocations: 24 kB / 466.5 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002078/0.1283, allocations: 183.5 kB / 466.7 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002404/0.1286, allocations: 250.7 kB / 467 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003755/0.1289, allocations: 419 kB / 467.4 MB, free: 13.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.129, allocations: 4 kB / 467.4 MB, free: 13.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.129, allocations: 0 / 467.4 MB, free: 13.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.014e-06/0.129, allocations: 0 / 467.4 MB, free: 13.93 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.001491/0.1305, allocations: 0.8308 MB / 468.2 MB, free: 13.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.1305, allocations: 16.03 kB / 468.2 MB, free: 13.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.63e-05/0.1306, allocations: 52.28 kB / 468.3 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005994/0.1312, allocations: 428.5 kB / 468.7 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.362e-05/0.1313, allocations: 33.12 kB / 468.7 MB, free: 12.49 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.427e-05/0.1314, allocations: 43.89 kB / 468.8 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006902/0.132, allocations: 482.5 kB / 469.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.1321, allocations: 0 / 469.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.937e-05/0.1321, allocations: 16 kB / 469.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000114/0.1322, allocations: 32.61 kB / 469.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005695/0.1328, allocations: 366.6 kB / 469.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002127/0.135, allocations: 1.718 MB / 471.4 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006412/0.1356, allocations: 402.3 kB / 471.7 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004447/0.1361, allocations: 221.7 kB / 472 MB, free: 9.082 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.649e-05/0.1361, allocations: 4 kB / 472 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004178/0.1365, allocations: 287.5 kB / 472.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.864e-06/0.1365, allocations: 0 / 472.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=36): time 0.002307/0.1388, allocations: 1.412 MB / 473.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.373e-05/0.1389, allocations: 136.6 kB / 473.8 MB, free: 7.078 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003764/0.1393, allocations: 377.5 kB / 474.2 MB, free: 6.699 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.323e-05/0.1394, allocations: 37.69 kB / 474.2 MB, free: 6.656 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001702/0.1395, allocations: 256 kB / 474.5 MB, free: 6.398 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.774e-05/0.1396, allocations: 106.5 kB / 474.6 MB, free: 6.293 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.1398, allocations: 78.25 kB / 474.6 MB, free: 6.211 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.1399, allocations: 354.8 kB / 475 MB, free: 5.855 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002201/0.1401, allocations: 129 kB / 475.1 MB, free: 5.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003116/0.1405, allocations: 268.1 kB / 475.4 MB, free: 5.414 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005167/0.141, allocations: 445.5 kB / 475.8 MB, free: 4.914 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.141, allocations: 0 / 475.8 MB, free: 4.914 MB / 350.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008133/0.1418, allocations: 0.5499 MB / 476.4 MB, free: 4.344 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.718e-05/0.1419, allocations: 33.7 kB / 476.4 MB, free: 4.305 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.1419, allocations: 8.406 kB / 476.4 MB, free: 4.297 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000264/0.1422, allocations: 77.67 kB / 476.5 MB, free: 4.215 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002675/0.1424, allocations: 75.89 kB / 476.5 MB, free: 4.141 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002072/0.1445, allocations: 2.804 MB / 479.3 MB, free: 1.074 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002453/0.1448, allocations: 19.98 kB / 479.4 MB, free: 1.055 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.209e-05/0.1448, allocations: 20 kB / 479.4 MB, free: 1.035 MB / 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.0002593/0.1451, allocations: 243.2 kB / 479.6 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.717e-05/0.1451, allocations: 43.53 kB / 479.7 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008195/0.146, allocations: 0.5007 MB / 480.2 MB, free: 220 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.146, allocations: 4 kB / 480.2 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.146, allocations: 0 / 480.2 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.146, allocations: 3.984 kB / 480.2 MB, free: 212 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001446/0.1475, allocations: 1.057 MB / 481.2 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.1475, allocations: 4 kB / 481.2 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001828/0.1477, allocations: 31.98 kB / 481.3 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002382/0.1479, allocations: 97.47 kB / 481.4 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.149e-05/0.1479, allocations: 15.94 kB / 481.4 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002093/0.15, allocations: 2.787 MB / 484.2 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1501, allocations: 0 / 484.2 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00112/0.1512, allocations: 0.787 MB / 485 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.817e-05/0.1513, allocations: 112.7 kB / 485.1 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.108e-05/0.1514, allocations: 16 kB / 485.1 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002287/0.1516, allocations: 19.92 kB / 485.1 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.1517, allocations: 39.88 kB / 485.1 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.834e-05/0.1517, allocations: 16.06 kB / 485.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002635/0.152, allocations: 255.2 kB / 485.4 MB, free: 10.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.152, allocations: 0 / 485.4 MB, free: 10.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004684/0.1525, allocations: 112 kB / 485.5 MB, free: 10.48 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.0001562/0.1527, allocations: 123.1 kB / 485.6 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009036/0.1536, allocations: 0.6369 MB / 486.3 MB, free: 9.668 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.1536, allocations: 0 / 486.3 MB, free: 9.668 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006254/0.1542, allocations: 0.4942 MB / 486.8 MB, free: 9.137 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005542/0.1548, allocations: 93.44 kB / 486.9 MB, free: 9.047 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001666/0.1565, allocations: 1.198 MB / 488 MB, free: 7.812 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004384/0.1569, allocations: 0.8626 MB / 488.9 MB, free: 6.926 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.157, allocations: 35.44 kB / 488.9 MB, free: 6.891 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.157, allocations: 3.938 kB / 489 MB, free: 6.887 MB / 366.1 MB Notification: Performance of Templates: time 0.0113/0.1683, allocations: 9.211 MB / 498.2 MB, free: 13.69 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