Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line") translateModel(PowerSystems.Examples.AC3ph.Elementary.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_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.001241/0.001241, allocations: 106.2 kB / 17.16 MB, free: 6.352 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.0009736/0.0009736, allocations: 194.9 kB / 18.07 MB, free: 5.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 222.9 MB / 241.7 MB, free: 13.82 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1693/0.1693, allocations: 38.04 MB / 329.9 MB, free: 8.91 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001073/0.001073, allocations: 56.5 kB / 398.7 MB, free: 34.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1075, allocations: 58.06 MB / 456.8 MB, free: 8.566 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Line): time 0.007417/0.115, allocations: 6.015 MB / 462.8 MB, free: 2.516 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003501/0.1186, allocations: 2.026 MB / 464.8 MB, free: 496 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004365/0.119, allocations: 35.75 kB / 464.9 MB, free: 460 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001159/0.1202, allocations: 410.4 kB / 465.3 MB, free: 48 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006868/0.1209, allocations: 278.8 kB / 465.5 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008352/0.1218, allocations: 323.4 kB / 465.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008964/0.1227, allocations: 1.076 MB / 466.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005202/0.1232, allocations: 361.7 kB / 467.3 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003739/0.1236, allocations: 286.8 kB / 467.6 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005786/0.1242, allocations: 474.5 kB / 468 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.935e-05/0.1243, allocations: 36 kB / 468.1 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003216/0.1246, allocations: 167.7 kB / 468.2 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002643/0.1249, allocations: 267.3 kB / 468.5 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003088/0.1252, allocations: 314.4 kB / 468.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005602/0.1258, allocations: 0.6236 MB / 469.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.1258, allocations: 4 kB / 469.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.81e-07/0.1258, allocations: 0 / 469.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.1258, allocations: 0 / 469.4 MB, free: 11.88 MB / 350.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.001594/0.1274, allocations: 0.9097 MB / 470.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.1275, allocations: 12.03 kB / 470.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009273/0.1284, allocations: 132 kB / 470.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009124/0.1293, allocations: 0.5158 MB / 471 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.228e-05/0.1294, allocations: 37.11 kB / 471 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003253/0.1297, allocations: 127.9 kB / 471.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001219/0.1309, allocations: 0.8652 MB / 472 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.42e-05/0.131, allocations: 11.84 kB / 472 MB, free: 9.113 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.979e-05/0.131, allocations: 19.98 kB / 472 MB, free: 9.094 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004181/0.1314, allocations: 68.94 kB / 472.1 MB, free: 9.023 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009431/0.1324, allocations: 0.6166 MB / 472.7 MB, free: 8.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004422/0.1368, allocations: 3.796 MB / 476.5 MB, free: 4.449 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/0.138, allocations: 0.5474 MB / 477.1 MB, free: 3.887 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004511/0.1384, allocations: 315 kB / 477.4 MB, free: 3.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.173e-05/0.1385, allocations: 20.42 kB / 477.4 MB, free: 3.551 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.1385, allocations: 38.94 kB / 477.4 MB, free: 3.504 MB / 350.1 MB Notification: Performance of pre-optimization done (n=48): time 2.564e-06/0.1385, allocations: 0 / 477.4 MB, free: 3.504 MB / 350.1 MB Notification: Performance of matching and sorting (n=49): time 0.002978/0.1415, allocations: 1.832 MB / 479.3 MB, free: 1.621 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.232e-05/0.1416, allocations: 89.67 kB / 479.4 MB, free: 1.516 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000401/0.142, allocations: 421.8 kB / 479.8 MB, free: 1.094 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.668e-05/0.1421, allocations: 33.7 kB / 479.8 MB, free: 1.055 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001985/0.1423, allocations: 323.7 kB / 480.1 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001851/0.1425, allocations: 201.2 kB / 480.3 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002078/0.1427, allocations: 146.2 kB / 480.5 MB, free: 396 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.1428, allocations: 370.7 kB / 480.8 MB, free: 16 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005223/0.1433, allocations: 385.5 kB / 481.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006634/0.144, allocations: 0.594 MB / 481.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001294/0.1453, allocations: 1.065 MB / 482.9 MB, free: 13.78 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.1453, allocations: 4 kB / 482.9 MB, free: 13.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004127/0.1495, allocations: 2.007 MB / 484.9 MB, free: 11.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.1495, allocations: 8 kB / 484.9 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/0.1495, allocations: 8 kB / 484.9 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002369/0.1519, allocations: 0.9654 MB / 485.9 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004242/0.1523, allocations: 127.8 kB / 486 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009827/0.1622, allocations: 7.376 MB / 493.4 MB, free: 2.996 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004853/0.1627, allocations: 39.91 kB / 493.4 MB, free: 2.957 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.16e-05/0.1628, allocations: 32 kB / 493.4 MB, free: 2.926 MB / 366.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.0003653/0.1631, allocations: 253.7 kB / 493.7 MB, free: 2.668 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.1632, allocations: 59.27 kB / 493.7 MB, free: 2.609 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001162/0.1644, allocations: 0.7141 MB / 494.4 MB, free: 1.879 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.1644, allocations: 8 kB / 494.4 MB, free: 1.871 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.1644, allocations: 7.922 kB / 494.5 MB, free: 1.863 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.1645, allocations: 0 / 494.5 MB, free: 1.863 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002373/0.1668, allocations: 1.517 MB / 496 MB, free: 292 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.1668, allocations: 8.078 kB / 496 MB, free: 284 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009957/0.1679, allocations: 187.8 kB / 496.2 MB, free: 96 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.1679, allocations: 0 / 496.2 MB, free: 96 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.897e-05/0.1679, allocations: 27.98 kB / 496.2 MB, free: 68 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.27e-05/0.1679, allocations: 7.938 kB / 496.2 MB, free: 60 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.168, allocations: 3.984 kB / 496.2 MB, free: 56 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001331/0.1693, allocations: 0.9932 MB / 497.2 MB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.1694, allocations: 128.4 kB / 497.3 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.981e-05/0.1695, allocations: 23.98 kB / 497.3 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00032/0.1698, allocations: 23.97 kB / 497.4 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.178e-05/0.1699, allocations: 40.45 kB / 497.4 MB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.921e-05/0.17, allocations: 23.98 kB / 497.4 MB, free: 14.78 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002685/0.1702, allocations: 279.1 kB / 497.7 MB, free: 14.51 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1703, allocations: 0 / 497.7 MB, free: 14.51 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007769/0.171, allocations: 212 kB / 497.9 MB, free: 14.3 MB / 382.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.0001705/0.1712, allocations: 127.2 kB / 498 MB, free: 14.17 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002402/0.1736, allocations: 1.465 MB / 499.5 MB, free: 12.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1736, allocations: 0 / 499.5 MB, free: 12.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004428/0.1741, allocations: 306.3 kB / 499.8 MB, free: 12.38 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006496/0.1747, allocations: 121.9 kB / 499.9 MB, free: 12.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004298/0.1791, allocations: 2.995 MB / 0.4911 GB, free: 9.207 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005722/0.1796, allocations: 0.9843 MB / 0.4921 GB, free: 8.195 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002014/0.1799, allocations: 47.42 kB / 0.4921 GB, free: 8.148 MB / 382.1 MB Notification: Performance of SimCode: time 8.62e-07/0.1799, allocations: 0 / 0.4921 GB, free: 8.148 MB / 382.1 MB Notification: Performance of Templates: time 0.2073/0.3871, allocations: 10.91 MB / 0.5028 GB, free: 55.16 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.makefile make -j1 -f PowerSystems_latest_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_latest_PowerSystems.Examples.AC3ph.Elementary.LineCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.LineCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.LineCalcHelperMain.o] Error 1