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.0008201/0.0008204, allocations: 93.78 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.001083/0.001083, allocations: 174.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.819/1.819, 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.2054/0.2054, allocations: 38.06 MB / 310.7 MB, free: 5.906 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.0006025/0.0006026, allocations: 20 kB / 377.8 MB, free: 2.715 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.333, allocations: 56.33 MB / 434.1 MB, free: 18.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.005243/0.3383, allocations: 5.352 MB / 439.5 MB, free: 13.3 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002209/0.3406, allocations: 1.583 MB / 441.1 MB, free: 11.71 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002757/0.3409, allocations: 27.81 kB / 441.1 MB, free: 11.68 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004219/0.3413, allocations: 103.3 kB / 441.2 MB, free: 11.58 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005852/0.3419, allocations: 306.7 kB / 441.5 MB, free: 11.28 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003924/0.3423, allocations: 151.7 kB / 441.7 MB, free: 11.13 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007897/0.3431, allocations: 1.06 MB / 442.7 MB, free: 10.07 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000241/0.3434, allocations: 131.5 kB / 442.8 MB, free: 9.941 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002998/0.3437, allocations: 250.8 kB / 443.1 MB, free: 9.695 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005462/0.3442, allocations: 446.7 kB / 443.5 MB, free: 9.258 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.582e-05/0.3443, allocations: 24 kB / 443.6 MB, free: 9.234 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.857e-05/0.3444, allocations: 24 kB / 443.6 MB, free: 9.211 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002048/0.3446, allocations: 211.4 kB / 443.8 MB, free: 9.004 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002555/0.3449, allocations: 276.5 kB / 444.1 MB, free: 8.727 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004333/0.3453, allocations: 482.8 kB / 444.5 MB, free: 8.254 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3453, allocations: 4 kB / 444.5 MB, free: 8.25 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3453, allocations: 0 / 444.5 MB, free: 8.25 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.3453, allocations: 0 / 444.5 MB, free: 8.25 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.001734/0.3471, allocations: 0.8506 MB / 445.4 MB, free: 7.344 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.495e-05/0.3472, allocations: 12.03 kB / 445.4 MB, free: 7.332 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001166/0.3473, allocations: 56.28 kB / 445.4 MB, free: 7.277 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000942/0.3482, allocations: 0.5838 MB / 446 MB, free: 6.652 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.55e-05/0.3483, allocations: 28.64 kB / 446.1 MB, free: 6.625 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.92e-05/0.3484, allocations: 47.98 kB / 446.1 MB, free: 6.578 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007107/0.3491, allocations: 0.5478 MB / 446.7 MB, free: 6 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.3491, allocations: 0 / 446.7 MB, free: 6 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.585e-05/0.3492, allocations: 19.94 kB / 446.7 MB, free: 5.98 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002925/0.3495, allocations: 92.52 kB / 446.8 MB, free: 5.891 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004545/0.3499, allocations: 358.3 kB / 447.1 MB, free: 5.543 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00235/0.3523, allocations: 2.054 MB / 449.2 MB, free: 3.406 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007175/0.353, allocations: 385.2 kB / 449.5 MB, free: 3.012 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004828/0.3535, allocations: 308 kB / 449.8 MB, free: 2.707 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.128e-05/0.3536, allocations: 7.938 kB / 449.8 MB, free: 2.699 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.3536, allocations: 38.55 kB / 449.9 MB, free: 2.652 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 1.663e-06/0.3536, allocations: 0 / 449.9 MB, free: 2.652 MB / 318.1 MB Notification: Performance of matching and sorting (n=33): time 0.003844/0.3575, allocations: 2.534 MB / 452.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.698e-05/0.3576, allocations: 85.05 kB / 452.5 MB, free: 15.8 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004318/0.358, allocations: 381.6 kB / 452.9 MB, free: 15.42 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.429e-05/0.358, allocations: 37.73 kB / 452.9 MB, free: 15.38 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002205/0.3583, allocations: 252.1 kB / 453.2 MB, free: 15.13 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/0.3584, allocations: 130.1 kB / 453.3 MB, free: 15 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.022e-05/0.3585, allocations: 57.69 kB / 453.3 MB, free: 14.94 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002008/0.3587, allocations: 362.7 kB / 453.7 MB, free: 14.58 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003494/0.3591, allocations: 245 kB / 453.9 MB, free: 14.34 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004697/0.3595, allocations: 366.6 kB / 454.3 MB, free: 13.94 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008415/0.3604, allocations: 0.6196 MB / 454.9 MB, free: 13.27 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3604, allocations: 4 kB / 454.9 MB, free: 13.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001694/0.3621, allocations: 1.017 MB / 455.9 MB, free: 12.24 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.3621, allocations: 7.938 kB / 455.9 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.3622, allocations: 4 kB / 455.9 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001106/0.3633, allocations: 409.5 kB / 456.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003056/0.3636, allocations: 87.88 kB / 456.4 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005812/0.3694, allocations: 4.73 MB / 461.2 MB, free: 6.734 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003223/0.3697, allocations: 43.94 kB / 461.2 MB, free: 6.691 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.828e-05/0.3698, allocations: 20 kB / 461.2 MB, free: 6.672 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 (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,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000273/0.3701, allocations: 205.5 kB / 461.4 MB, free: 6.461 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/0.3702, allocations: 39.53 kB / 461.5 MB, free: 6.422 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001476/0.3717, allocations: 0.8425 MB / 462.3 MB, free: 5.551 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.3717, allocations: 4 kB / 462.3 MB, free: 5.547 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.3717, allocations: 3.938 kB / 462.3 MB, free: 5.543 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.3717, allocations: 7.984 kB / 462.3 MB, free: 5.535 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002302/0.374, allocations: 1.421 MB / 463.7 MB, free: 4.035 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.374, allocations: 0 / 463.7 MB, free: 4.035 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000167/0.3742, allocations: 35.97 kB / 463.8 MB, free: 4 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001133/0.3754, allocations: 445.3 kB / 464.2 MB, free: 3.543 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.136e-05/0.3754, allocations: 35.97 kB / 464.2 MB, free: 3.508 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005928/0.3814, allocations: 6.249 MB / 470.5 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.3814, allocations: 0 / 470.5 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001764/0.3832, allocations: 1.12 MB / 471.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001351/0.3833, allocations: 116.6 kB / 471.7 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.088e-05/0.3834, allocations: 31.92 kB / 471.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002879/0.3837, allocations: 35.95 kB / 471.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/0.3838, allocations: 39.88 kB / 471.8 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-05/0.3839, allocations: 15.98 kB / 471.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003195/0.3842, allocations: 267.1 kB / 472.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3842, allocations: 0 / 472.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007391/0.3849, allocations: 156 kB / 472.3 MB, free: 10.89 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 (not torn): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,1,100.0%), (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.0002328/0.3852, allocations: 115.2 kB / 472.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001874/0.3871, allocations: 0.9076 MB / 473.3 MB, free: 9.832 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.76e-06/0.3871, allocations: 0 / 473.3 MB, free: 9.832 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001847/0.3889, allocations: 1.087 MB / 474.4 MB, free: 8.629 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007854/0.3897, allocations: 129.9 kB / 474.5 MB, free: 8.504 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003615/0.3934, allocations: 2.274 MB / 476.8 MB, free: 6.184 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006362/0.394, allocations: 0.8859 MB / 477.7 MB, free: 5.273 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.3941, allocations: 39.44 kB / 477.7 MB, free: 5.234 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3941, allocations: 0 / 477.7 MB, free: 5.234 MB / 350.1 MB Notification: Performance of Templates: time 0.0189/0.413, allocations: 13.21 MB / 490.9 MB, free: 8.008 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++ -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.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