Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.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.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007934/0.0007934, allocations: 96.48 kB / 16.95 MB, free: 6.453 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.0008352/0.0008352, allocations: 179.2 kB / 17.84 MB, free: 6 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.554/1.554, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.2004/0.2004, allocations: 38.05 MB / 310.3 MB, free: 6.027 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.0005155/0.0005155, allocations: 20 kB / 377.1 MB, free: 3.098 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.2919, allocations: 56.34 MB / 433.5 MB, free: 18.83 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.004873/0.2968, allocations: 5.074 MB / 438.6 MB, free: 13.73 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002028/0.2989, allocations: 1.509 MB / 440.1 MB, free: 12.21 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002424/0.2991, allocations: 35.75 kB / 440.1 MB, free: 12.18 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000395/0.2995, allocations: 127.2 kB / 440.2 MB, free: 12.05 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006987/0.3002, allocations: 370.2 kB / 440.6 MB, free: 11.69 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004268/0.3007, allocations: 179.8 kB / 440.8 MB, free: 11.52 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006403/0.3013, allocations: 0.8451 MB / 441.6 MB, free: 10.67 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002287/0.3016, allocations: 106.3 kB / 441.7 MB, free: 10.57 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003321/0.3019, allocations: 266.9 kB / 442 MB, free: 10.31 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000554/0.3025, allocations: 450.7 kB / 442.4 MB, free: 9.867 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.541e-05/0.3026, allocations: 24 kB / 442.4 MB, free: 9.844 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.015e-05/0.3026, allocations: 28 kB / 442.5 MB, free: 9.816 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001996/0.3028, allocations: 219.4 kB / 442.7 MB, free: 9.602 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.3029, allocations: 109.5 kB / 442.8 MB, free: 9.488 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003545/0.3033, allocations: 486.8 kB / 443.3 MB, free: 9.012 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.3033, allocations: 0 / 443.3 MB, free: 9.012 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.3033, allocations: 0 / 443.3 MB, free: 9.012 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.193e-06/0.3033, allocations: 0 / 443.3 MB, free: 9.012 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001517/0.3049, allocations: 0.8505 MB / 444.1 MB, free: 8.105 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.3049, allocations: 15.97 kB / 444.1 MB, free: 8.09 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001003/0.305, allocations: 55.3 kB / 444.2 MB, free: 8.035 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008771/0.3059, allocations: 0.5793 MB / 444.8 MB, free: 7.414 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.865e-05/0.306, allocations: 24.66 kB / 444.8 MB, free: 7.391 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.093e-05/0.306, allocations: 40 kB / 444.8 MB, free: 7.352 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006659/0.3067, allocations: 0.5517 MB / 445.4 MB, free: 6.762 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.3067, allocations: 7.938 kB / 445.4 MB, free: 6.754 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.898e-05/0.3068, allocations: 8 kB / 445.4 MB, free: 6.746 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002626/0.3071, allocations: 96.47 kB / 445.5 MB, free: 6.652 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004537/0.3075, allocations: 354.3 kB / 445.8 MB, free: 6.309 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002242/0.3098, allocations: 2.058 MB / 447.9 MB, free: 4.168 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006578/0.3104, allocations: 381.2 kB / 448.3 MB, free: 3.777 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000445/0.3109, allocations: 316.1 kB / 448.6 MB, free: 3.465 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.34e-05/0.3109, allocations: 4 kB / 448.6 MB, free: 3.461 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.311, allocations: 42.5 kB / 448.6 MB, free: 3.41 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 1.713e-06/0.311, allocations: 0 / 448.6 MB, free: 3.41 MB / 318.1 MB Notification: Performance of matching and sorting (n=33): time 0.003604/0.3146, allocations: 2.529 MB / 451.1 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/0.3146, allocations: 81.11 kB / 451.2 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002994/0.3149, allocations: 377.5 kB / 451.6 MB, free: 204 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.792e-05/0.315, allocations: 33.7 kB / 451.6 MB, free: 164 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001804/0.3152, allocations: 248.3 kB / 451.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/0.3153, allocations: 134.1 kB / 452 MB, free: 15.78 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.869e-05/0.3153, allocations: 16.03 kB / 452 MB, free: 15.77 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.3155, allocations: 362.7 kB / 452.4 MB, free: 15.4 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003468/0.3158, allocations: 241 kB / 452.6 MB, free: 15.17 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004356/0.3163, allocations: 366.7 kB / 453 MB, free: 14.77 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004176/0.3167, allocations: 293.5 kB / 453.2 MB, free: 14.48 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3167, allocations: 0 / 453.2 MB, free: 14.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001574/0.3183, allocations: 1.01 MB / 454.3 MB, free: 13.46 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.3183, allocations: 4 kB / 454.3 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.3184, allocations: 4 kB / 454.3 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009396/0.3193, allocations: 413.5 kB / 454.7 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002814/0.3196, allocations: 87.78 kB / 454.8 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004866/0.3245, allocations: 4.722 MB / 459.5 MB, free: 7.961 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003042/0.3248, allocations: 39.94 kB / 459.5 MB, free: 7.922 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-05/0.3248, allocations: 19.95 kB / 459.5 MB, free: 7.902 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * 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%) 6,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002862/0.3251, allocations: 205.7 kB / 459.7 MB, free: 7.691 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.437e-05/0.3252, allocations: 43.44 kB / 459.8 MB, free: 7.648 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001411/0.3266, allocations: 0.8468 MB / 460.6 MB, free: 6.773 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.3267, allocations: 7.938 kB / 460.6 MB, free: 6.766 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.3267, allocations: 3.953 kB / 460.6 MB, free: 6.762 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.3267, allocations: 3.984 kB / 460.6 MB, free: 6.758 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002115/0.3288, allocations: 1.406 MB / 462 MB, free: 5.273 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/0.3288, allocations: 3.953 kB / 462.1 MB, free: 5.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001979/0.329, allocations: 51.84 kB / 462.1 MB, free: 5.219 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001056/0.3301, allocations: 437.4 kB / 462.5 MB, free: 4.77 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.81e-05/0.3302, allocations: 35.97 kB / 462.6 MB, free: 4.734 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005272/0.3354, allocations: 6.243 MB / 468.8 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.3355, allocations: 3.938 kB / 468.8 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001606/0.3371, allocations: 1.125 MB / 469.9 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.3372, allocations: 116.6 kB / 470.1 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.292e-05/0.3373, allocations: 31.98 kB / 470.1 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002477/0.3376, allocations: 39.94 kB / 470.1 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.658e-05/0.3377, allocations: 39.91 kB / 470.2 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-05/0.3377, allocations: 11.98 kB / 470.2 MB, free: 12.53 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002928/0.338, allocations: 263.1 kB / 470.4 MB, free: 12.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.338, allocations: 0 / 470.4 MB, free: 12.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007051/0.3387, allocations: 156 kB / 470.6 MB, free: 12.12 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(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.0002107/0.3389, allocations: 123.4 kB / 470.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001677/0.3406, allocations: 0.8921 MB / 471.6 MB, free: 11.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.3406, allocations: 0 / 471.6 MB, free: 11.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001463/0.3421, allocations: 1.083 MB / 472.7 MB, free: 9.875 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006539/0.3428, allocations: 122 kB / 472.8 MB, free: 9.754 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003051/0.3458, allocations: 2.268 MB / 475.1 MB, free: 7.441 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000499/0.3463, allocations: 0.8859 MB / 475.9 MB, free: 6.531 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.835e-05/0.3464, allocations: 35.44 kB / 476 MB, free: 6.496 MB / 350.1 MB Notification: Performance of SimCode: time 6.62e-07/0.3464, allocations: 0 / 476 MB, free: 6.496 MB / 350.1 MB Notification: Performance of Templates: time 0.01672/0.3632, allocations: 13.18 MB / 489.2 MB, free: 9.305 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.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.LineCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LineCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LineCalcHelperMain.o] Error 1