Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.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.AC3ph.Elementary.Breaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker") translateModel(PowerSystems.Examples.AC3ph.Elementary.Breaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009943/0.0009944, allocations: 96.02 kB / 16.95 MB, free: 5.676 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.001294/0.001294, allocations: 182 kB / 17.84 MB, free: 5.324 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.523/1.523, allocations: 205.4 MB / 224 MB, free: 13.17 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1729/0.1729, allocations: 38.03 MB / 310.3 MB, free: 6.035 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.0005275/0.0005275, allocations: 12 kB / 377.1 MB, free: 3.105 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.292, allocations: 56.34 MB / 433.5 MB, free: 18.84 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Breaker): time 0.005247/0.2973, allocations: 6.064 MB / 439.5 MB, free: 12.75 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003083/0.3004, allocations: 2.187 MB / 441.7 MB, free: 10.55 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003532/0.3008, allocations: 27.81 kB / 441.8 MB, free: 10.52 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003844/0.3012, allocations: 127 kB / 441.9 MB, free: 10.4 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001007/0.3022, allocations: 485.7 kB / 442.4 MB, free: 9.922 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007324/0.3029, allocations: 311.5 kB / 442.7 MB, free: 9.617 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009585/0.3039, allocations: 1.185 MB / 443.8 MB, free: 8.43 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009488/0.3049, allocations: 0.7222 MB / 444.6 MB, free: 7.672 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004116/0.3053, allocations: 362.4 kB / 444.9 MB, free: 7.316 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006206/0.3059, allocations: 0.5218 MB / 445.4 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.873e-05/0.306, allocations: 44 kB / 445.5 MB, free: 6.75 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006664/0.3067, allocations: 463.2 kB / 445.9 MB, free: 6.297 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002634/0.307, allocations: 347 kB / 446.3 MB, free: 5.957 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000146/0.3071, allocations: 177.3 kB / 446.5 MB, free: 5.777 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00061/0.3077, allocations: 0.8885 MB / 447.3 MB, free: 4.887 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.636e-06/0.3077, allocations: 11.94 kB / 447.4 MB, free: 4.875 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3078, allocations: 0 / 447.4 MB, free: 4.875 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.3078, allocations: 0 / 447.4 MB, free: 4.875 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: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.001777/0.3096, allocations: 1.112 MB / 448.5 MB, free: 3.699 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.3096, allocations: 8.031 kB / 448.5 MB, free: 3.691 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005901/0.3102, allocations: 138.7 kB / 448.6 MB, free: 3.555 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006627/0.3109, allocations: 0.5375 MB / 449.1 MB, free: 2.98 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.036e-05/0.3109, allocations: 61.98 kB / 449.2 MB, free: 2.918 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001525/0.3111, allocations: 76 kB / 449.3 MB, free: 2.844 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001249/0.3123, allocations: 1.088 MB / 450.4 MB, free: 1.695 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/0.3124, allocations: 8 kB / 450.4 MB, free: 1.688 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.16e-05/0.3125, allocations: 35.98 kB / 450.4 MB, free: 1.652 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001061/0.3126, allocations: 53.86 kB / 450.5 MB, free: 1.598 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001142/0.3137, allocations: 0.9328 MB / 451.4 MB, free: 0.668 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004895/0.3186, allocations: 4.215 MB / 455.6 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001301/0.3199, allocations: 0.946 MB / 456.6 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006608/0.3206, allocations: 448 kB / 457 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.193e-05/0.3207, allocations: 8.562 kB / 457 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001057/0.3218, allocations: 0.6434 MB / 457.6 MB, free: 10.13 MB / 334.1 MB Notification: Performance of pre-optimization done (n=92): time 2.595e-06/0.3218, allocations: 4 kB / 457.7 MB, free: 10.13 MB / 334.1 MB Notification: Performance of matching and sorting (n=93): time 0.004666/0.3265, allocations: 2.908 MB / 460.6 MB, free: 7.086 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.3266, allocations: 157.6 kB / 460.7 MB, free: 6.902 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005663/0.3271, allocations: 469.7 kB / 461.2 MB, free: 6.43 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.392e-05/0.3272, allocations: 45.7 kB / 461.2 MB, free: 6.379 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003582/0.3276, allocations: 383.7 kB / 461.6 MB, free: 5.996 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002726/0.3279, allocations: 288.1 kB / 461.9 MB, free: 5.711 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.226e-05/0.3279, allocations: 20 kB / 461.9 MB, free: 5.691 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002149/0.3282, allocations: 382.7 kB / 462.3 MB, free: 5.309 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006264/0.3288, allocations: 390.4 kB / 462.6 MB, free: 4.93 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008016/0.3296, allocations: 0.6129 MB / 463.3 MB, free: 4.223 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007137/0.3303, allocations: 0.4886 MB / 463.8 MB, free: 3.73 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.3303, allocations: 0 / 463.8 MB, free: 3.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.00275/0.3331, allocations: 1.51 MB / 465.3 MB, free: 2.203 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.168e-05/0.3332, allocations: 37.69 kB / 465.3 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002162/0.3353, allocations: 1.164 MB / 466.5 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001223/0.3366, allocations: 428.5 kB / 466.9 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004374/0.337, allocations: 131.7 kB / 467 MB, free: 452 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007018/0.344, allocations: 4.703 MB / 471.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006403/0.3447, allocations: 75.92 kB / 471.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.838e-05/0.3448, allocations: 43.95 kB / 471.8 MB, free: 11.48 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 46 (system.initime,$whenCondition1,$PRE.relay.cnt,relay.cnt,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$PRE.breaker.breaker_a.arc,breaker.breaker_a.arc,$PRE.breaker.breaker_a.open,breaker.breaker_a.open,breaker.breaker_a.closed,$PRE.breaker.breaker_a.t0,breaker.breaker_a.t0,breaker.breaker_a.opening,$PRE.breaker.breaker_b.arc,breaker.breaker_b.arc,$PRE.breaker.breaker_b.open,breaker.breaker_b.open,breaker.breaker_b.closed,$PRE.breaker.breaker_b.t0,breaker.breaker_b.t0,breaker.breaker_b.opening,$PRE.breaker.breaker_c.arc,breaker.breaker_c.arc,$PRE.breaker.breaker_c.open,breaker.breaker_c.open,breaker.breaker_c.closed,$PRE.breaker.breaker_c.t0,breaker.breaker_c.t0,breaker.breaker_c.opening,$PRE.relay.y[1],relay.y[1],$PRE.relay.y[2],relay.y[2],$PRE.relay.y[3],relay.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 102 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 21} Notification: Performance of prepare postOptimizeDAE: time 0.0005954/0.3454, allocations: 339.2 kB / 472.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001782/0.3456, allocations: 75.14 kB / 472.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002011/0.3476, allocations: 1.13 MB / 473.4 MB, free: 9.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.642e-05/0.3476, allocations: 16 kB / 473.4 MB, free: 9.895 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.3477, allocations: 0 / 473.4 MB, free: 9.895 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/0.3477, allocations: 7.984 kB / 473.4 MB, free: 9.887 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003655/0.3513, allocations: 2.144 MB / 475.5 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.3514, allocations: 3.938 kB / 475.5 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005606/0.3519, allocations: 123.9 kB / 475.7 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002027/0.3521, allocations: 90.52 kB / 475.7 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.877e-05/0.3522, allocations: 23.95 kB / 475.8 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00332/0.3556, allocations: 3.918 MB / 479.7 MB, free: 3.102 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.3556, allocations: 7.969 kB / 479.7 MB, free: 3.094 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002768/0.3584, allocations: 1.765 MB / 481.5 MB, free: 1.289 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001838/0.3585, allocations: 144.2 kB / 481.6 MB, free: 1.129 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.3587, allocations: 24 kB / 481.6 MB, free: 1.105 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000434/0.3591, allocations: 55.94 kB / 481.7 MB, free: 1.051 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001918/0.3593, allocations: 88.83 kB / 481.8 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.608e-05/0.3594, allocations: 27.98 kB / 481.8 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004065/0.3598, allocations: 315.1 kB / 482.1 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3598, allocations: 0 / 482.1 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001041/0.3609, allocations: 264 kB / 482.4 MB, free: 380 kB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * Number of discrete variables: 33 (breaker.breaker_c.closed,breaker.breaker_a.closed,breaker.breaker_b.closed,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,breaker.breaker_a.arc,breaker.breaker_a.open,breaker.breaker_a.t0,breaker.breaker_a.opening,breaker.breaker_b.arc,breaker.breaker_b.open,breaker.breaker_b.t0,breaker.breaker_b.opening,breaker.breaker_c.arc,breaker.breaker_c.open,breaker.breaker_c.t0,breaker.breaker_c.opening,relay.y[1],relay.y[2],relay.y[3],relay.cnt,system.initime) * Number of discrete states: 11 (breaker.breaker_a.arc,breaker.breaker_b.arc,breaker.breaker_c.arc,relay.y[3],relay.y[2],relay.y[1],relay.cnt,$whenCondition1,breaker.breaker_b.open,breaker.breaker_a.open,breaker.breaker_c.open) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 72 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(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.0003117/0.3612, allocations: 145.8 kB / 482.5 MB, free: 220 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00245/0.3636, allocations: 1.354 MB / 483.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.3637, allocations: 4 kB / 483.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001223/0.3649, allocations: 0.9433 MB / 484.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006959/0.3656, allocations: 117.8 kB / 484.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003722/0.3693, allocations: 2.24 MB / 487.2 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007616/0.3701, allocations: 1.037 MB / 488.2 MB, free: 10.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002307/0.3704, allocations: 59.42 kB / 488.2 MB, free: 10.33 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3704, allocations: 0 / 488.2 MB, free: 10.33 MB / 366.1 MB Notification: Performance of Templates: time 0.02432/0.3947, allocations: 16.38 MB / 0.4928 GB, free: 9.938 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.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_PowerSystems.Examples.AC3ph.Elementary.BreakerCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Elementary.BreakerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC3ph.Elementary.BreakerCalcHelperMain.o] Error 1