Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_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.0009244/0.0009244, 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.0008641/0.0008641, 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 3.2.3+maint.om/package.mo): time 1.194/1.194, allocations: 205.1 MB / 223.9 MB, free: 12.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1599/0.1599, allocations: 37.99 MB / 309.3 MB, free: 6.254 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 71.03 kB / 375.3 MB, free: 4.125 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1952/0.1964, allocations: 55.25 MB / 430.5 MB, free: 19.79 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker): time 0.005418/0.2019, allocations: 5.932 MB / 436.5 MB, free: 13.83 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002007/0.2039, allocations: 1.395 MB / 437.8 MB, free: 12.43 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005016/0.2044, allocations: 31.81 kB / 437.9 MB, free: 12.39 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003988/0.2048, allocations: 79.44 kB / 438 MB, free: 12.32 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007141/0.2056, allocations: 282.8 kB / 438.2 MB, free: 12.04 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003344/0.2059, allocations: 143.8 kB / 438.4 MB, free: 11.9 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007902/0.2068, allocations: 1.079 MB / 439.5 MB, free: 10.82 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002387/0.207, allocations: 152.4 kB / 439.6 MB, free: 10.66 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000443/0.2075, allocations: 278.7 kB / 439.9 MB, free: 10.39 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004282/0.2079, allocations: 374.7 kB / 440.2 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.298e-05/0.208, allocations: 24 kB / 440.3 MB, free: 9.996 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.024e-05/0.208, allocations: 27.94 kB / 440.3 MB, free: 9.969 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001536/0.2082, allocations: 187.5 kB / 440.5 MB, free: 9.785 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001783/0.2084, allocations: 242.7 kB / 440.7 MB, free: 9.547 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000244/0.2086, allocations: 419.1 kB / 441.1 MB, free: 9.137 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.2086, allocations: 7.984 kB / 441.1 MB, free: 9.129 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.2087, allocations: 0 / 441.1 MB, free: 9.129 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.2087, allocations: 0 / 441.1 MB, free: 9.129 MB / 318.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.00117/0.2098, allocations: 0.8308 MB / 442 MB, free: 8.246 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.2099, allocations: 12.03 kB / 442 MB, free: 8.234 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.816e-05/0.21, allocations: 52.28 kB / 442 MB, free: 8.184 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004384/0.2104, allocations: 424.5 kB / 442.4 MB, free: 7.734 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.738e-05/0.2104, allocations: 37.11 kB / 442.5 MB, free: 7.699 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.347e-05/0.2105, allocations: 35.94 kB / 442.5 MB, free: 7.664 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005473/0.2111, allocations: 486.5 kB / 443 MB, free: 7.156 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.2111, allocations: 3.938 kB / 443 MB, free: 7.152 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.493e-05/0.2111, allocations: 16 kB / 443 MB, free: 7.137 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.025e-05/0.2112, allocations: 28.62 kB / 443 MB, free: 7.105 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004567/0.2117, allocations: 366.7 kB / 443.4 MB, free: 6.746 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001572/0.2133, allocations: 1.715 MB / 445.1 MB, free: 4.945 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00048/0.2137, allocations: 406.3 kB / 445.5 MB, free: 4.512 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003735/0.2141, allocations: 235.6 kB / 445.7 MB, free: 4.277 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.2142, allocations: 4 kB / 445.7 MB, free: 4.273 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003091/0.2145, allocations: 295.4 kB / 446 MB, free: 3.961 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 1.473e-06/0.2145, allocations: 0 / 446 MB, free: 3.961 MB / 318.1 MB Notification: Performance of matching and sorting (n=36): time 0.001759/0.2163, allocations: 1.404 MB / 447.4 MB, free: 2.441 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/0.2163, allocations: 136.5 kB / 447.6 MB, free: 2.277 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002555/0.2166, allocations: 369.7 kB / 447.9 MB, free: 1.906 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.2166, allocations: 37.7 kB / 448 MB, free: 1.863 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.2167, allocations: 259.9 kB / 448.2 MB, free: 1.605 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.716e-05/0.2168, allocations: 110.5 kB / 448.3 MB, free: 1.496 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.027e-05/0.2169, allocations: 82.16 kB / 448.4 MB, free: 1.41 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.734e-05/0.2169, allocations: 358.8 kB / 448.7 MB, free: 1.051 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001756/0.2171, allocations: 129.1 kB / 448.9 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002036/0.2173, allocations: 256.1 kB / 449.1 MB, free: 0.625 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003772/0.2177, allocations: 465.2 kB / 449.6 MB, free: 108 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2177, allocations: 0 / 449.6 MB, free: 108 kB / 318.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007887/0.2185, allocations: 0.5277 MB / 450.1 MB, free: 15.55 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.184e-05/0.2186, allocations: 33.7 kB / 450.1 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.2186, allocations: 8 kB / 450.1 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002505/0.2188, allocations: 81.61 kB / 450.2 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002639/0.2191, allocations: 75.89 kB / 450.3 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001992/0.2211, allocations: 2.79 MB / 453.1 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000239/0.2214, allocations: 19.98 kB / 453.1 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.232e-05/0.2214, allocations: 23.98 kB / 453.1 MB, free: 12.24 MB / 334.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.0002332/0.2216, allocations: 247.3 kB / 453.4 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.368e-05/0.2217, allocations: 39.53 kB / 453.4 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007828/0.2225, allocations: 0.5009 MB / 453.9 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.2225, allocations: 4 kB / 453.9 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.2225, allocations: 0 / 453.9 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.2225, allocations: 3.984 kB / 453.9 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001341/0.2239, allocations: 1.067 MB / 455 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.2239, allocations: 4 kB / 455 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001875/0.2241, allocations: 43.91 kB / 455 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000227/0.2243, allocations: 89.62 kB / 455.1 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.93e-05/0.2244, allocations: 15.97 kB / 455.1 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001928/0.2263, allocations: 2.792 MB / 457.9 MB, free: 7.066 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2263, allocations: 0 / 457.9 MB, free: 7.066 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.2273, allocations: 0.7756 MB / 458.7 MB, free: 6.258 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.309e-05/0.2274, allocations: 116.7 kB / 458.8 MB, free: 6.125 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.652e-05/0.2275, allocations: 12 kB / 458.8 MB, free: 6.113 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002254/0.2277, allocations: 27.91 kB / 458.9 MB, free: 6.086 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.97e-05/0.2278, allocations: 40.02 kB / 458.9 MB, free: 6.047 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-05/0.2278, allocations: 8 kB / 458.9 MB, free: 6.039 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002368/0.2281, allocations: 259.2 kB / 459.2 MB, free: 5.789 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2281, allocations: 3.938 kB / 459.2 MB, free: 5.785 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004199/0.2285, allocations: 112 kB / 459.3 MB, free: 5.676 MB / 334.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.0001238/0.2286, allocations: 131.1 kB / 459.4 MB, free: 5.539 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008158/0.2295, allocations: 0.6254 MB / 460 MB, free: 4.875 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2295, allocations: 0 / 460 MB, free: 4.875 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005879/0.2301, allocations: 0.498 MB / 460.5 MB, free: 4.34 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000531/0.2306, allocations: 85.97 kB / 460.6 MB, free: 4.258 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/0.2321, allocations: 1.206 MB / 461.8 MB, free: 3.016 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004223/0.2326, allocations: 0.8587 MB / 462.7 MB, free: 2.133 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.2327, allocations: 39.42 kB / 462.7 MB, free: 2.098 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2327, allocations: 0 / 462.7 MB, free: 2.098 MB / 334.1 MB Notification: Performance of Templates: time 0.009924/0.2426, allocations: 9.199 MB / 471.9 MB, free: 8.891 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.makefile make -j1 -f PowerSystems_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_PowerSystems.Examples.AC1ph_DC.Elementary.BreakerCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.BreakerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.BreakerCalcHelperMain.o] Error 1