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.0009276/0.0009274, allocations: 94.17 kB / 17.31 MB, free: 6.535 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.0009467/0.0009469, allocations: 173.8 kB / 18.21 MB, free: 5.684 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.824/1.824, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1757/0.1757, allocations: 38.05 MB / 310.7 MB, free: 5.922 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.0005286/0.0005288, allocations: 16.56 kB / 377.8 MB, free: 2.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.3121, allocations: 56.33 MB / 434.1 MB, free: 18.7 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker): time 0.005052/0.3173, allocations: 5.538 MB / 439.7 MB, free: 13.13 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002141/0.3194, allocations: 1.376 MB / 441.1 MB, free: 11.75 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002636/0.3197, allocations: 27.81 kB / 441.1 MB, free: 11.72 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003383/0.3201, allocations: 79.44 kB / 441.2 MB, free: 11.64 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005929/0.3207, allocations: 290.7 kB / 441.4 MB, free: 11.36 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002775/0.321, allocations: 135.8 kB / 441.6 MB, free: 11.23 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000751/0.3217, allocations: 1.083 MB / 442.7 MB, free: 10.14 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002689/0.322, allocations: 156.4 kB / 442.8 MB, free: 9.98 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003246/0.3223, allocations: 258.7 kB / 443.1 MB, free: 9.727 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004598/0.3228, allocations: 358.7 kB / 443.4 MB, free: 9.375 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.724e-05/0.3229, allocations: 20 kB / 443.4 MB, free: 9.355 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.117e-05/0.3229, allocations: 23.94 kB / 443.5 MB, free: 9.332 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001743/0.3231, allocations: 183.4 kB / 443.6 MB, free: 9.152 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002168/0.3233, allocations: 256.4 kB / 443.9 MB, free: 8.895 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003066/0.3237, allocations: 414.9 kB / 444.3 MB, free: 8.488 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3237, allocations: 4 kB / 444.3 MB, free: 8.484 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3237, allocations: 0 / 444.3 MB, free: 8.484 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.3237, allocations: 0 / 444.3 MB, free: 8.484 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.001271/0.325, allocations: 0.7569 MB / 445.1 MB, free: 7.676 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.325, allocations: 12.03 kB / 445.1 MB, free: 7.664 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.581e-05/0.3251, allocations: 52.28 kB / 445.1 MB, free: 7.613 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005266/0.3256, allocations: 420.5 kB / 445.5 MB, free: 7.168 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.238e-05/0.3257, allocations: 33.12 kB / 445.6 MB, free: 7.137 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.86e-05/0.3258, allocations: 40 kB / 445.6 MB, free: 7.098 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006316/0.3264, allocations: 486.5 kB / 446.1 MB, free: 6.59 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.3264, allocations: 3.938 kB / 446.1 MB, free: 6.586 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.798e-05/0.3265, allocations: 20 kB / 446.1 MB, free: 6.566 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001049/0.3266, allocations: 28.62 kB / 446.1 MB, free: 6.535 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004929/0.3271, allocations: 362.7 kB / 446.5 MB, free: 6.18 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001845/0.3289, allocations: 1.722 MB / 448.2 MB, free: 4.371 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005731/0.3295, allocations: 401.9 kB / 448.6 MB, free: 3.945 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003936/0.3299, allocations: 233.1 kB / 448.8 MB, free: 3.715 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.858e-05/0.33, allocations: 8 kB / 448.8 MB, free: 3.707 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003679/0.3303, allocations: 287.5 kB / 449.1 MB, free: 3.402 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 1.874e-06/0.3304, allocations: 0 / 449.1 MB, free: 3.402 MB / 318.1 MB Notification: Performance of matching and sorting (n=36): time 0.002073/0.3324, allocations: 1.4 MB / 450.5 MB, free: 1.887 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.634e-05/0.3325, allocations: 136.6 kB / 450.6 MB, free: 1.723 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002976/0.3328, allocations: 377.6 kB / 451 MB, free: 1.344 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.92e-05/0.3329, allocations: 33.7 kB / 451 MB, free: 1.305 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/0.333, allocations: 256 kB / 451.3 MB, free: 1.051 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.995e-05/0.3331, allocations: 114.4 kB / 451.4 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.131e-05/0.3331, allocations: 41.7 kB / 451.4 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.428e-05/0.3332, allocations: 354.8 kB / 451.8 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001911/0.3334, allocations: 137 kB / 451.9 MB, free: 412 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002325/0.3337, allocations: 252.1 kB / 452.2 MB, free: 108 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000602/0.3343, allocations: 453.2 kB / 452.6 MB, free: 15.59 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3343, allocations: 0 / 452.6 MB, free: 15.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009171/0.3352, allocations: 0.5426 MB / 453.2 MB, free: 15.03 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.137e-05/0.3353, allocations: 29.7 kB / 453.2 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.208e-06/0.3353, allocations: 4 kB / 453.2 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003141/0.3356, allocations: 94 kB / 453.3 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002798/0.3359, allocations: 67.95 kB / 453.4 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00249/0.3384, allocations: 2.794 MB / 456.1 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002954/0.3387, allocations: 27.98 kB / 456.2 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.17e-05/0.3387, allocations: 19.98 kB / 456.2 MB, free: 11.72 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.0003239/0.3391, allocations: 239.2 kB / 456.4 MB, free: 11.47 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.326e-05/0.3391, allocations: 43.62 kB / 456.5 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008951/0.3401, allocations: 0.5008 MB / 457 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.3401, allocations: 4 kB / 457 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.3401, allocations: 4 kB / 457 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/0.3401, allocations: 3.984 kB / 457 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001549/0.3417, allocations: 1.075 MB / 458.1 MB, free: 9.746 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.3417, allocations: 0 / 458.1 MB, free: 9.746 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001933/0.3419, allocations: 43.91 kB / 458.1 MB, free: 9.703 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002613/0.3421, allocations: 89.55 kB / 458.2 MB, free: 9.609 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.905e-05/0.3422, allocations: 11.94 kB / 458.2 MB, free: 9.598 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00232/0.3445, allocations: 2.796 MB / 461 MB, free: 6.535 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3445, allocations: 0 / 461 MB, free: 6.535 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/0.3457, allocations: 0.7838 MB / 461.8 MB, free: 5.719 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.3458, allocations: 112.7 kB / 461.9 MB, free: 5.59 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.613e-05/0.3459, allocations: 12 kB / 461.9 MB, free: 5.578 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000244/0.3461, allocations: 27.91 kB / 461.9 MB, free: 5.551 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.3462, allocations: 36.02 kB / 462 MB, free: 5.516 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.804e-05/0.3463, allocations: 12 kB / 462 MB, free: 5.504 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002995/0.3466, allocations: 259.2 kB / 462.2 MB, free: 5.254 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.305e-06/0.3466, allocations: 0 / 462.2 MB, free: 5.254 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005756/0.3472, allocations: 119.9 kB / 462.3 MB, free: 5.137 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.0001803/0.3474, allocations: 115.2 kB / 462.5 MB, free: 5.016 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001014/0.3484, allocations: 0.6331 MB / 463.1 MB, free: 4.344 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.3484, allocations: 0 / 463.1 MB, free: 4.344 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007136/0.3491, allocations: 0.4981 MB / 463.6 MB, free: 3.809 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006372/0.3498, allocations: 81.97 kB / 463.7 MB, free: 3.73 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001939/0.3517, allocations: 1.27 MB / 464.9 MB, free: 2.422 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004822/0.3522, allocations: 0.8626 MB / 465.8 MB, free: 1.535 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/0.3523, allocations: 39.42 kB / 465.8 MB, free: 1.5 MB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3523, allocations: 0 / 465.8 MB, free: 1.5 MB / 334.1 MB Notification: Performance of Templates: time 0.01319/0.3655, allocations: 9.165 MB / 475 MB, free: 8.328 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