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.0008025/0.0008024, allocations: 89.02 kB / 16.95 MB, free: 5.605 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.0009247/0.0009247, allocations: 184.5 kB / 17.85 MB, free: 5.277 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.302/1.302, allocations: 223.2 MB / 241.9 MB, free: 260 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1673/0.1673, allocations: 38.09 MB / 331.1 MB, free: 8.871 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003175/0.0003175, allocations: 12 kB / 400.7 MB, free: 34.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1039, allocations: 59.16 MB / 459.9 MB, free: 7.445 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker): time 0.005884/0.1098, allocations: 5.262 MB / 465.1 MB, free: 2.156 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00199/0.1118, allocations: 1.286 MB / 466.4 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002255/0.1121, allocations: 27.81 kB / 466.4 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002881/0.1124, allocations: 95.28 kB / 466.5 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006256/0.113, allocations: 318.4 kB / 466.8 MB, free: 444 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002979/0.1133, allocations: 151.7 kB / 467 MB, free: 292 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009028/0.1142, allocations: 0.8645 MB / 467.9 MB, free: 15.42 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002389/0.1145, allocations: 135.2 kB / 468 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003305/0.1148, allocations: 266.8 kB / 468.3 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004807/0.1153, allocations: 342.9 kB / 468.6 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.455e-05/0.1154, allocations: 23.94 kB / 468.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.435e-05/0.1154, allocations: 20 kB / 468.6 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001786/0.1156, allocations: 183.4 kB / 468.8 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001115/0.1157, allocations: 121.4 kB / 468.9 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004296/0.1162, allocations: 410.9 kB / 469.3 MB, free: 13.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1162, allocations: 0 / 469.3 MB, free: 13.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1162, allocations: 0 / 469.3 MB, free: 13.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.1162, allocations: 0 / 469.3 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.001272/0.1175, allocations: 0.7645 MB / 470.1 MB, free: 13.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.1175, allocations: 12.03 kB / 470.1 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.76e-05/0.1176, allocations: 47.44 kB / 470.2 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000551/0.1182, allocations: 415.4 kB / 470.6 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.305e-05/0.1182, allocations: 29 kB / 470.6 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.621e-05/0.1183, allocations: 40 kB / 470.6 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007107/0.119, allocations: 486.5 kB / 471.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.119, allocations: 0 / 471.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.689e-05/0.1191, allocations: 19.94 kB / 471.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.369e-05/0.1192, allocations: 28.62 kB / 471.1 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000556/0.1197, allocations: 370.6 kB / 471.5 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002106/0.1219, allocations: 1.722 MB / 473.2 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006119/0.1225, allocations: 398.3 kB / 473.6 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004227/0.1229, allocations: 217.7 kB / 473.8 MB, free: 9.176 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.701e-05/0.123, allocations: 4 kB / 473.8 MB, free: 9.172 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004061/0.1234, allocations: 295.5 kB / 474.1 MB, free: 8.855 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 2.054e-06/0.1234, allocations: 0 / 474.1 MB, free: 8.855 MB / 350.1 MB Notification: Performance of matching and sorting (n=36): time 0.002126/0.1255, allocations: 1.405 MB / 475.5 MB, free: 7.336 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.457e-05/0.1256, allocations: 140.6 kB / 475.7 MB, free: 7.168 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003603/0.126, allocations: 377.5 kB / 476 MB, free: 6.789 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.099e-05/0.126, allocations: 37.7 kB / 476.1 MB, free: 6.746 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001573/0.1262, allocations: 256 kB / 476.3 MB, free: 6.488 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.954e-05/0.1263, allocations: 106.5 kB / 476.4 MB, free: 6.383 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.943e-05/0.1263, allocations: 8 kB / 476.4 MB, free: 6.375 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.1264, allocations: 362.7 kB / 476.8 MB, free: 6.012 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002152/0.1266, allocations: 129 kB / 476.9 MB, free: 5.883 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002859/0.1269, allocations: 256.1 kB / 477.2 MB, free: 5.582 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002552/0.1272, allocations: 189.3 kB / 477.4 MB, free: 5.391 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1272, allocations: 4 kB / 477.4 MB, free: 5.387 MB / 350.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007874/0.128, allocations: 0.5385 MB / 477.9 MB, free: 4.828 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.274e-05/0.128, allocations: 34.17 kB / 477.9 MB, free: 4.789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.1281, allocations: 4 kB / 477.9 MB, free: 4.785 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002443/0.1283, allocations: 81.66 kB / 478 MB, free: 4.699 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002607/0.1286, allocations: 71.84 kB / 478.1 MB, free: 4.629 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00199/0.1306, allocations: 2.798 MB / 480.9 MB, free: 1.562 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002397/0.1308, allocations: 23.98 kB / 480.9 MB, free: 1.539 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.661e-05/0.1309, allocations: 20 kB / 480.9 MB, free: 1.52 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,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$PRE.relay.y[1],relay.y[1],$PRE.breaker.breaker_1.arc,breaker.breaker_1.arc,$PRE.breaker.breaker_1.open,breaker.breaker_1.open,breaker.breaker_1.closed,$PRE.breaker.breaker_1.t0,breaker.breaker_1.t0,breaker.breaker_1.opening,$whenCondition1,$PRE.relay.cnt,relay.cnt) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002423/0.1311, allocations: 254.8 kB / 481.2 MB, free: 1.258 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.158e-05/0.1312, allocations: 39.53 kB / 481.2 MB, free: 1.219 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008228/0.132, allocations: 0.5084 MB / 481.7 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.132, allocations: 4 kB / 481.7 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.132, allocations: 4 kB / 481.7 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.1321, allocations: 3.984 kB / 481.7 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001432/0.1335, allocations: 1.057 MB / 482.8 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.1335, allocations: 0 / 482.8 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001826/0.1337, allocations: 43.91 kB / 482.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002178/0.1339, allocations: 89.67 kB / 482.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.969e-05/0.134, allocations: 15.98 kB / 482.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001942/0.1359, allocations: 2.79 MB / 485.7 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1359, allocations: 0 / 485.7 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001048/0.137, allocations: 0.7837 MB / 486.5 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.9e-05/0.1371, allocations: 116.7 kB / 486.6 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.589e-05/0.1372, allocations: 8 kB / 486.6 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002219/0.1374, allocations: 32.05 kB / 486.7 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.477e-05/0.1375, allocations: 31.94 kB / 486.7 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.731e-05/0.1375, allocations: 12 kB / 486.7 MB, free: 11.31 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002549/0.1378, allocations: 255.2 kB / 487 MB, free: 11.06 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1378, allocations: 0 / 487 MB, free: 11.06 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004812/0.1383, allocations: 112 kB / 487.1 MB, free: 10.95 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(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.000159/0.1384, allocations: 127.1 kB / 487.2 MB, free: 10.81 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009272/0.1394, allocations: 0.6575 MB / 487.8 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1394, allocations: 0 / 487.8 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005849/0.14, allocations: 0.4893 MB / 488.3 MB, free: 9.59 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005234/0.1405, allocations: 89.34 kB / 488.4 MB, free: 9.504 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/0.1421, allocations: 1.258 MB / 489.7 MB, free: 8.207 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004629/0.1426, allocations: 0.8665 MB / 490.5 MB, free: 7.316 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.719e-05/0.1427, allocations: 31.44 kB / 490.6 MB, free: 7.285 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1427, allocations: 0 / 490.6 MB, free: 7.285 MB / 366.1 MB Notification: Performance of Templates: time 0.01261/0.1553, allocations: 9.19 MB / 499.8 MB, free: 14.11 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++ 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.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