Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.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.Impedance,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.Impedance") translateModel(PowerSystems.Examples.AC3ph.Elementary.Impedance,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.Impedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008114/0.0008112, allocations: 94.61 kB / 16.96 MB, free: 6.461 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.0009005/0.0009007, allocations: 179.4 kB / 17.84 MB, free: 6 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.376/1.376, allocations: 223.2 MB / 241.8 MB, free: 236 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.165/0.165, allocations: 38.09 MB / 331.1 MB, free: 8.859 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003812/0.0003812, allocations: 8 kB / 400.7 MB, free: 34.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1093, allocations: 59.15 MB / 459.9 MB, free: 7.445 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.0063/0.1157, allocations: 4.603 MB / 464.5 MB, free: 2.816 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00259/0.1183, allocations: 1.559 MB / 466 MB, free: 1.254 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002705/0.1186, allocations: 23.88 kB / 466 MB, free: 1.23 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002517/0.1189, allocations: 79.38 kB / 466.1 MB, free: 1.152 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006228/0.1195, allocations: 266.6 kB / 466.4 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006722/0.1202, allocations: 235.6 kB / 466.6 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006845/0.1209, allocations: 0.6665 MB / 467.3 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008654/0.1218, allocations: 0.5397 MB / 467.8 MB, free: 15.42 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00029/0.1221, allocations: 207.1 kB / 468 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000453/0.1225, allocations: 299.1 kB / 468.3 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.023e-05/0.1226, allocations: 20 kB / 468.3 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002456/0.1228, allocations: 99.86 kB / 468.4 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002278/0.1231, allocations: 207.5 kB / 468.6 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001096/0.1232, allocations: 109.5 kB / 468.7 MB, free: 14.49 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004617/0.1236, allocations: 446.9 kB / 469.2 MB, free: 14.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.1237, allocations: 3.938 kB / 469.2 MB, free: 14.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1237, allocations: 0 / 469.2 MB, free: 14.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.1237, allocations: 0 / 469.2 MB, free: 14.05 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001173/0.1249, allocations: 0.6919 MB / 469.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.1249, allocations: 8.031 kB / 469.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005387/0.1255, allocations: 95.27 kB / 470 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005369/0.126, allocations: 386.9 kB / 470.4 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.252e-05/0.126, allocations: 33 kB / 470.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001338/0.1262, allocations: 55.91 kB / 470.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009024/0.1271, allocations: 0.645 MB / 471.1 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.252e-05/0.1271, allocations: 3.938 kB / 471.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.322e-05/0.1272, allocations: 23.92 kB / 471.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001073/0.1273, allocations: 36.98 kB / 471.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000733/0.128, allocations: 479.4 kB / 471.6 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003272/0.1313, allocations: 3.014 MB / 474.6 MB, free: 8.273 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002867/0.1316, allocations: 185 kB / 474.8 MB, free: 8.074 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000157/0.1318, allocations: 105.7 kB / 474.9 MB, free: 7.965 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.878e-05/0.1318, allocations: 11.92 kB / 474.9 MB, free: 7.953 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.1319, allocations: 34.56 kB / 475 MB, free: 7.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.973e-06/0.1319, allocations: 0 / 475 MB, free: 7.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001456/0.1333, allocations: 0.8389 MB / 475.8 MB, free: 7.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.854e-05/0.1334, allocations: 81.11 kB / 475.9 MB, free: 6.922 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000353/0.1338, allocations: 345.5 kB / 476.2 MB, free: 6.578 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.1338, allocations: 25.7 kB / 476.2 MB, free: 6.547 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000212/0.134, allocations: 302.9 kB / 476.5 MB, free: 6.246 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.712e-05/0.1341, allocations: 82.92 kB / 476.6 MB, free: 6.164 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.793e-05/0.1341, allocations: 4 kB / 476.6 MB, free: 6.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.1343, allocations: 346.8 kB / 477 MB, free: 5.812 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001958/0.1345, allocations: 128.8 kB / 477.1 MB, free: 5.684 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003282/0.1348, allocations: 327 kB / 477.4 MB, free: 5.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002617/0.1351, allocations: 194 kB / 477.6 MB, free: 5.082 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.1351, allocations: 4 kB / 477.6 MB, free: 5.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009174/0.136, allocations: 0.5571 MB / 478.2 MB, free: 4.512 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.1361, allocations: 8 kB / 478.2 MB, free: 4.504 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004631/0.1365, allocations: 274.7 kB / 478.4 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000327/0.1369, allocations: 80.78 kB / 478.5 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003106/0.1372, allocations: 96.27 kB / 478.6 MB, free: 4.059 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001543/0.1388, allocations: 1.601 MB / 480.2 MB, free: 2.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002253/0.139, allocations: 24.06 kB / 480.2 MB, free: 2.297 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.408e-05/0.139, allocations: 27.94 kB / 480.3 MB, free: 2.27 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (50): * Single equations (assignments): 49 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002471/0.1393, allocations: 209.6 kB / 480.5 MB, free: 2.055 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.543e-05/0.1393, allocations: 35.61 kB / 480.5 MB, free: 2.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004592/0.1398, allocations: 288.6 kB / 480.8 MB, free: 1.734 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.1398, allocations: 8 kB / 480.8 MB, free: 1.727 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.1398, allocations: 0 / 480.8 MB, free: 1.727 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.1398, allocations: 3.984 kB / 480.8 MB, free: 1.723 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001095/0.1409, allocations: 0.7919 MB / 481.6 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.141, allocations: 0 / 481.6 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002782/0.1412, allocations: 51.91 kB / 481.6 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.1413, allocations: 8.062 kB / 481.6 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.35e-05/0.1413, allocations: 12 kB / 481.6 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.1413, allocations: 0 / 481.6 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.1413, allocations: 7.953 kB / 481.7 MB, free: 0.793 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005351/0.1418, allocations: 482.1 kB / 482.1 MB, free: 308 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.736e-05/0.1419, allocations: 108.7 kB / 482.2 MB, free: 180 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.014e-05/0.142, allocations: 8.031 kB / 482.2 MB, free: 172 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001484/0.1421, allocations: 4 kB / 482.2 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.586e-05/0.1422, allocations: 23.92 kB / 482.3 MB, free: 144 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.1422, allocations: 8 kB / 482.3 MB, free: 136 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002293/0.1424, allocations: 235.1 kB / 482.5 MB, free: 15.9 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.6e-07/0.1424, allocations: 0 / 482.5 MB, free: 15.9 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004457/0.1429, allocations: 92 kB / 482.6 MB, free: 15.81 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 (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001166/0.143, allocations: 111.1 kB / 482.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006722/0.1437, allocations: 447.8 kB / 483.1 MB, free: 15.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.1437, allocations: 4.188 kB / 483.1 MB, free: 15.24 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001595/0.1439, allocations: 114.8 kB / 483.3 MB, free: 15.13 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004679/0.1444, allocations: 60.33 kB / 483.3 MB, free: 15.08 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0016/0.146, allocations: 1.263 MB / 484.6 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004237/0.1464, allocations: 0.8743 MB / 485.5 MB, free: 12.87 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.504e-05/0.1465, allocations: 31.44 kB / 485.5 MB, free: 12.84 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1465, allocations: 0 / 485.5 MB, free: 12.84 MB / 366.1 MB Notification: Performance of Templates: time 0.007929/0.1544, allocations: 5.594 MB / 491.1 MB, free: 7.242 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.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_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceCalcHelperMain.o] Error 1