Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.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.Source,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.Source") translateModel(PowerSystems.Examples.AC3ph.Elementary.Source,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.Source") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009954/0.0009955, allocations: 102.2 kB / 17.16 MB, free: 6.324 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.0009234/0.0009235, allocations: 202.9 kB / 18.08 MB, free: 5.418 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.346/1.346, allocations: 222.9 MB / 241.7 MB, free: 15.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1646/0.1646, allocations: 38.04 MB / 329.9 MB, free: 9.121 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001067/0.001067, allocations: 59.81 kB / 398.7 MB, free: 34.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1163, allocations: 58.06 MB / 456.8 MB, free: 8.57 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.005636/0.122, allocations: 5.056 MB / 461.8 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002257/0.1243, allocations: 1.718 MB / 463.6 MB, free: 1.762 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001953/0.1245, allocations: 23.88 kB / 463.6 MB, free: 1.738 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007204/0.1252, allocations: 266.9 kB / 463.8 MB, free: 1.477 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004474/0.1257, allocations: 270.9 kB / 464.1 MB, free: 1.211 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004951/0.1262, allocations: 215.6 kB / 464.3 MB, free: 1 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007016/0.1269, allocations: 0.9589 MB / 465.3 MB, free: 40 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000349/0.1273, allocations: 207.5 kB / 465.5 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002629/0.1275, allocations: 223 kB / 465.7 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004404/0.128, allocations: 386.8 kB / 466.1 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.963e-05/0.128, allocations: 24 kB / 466.1 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004051/0.1285, allocations: 247.5 kB / 466.3 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001741/0.1286, allocations: 211.5 kB / 466.5 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002305/0.1289, allocations: 238.7 kB / 466.8 MB, free: 14.53 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004279/0.1293, allocations: 0.495 MB / 467.3 MB, free: 14.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1293, allocations: 0 / 467.3 MB, free: 14.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.91e-07/0.1293, allocations: 0 / 467.3 MB, free: 14.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.311e-06/0.1293, allocations: 0 / 467.3 MB, free: 14.04 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001262/0.1306, allocations: 0.7699 MB / 468 MB, free: 13.22 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.1307, allocations: 8.031 kB / 468.1 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005915/0.1313, allocations: 104.2 kB / 468.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005675/0.1318, allocations: 395.2 kB / 468.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.1319, allocations: 25.38 kB / 468.6 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001391/0.132, allocations: 52.09 kB / 468.6 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009003/0.1329, allocations: 0.7032 MB / 469.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.237e-05/0.1329, allocations: 3.938 kB / 469.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.476e-05/0.133, allocations: 12 kB / 469.3 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002033/0.1332, allocations: 68.95 kB / 469.4 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009135/0.1341, allocations: 0.6674 MB / 470.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003144/0.1373, allocations: 2.654 MB / 472.7 MB, free: 8.305 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004931/0.1378, allocations: 317.3 kB / 473 MB, free: 7.977 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000252/0.1381, allocations: 205.7 kB / 473.2 MB, free: 7.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.933e-05/0.1381, allocations: 7.938 kB / 473.2 MB, free: 7.762 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.1381, allocations: 42.56 kB / 473.3 MB, free: 7.711 MB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 1.893e-06/0.1381, allocations: 0 / 473.3 MB, free: 7.711 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.001843/0.14, allocations: 1.29 MB / 474.6 MB, free: 6.367 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/0.14, allocations: 88.98 kB / 474.7 MB, free: 6.262 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002676/0.1403, allocations: 287.2 kB / 474.9 MB, free: 5.973 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/0.1404, allocations: 33.83 kB / 475 MB, free: 5.934 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000162/0.1405, allocations: 263.5 kB / 475.2 MB, free: 5.668 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.513e-05/0.1406, allocations: 134 kB / 475.4 MB, free: 5.535 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.1407, allocations: 86.03 kB / 475.4 MB, free: 5.445 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.1409, allocations: 350.7 kB / 475.8 MB, free: 5.094 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002526/0.1411, allocations: 188.9 kB / 476 MB, free: 4.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003251/0.1415, allocations: 323.9 kB / 476.3 MB, free: 4.543 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006377/0.1421, allocations: 0.5662 MB / 476.9 MB, free: 3.918 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1421, allocations: 0 / 476.9 MB, free: 3.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001108/0.1432, allocations: 0.6779 MB / 477.5 MB, free: 3.227 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.1433, allocations: 6.031 kB / 477.5 MB, free: 3.223 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007658/0.144, allocations: 499.5 kB / 478 MB, free: 2.727 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000402/0.1445, allocations: 109.9 kB / 478.1 MB, free: 2.613 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002704/0.1447, allocations: 87.89 kB / 478.2 MB, free: 2.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00246/0.1472, allocations: 3.014 MB / 481.2 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002076/0.1474, allocations: 23.98 kB / 481.3 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.035e-05/0.1475, allocations: 16.06 kB / 481.3 MB, free: 15.21 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (45): * Single equations (assignments): 41 * Array equations: 2 * 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,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002238/0.1477, allocations: 209.7 kB / 481.5 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.598e-05/0.1478, allocations: 39.47 kB / 481.5 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006737/0.1485, allocations: 464.7 kB / 482 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.98e-05/0.1485, allocations: 11.98 kB / 482 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.1485, allocations: 0 / 482 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.1485, allocations: 4 kB / 482 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001314/0.1499, allocations: 1.032 MB / 483 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.1499, allocations: 0 / 483 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000315/0.1502, allocations: 59.95 kB / 483.1 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.1502, allocations: 4 kB / 483.1 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.838e-05/0.1502, allocations: 12 kB / 483.1 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.1502, allocations: 8 kB / 483.1 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.1503, allocations: 7.938 kB / 483.1 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000874/0.1511, allocations: 0.7395 MB / 483.8 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001473/0.1513, allocations: 140.6 kB / 484 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.612e-05/0.1513, allocations: 8 kB / 484 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001789/0.1515, allocations: 15.98 kB / 484 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.814e-05/0.1516, allocations: 27.84 kB / 484 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.271e-05/0.1516, allocations: 8 kB / 484 MB, free: 12.31 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001984/0.1518, allocations: 207.1 kB / 484.2 MB, free: 12.1 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1518, allocations: 0 / 484.2 MB, free: 12.1 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004914/0.1523, allocations: 112 kB / 484.4 MB, free: 11.99 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * 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 (30): * Single equations (assignments): 27 * Array equations: 2 * 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.0002417/0.1526, allocations: 143.4 kB / 484.5 MB, free: 11.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009941/0.1536, allocations: 0.7071 MB / 485.2 MB, free: 11.11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1536, allocations: 0 / 485.2 MB, free: 11.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002559/0.1539, allocations: 215.9 kB / 485.4 MB, free: 10.9 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004914/0.1544, allocations: 59.61 kB / 485.5 MB, free: 10.85 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001725/0.1561, allocations: 1.351 MB / 486.8 MB, free: 9.457 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004506/0.1566, allocations: 0.8782 MB / 487.7 MB, free: 8.555 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.1567, allocations: 31.44 kB / 487.7 MB, free: 8.523 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1567, allocations: 4 kB / 487.7 MB, free: 8.52 MB / 366.1 MB Notification: Performance of Templates: time 0.009106/0.1658, allocations: 6.844 MB / 494.6 MB, free: 1.672 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.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.SourceCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.SourceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.SourceCalcHelperMain.o] Error 1