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.0008187/0.0008187, allocations: 91.61 kB / 16.95 MB, free: 5.543 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.0007824/0.0007824, allocations: 189.3 kB / 17.85 MB, free: 5.223 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.624/1.624, 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.1758/0.1758, allocations: 38.04 MB / 310.3 MB, free: 6.113 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.0004906/0.0004906, allocations: 15.12 kB / 377.1 MB, free: 3.184 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2767, allocations: 56.33 MB / 433.5 MB, free: 18.84 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker): time 0.00448/0.2812, allocations: 5.253 MB / 438.7 MB, free: 13.57 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001658/0.2829, allocations: 1.334 MB / 440.1 MB, free: 12.23 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002436/0.2831, allocations: 27.81 kB / 440.1 MB, free: 12.2 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003461/0.2835, allocations: 95.33 kB / 440.2 MB, free: 12.11 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006012/0.2841, allocations: 322.4 kB / 440.5 MB, free: 11.79 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002765/0.2844, allocations: 143.8 kB / 440.6 MB, free: 11.65 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006147/0.285, allocations: 0.8685 MB / 441.5 MB, free: 10.78 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002441/0.2853, allocations: 135.2 kB / 441.6 MB, free: 10.64 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002904/0.2856, allocations: 258.8 kB / 441.9 MB, free: 10.38 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004653/0.286, allocations: 354.8 kB / 442.2 MB, free: 10.04 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.801e-05/0.2861, allocations: 20 kB / 442.3 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.288e-05/0.2862, allocations: 20 kB / 442.3 MB, free: 9.996 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001714/0.2863, allocations: 183.4 kB / 442.5 MB, free: 9.816 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.528e-05/0.2864, allocations: 113.5 kB / 442.6 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003088/0.2868, allocations: 414.9 kB / 443 MB, free: 9.293 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.017e-06/0.2868, allocations: 4 kB / 443 MB, free: 9.289 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.2868, allocations: 3.938 kB / 443 MB, free: 9.285 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.742e-06/0.2868, allocations: 0 / 443 MB, free: 9.285 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.001192/0.288, allocations: 0.7529 MB / 443.7 MB, free: 8.48 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.288, allocations: 12.03 kB / 443.7 MB, free: 8.469 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.763e-05/0.2881, allocations: 63.23 kB / 443.8 MB, free: 8.406 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004906/0.2886, allocations: 415.5 kB / 444.2 MB, free: 7.961 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.207e-05/0.2887, allocations: 25 kB / 444.2 MB, free: 7.938 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.431e-05/0.2887, allocations: 36 kB / 444.3 MB, free: 7.902 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006085/0.2893, allocations: 486.5 kB / 444.7 MB, free: 7.395 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.2894, allocations: 0 / 444.7 MB, free: 7.395 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.728e-05/0.2894, allocations: 16 kB / 444.8 MB, free: 7.379 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.644e-05/0.2895, allocations: 36.58 kB / 444.8 MB, free: 7.34 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004977/0.29, allocations: 370.6 kB / 445.2 MB, free: 6.98 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001724/0.2918, allocations: 1.711 MB / 446.9 MB, free: 5.184 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004985/0.2923, allocations: 410.2 kB / 447.3 MB, free: 4.746 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003613/0.2926, allocations: 225.6 kB / 447.5 MB, free: 4.52 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.737e-05/0.2927, allocations: 0 / 447.5 MB, free: 4.52 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003408/0.293, allocations: 287.6 kB / 447.8 MB, free: 4.215 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 1.523e-06/0.293, allocations: 0 / 447.8 MB, free: 4.215 MB / 318.1 MB Notification: Performance of matching and sorting (n=36): time 0.001848/0.2949, allocations: 1.419 MB / 449.2 MB, free: 2.68 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.504e-05/0.295, allocations: 136.5 kB / 449.3 MB, free: 2.516 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002964/0.2953, allocations: 373.6 kB / 449.7 MB, free: 2.141 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.752e-05/0.2953, allocations: 33.7 kB / 449.7 MB, free: 2.102 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/0.2954, allocations: 260 kB / 450 MB, free: 1.844 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.581e-05/0.2955, allocations: 110.5 kB / 450.1 MB, free: 1.734 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.806e-05/0.2955, allocations: 8.031 kB / 450.1 MB, free: 1.727 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.763e-05/0.2956, allocations: 358.8 kB / 450.4 MB, free: 1.367 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001776/0.2958, allocations: 129.1 kB / 450.6 MB, free: 1.242 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002198/0.296, allocations: 260.1 kB / 450.8 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002096/0.2963, allocations: 189.3 kB / 451 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.2963, allocations: 4 kB / 451 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006457/0.2969, allocations: 0.5387 MB / 451.6 MB, free: 188 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.805e-05/0.297, allocations: 33.7 kB / 451.6 MB, free: 148 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.297, allocations: 4 kB / 451.6 MB, free: 144 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002295/0.2972, allocations: 73.67 kB / 451.7 MB, free: 64 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002689/0.2975, allocations: 80.17 kB / 451.7 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002334/0.2998, allocations: 2.794 MB / 454.5 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002384/0.3001, allocations: 32.14 kB / 454.6 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.961e-05/0.3001, allocations: 12 kB / 454.6 MB, free: 12.88 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,$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.000272/0.3004, allocations: 255.1 kB / 454.8 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.588e-05/0.3005, allocations: 43.52 kB / 454.9 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000823/0.3013, allocations: 0.4889 MB / 455.4 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.3013, allocations: 8 kB / 455.4 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.3013, allocations: 7.938 kB / 455.4 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/0.3014, allocations: 7.938 kB / 455.4 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001417/0.3028, allocations: 1.056 MB / 456.4 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.3028, allocations: 0 / 456.4 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001817/0.303, allocations: 47.91 kB / 456.5 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002284/0.3032, allocations: 93.58 kB / 456.6 MB, free: 10.76 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.803e-05/0.3033, allocations: 8 kB / 456.6 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002149/0.3054, allocations: 2.798 MB / 459.4 MB, free: 7.688 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3054, allocations: 0 / 459.4 MB, free: 7.688 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001076/0.3065, allocations: 0.7914 MB / 460.2 MB, free: 6.863 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.519e-05/0.3066, allocations: 112.7 kB / 460.3 MB, free: 6.734 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.086e-05/0.3067, allocations: 16 kB / 460.3 MB, free: 6.719 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002135/0.3069, allocations: 19.98 kB / 460.3 MB, free: 6.699 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.206e-05/0.307, allocations: 31.91 kB / 460.4 MB, free: 6.668 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.064e-05/0.307, allocations: 19.98 kB / 460.4 MB, free: 6.648 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002629/0.3073, allocations: 251.2 kB / 460.6 MB, free: 6.406 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3073, allocations: 4.062 kB / 460.6 MB, free: 6.402 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004918/0.3078, allocations: 120 kB / 460.7 MB, free: 6.285 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 (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.000149/0.308, allocations: 111.2 kB / 460.8 MB, free: 6.168 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009828/0.309, allocations: 0.6495 MB / 461.5 MB, free: 5.48 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.309, allocations: 0 / 461.5 MB, free: 5.48 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006265/0.3096, allocations: 0.497 MB / 462 MB, free: 4.945 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005397/0.3102, allocations: 81.77 kB / 462.1 MB, free: 4.867 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001714/0.3119, allocations: 1.269 MB / 463.3 MB, free: 3.562 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004792/0.3124, allocations: 0.8626 MB / 464.2 MB, free: 2.676 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.631e-05/0.3125, allocations: 31.44 kB / 464.2 MB, free: 2.648 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3125, allocations: 3.938 kB / 464.2 MB, free: 2.645 MB / 334.1 MB Notification: Performance of Templates: time 0.01158/0.3241, allocations: 9.188 MB / 473.4 MB, free: 9.449 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++ 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.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