Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.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.AC3ph.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line") translateModel(PowerSystems.Examples.AC3ph.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008628/0.0008629, allocations: 109.7 kB / 17.16 MB, free: 6.328 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.0008528/0.0008528, allocations: 202.9 kB / 18.08 MB, free: 5.422 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.185/1.185, allocations: 205.1 MB / 223.9 MB, free: 12.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1541/0.1541, allocations: 38 MB / 309.3 MB, free: 6.238 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.001143/0.001144, allocations: 67.03 kB / 375.3 MB, free: 4.113 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1877/0.1889, allocations: 55.24 MB / 430.5 MB, free: 19.7 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Line): time 0.005161/0.1941, allocations: 6.017 MB / 436.5 MB, free: 13.65 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002427/0.1965, allocations: 2.069 MB / 438.6 MB, free: 11.57 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002186/0.1968, allocations: 35.75 kB / 438.6 MB, free: 11.54 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001137/0.1979, allocations: 414.4 kB / 439 MB, free: 11.13 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004136/0.1983, allocations: 274.7 kB / 439.3 MB, free: 10.86 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000606/0.199, allocations: 319.5 kB / 439.6 MB, free: 10.55 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005441/0.1995, allocations: 1.08 MB / 440.7 MB, free: 9.469 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004267/0.2, allocations: 361.7 kB / 441 MB, free: 9.113 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000252/0.2002, allocations: 286.8 kB / 441.3 MB, free: 8.832 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004072/0.2006, allocations: 474.6 kB / 441.8 MB, free: 8.367 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.568e-05/0.2008, allocations: 36 kB / 441.8 MB, free: 8.332 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002618/0.201, allocations: 171.7 kB / 442 MB, free: 8.164 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001692/0.2012, allocations: 263.3 kB / 442.3 MB, free: 7.906 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002161/0.2014, allocations: 322.2 kB / 442.6 MB, free: 7.59 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004091/0.2018, allocations: 0.6121 MB / 443.2 MB, free: 6.977 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.2019, allocations: 4 kB / 443.2 MB, free: 6.973 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.02e-07/0.2019, allocations: 0 / 443.2 MB, free: 6.973 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.2019, allocations: 0 / 443.2 MB, free: 6.973 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: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.001272/0.2032, allocations: 0.9059 MB / 444.1 MB, free: 6.02 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.2032, allocations: 12.03 kB / 444.1 MB, free: 6.008 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009239/0.2041, allocations: 132 kB / 444.2 MB, free: 5.879 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006651/0.2048, allocations: 0.5197 MB / 444.7 MB, free: 5.316 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.151e-05/0.2049, allocations: 33.12 kB / 444.8 MB, free: 5.285 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002886/0.2052, allocations: 135.8 kB / 444.9 MB, free: 5.152 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008711/0.206, allocations: 0.8626 MB / 445.8 MB, free: 4.223 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.558e-05/0.2061, allocations: 7.938 kB / 445.8 MB, free: 4.215 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.395e-05/0.2062, allocations: 23.97 kB / 445.8 MB, free: 4.191 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005939/0.2068, allocations: 68.94 kB / 445.9 MB, free: 4.121 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008015/0.2076, allocations: 0.6244 MB / 446.5 MB, free: 3.5 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003347/0.2109, allocations: 3.792 MB / 450.3 MB, free: 15.54 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000988/0.2119, allocations: 0.5465 MB / 450.8 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004264/0.2124, allocations: 319 kB / 451.1 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.483e-05/0.2124, allocations: 12.44 kB / 451.2 MB, free: 14.65 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.2125, allocations: 42.88 kB / 451.2 MB, free: 14.6 MB / 334.1 MB Notification: Performance of pre-optimization done (n=48): time 1.854e-06/0.2125, allocations: 3.938 kB / 451.2 MB, free: 14.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=49): time 0.00268/0.2152, allocations: 1.832 MB / 453 MB, free: 12.71 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.693e-05/0.2152, allocations: 85.55 kB / 453.1 MB, free: 12.61 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003775/0.2156, allocations: 417.7 kB / 453.5 MB, free: 12.2 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.157e-05/0.2157, allocations: 33.7 kB / 453.6 MB, free: 12.16 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001998/0.2159, allocations: 331.7 kB / 453.9 MB, free: 11.83 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001417/0.216, allocations: 197.3 kB / 454.1 MB, free: 11.63 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002006/0.2162, allocations: 146.2 kB / 454.2 MB, free: 11.48 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.2164, allocations: 374.8 kB / 454.6 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005004/0.2169, allocations: 377.5 kB / 455 MB, free: 10.74 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006223/0.2175, allocations: 0.5979 MB / 455.6 MB, free: 10.04 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001186/0.2187, allocations: 1.065 MB / 456.6 MB, free: 8.879 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.2187, allocations: 4 kB / 456.6 MB, free: 8.875 MB / 334.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004087/0.2228, allocations: 2.011 MB / 458.6 MB, free: 6.852 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.2228, allocations: 8 kB / 458.6 MB, free: 6.844 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.2229, allocations: 4 kB / 458.6 MB, free: 6.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00235/0.2252, allocations: 0.9734 MB / 459.6 MB, free: 5.859 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003984/0.2256, allocations: 123.8 kB / 459.7 MB, free: 5.738 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009176/0.2348, allocations: 7.376 MB / 467.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004491/0.2353, allocations: 35.97 kB / 467.2 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.611e-05/0.2354, allocations: 35.98 kB / 467.2 MB, free: 14.02 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (60): * Single equations (assignments): 58 * 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%), (23,12,23.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003219/0.2357, allocations: 245.7 kB / 467.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.114e-05/0.2358, allocations: 51.38 kB / 467.5 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001113/0.2369, allocations: 0.7295 MB / 468.2 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.2369, allocations: 8 kB / 468.2 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.2369, allocations: 0 / 468.2 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.2369, allocations: 3.984 kB / 468.2 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002255/0.2392, allocations: 1.524 MB / 469.7 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.2392, allocations: 3.938 kB / 469.7 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/0.2402, allocations: 195.8 kB / 469.9 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.2402, allocations: 0 / 469.9 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.34e-05/0.2403, allocations: 27.98 kB / 470 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.2403, allocations: 4 kB / 470 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2403, allocations: 0 / 470 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/0.2415, allocations: 0.9971 MB / 471 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.02e-05/0.2416, allocations: 120.5 kB / 471.1 MB, free: 9.992 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.731e-05/0.2417, allocations: 27.98 kB / 471.1 MB, free: 9.965 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000314/0.2421, allocations: 23.97 kB / 471.1 MB, free: 9.941 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.826e-05/0.2421, allocations: 40.52 kB / 471.2 MB, free: 9.898 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.69e-05/0.2422, allocations: 16 kB / 471.2 MB, free: 9.883 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002515/0.2424, allocations: 283.1 kB / 471.5 MB, free: 9.609 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2425, allocations: 0 / 471.5 MB, free: 9.609 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006982/0.2432, allocations: 212 kB / 471.7 MB, free: 9.402 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 21 (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.v[3,1],line.v[3,2],line.v[3,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],line.i[3,1],line.i[3,2],line.i[3,3],line.i[3,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 (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001392/0.2433, allocations: 123.2 kB / 471.8 MB, free: 9.273 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002183/0.2455, allocations: 1.469 MB / 473.3 MB, free: 7.773 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2455, allocations: 0 / 473.3 MB, free: 7.773 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004119/0.2459, allocations: 310.3 kB / 473.6 MB, free: 7.473 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005981/0.2465, allocations: 126.2 kB / 473.7 MB, free: 7.348 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003986/0.2505, allocations: 2.981 MB / 476.7 MB, free: 4.328 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005333/0.2511, allocations: 0.9882 MB / 477.7 MB, free: 3.312 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000178/0.2513, allocations: 47.44 kB / 477.7 MB, free: 3.266 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2513, allocations: 0 / 477.7 MB, free: 3.266 MB / 350.1 MB Notification: Performance of Templates: time 0.01234/0.2636, allocations: 10.92 MB / 488.6 MB, free: 8.34 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.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.AC3ph.Elementary.LineCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Elementary.LineCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC3ph.Elementary.LineCalcHelperMain.o] Error 1