Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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.ImpedanceYD,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.ImpedanceYD") translateModel(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,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.ImpedanceYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 92.45 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.001621/0.001621, allocations: 175.9 kB / 18.21 MB, free: 5.684 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.487/1.487, allocations: 223.3 MB / 242.2 MB, free: 14.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1951/0.1951, allocations: 38.1 MB / 331.5 MB, free: 8.559 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003007/0.0003007, allocations: 9.688 kB / 401.4 MB, free: 34.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1305, allocations: 59.15 MB / 460.5 MB, free: 7.09 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.006509/0.1371, allocations: 4.819 MB / 465.3 MB, free: 2.242 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003366/0.1405, allocations: 1.726 MB / 467.1 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003132/0.1409, allocations: 27.81 kB / 467.1 MB, free: 496 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002556/0.1411, allocations: 63.48 kB / 467.2 MB, free: 432 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007172/0.1419, allocations: 250.9 kB / 467.4 MB, free: 180 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007173/0.1426, allocations: 223.6 kB / 467.6 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001327/0.1439, allocations: 0.9316 MB / 468.6 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001166/0.1451, allocations: 476.5 kB / 469 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005415/0.1457, allocations: 215 kB / 469.2 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000739/0.1464, allocations: 326.9 kB / 469.5 MB, free: 13.99 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.02e-05/0.1465, allocations: 20 kB / 469.6 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004447/0.147, allocations: 135.8 kB / 469.7 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003024/0.1473, allocations: 199.4 kB / 469.9 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003727/0.1477, allocations: 260.4 kB / 470.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007599/0.1485, allocations: 450.9 kB / 470.6 MB, free: 12.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.1485, allocations: 0 / 470.6 MB, free: 12.94 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.1485, allocations: 0 / 470.6 MB, free: 12.94 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.867e-06/0.1485, allocations: 0 / 470.6 MB, free: 12.94 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001865/0.1504, allocations: 0.6763 MB / 471.3 MB, free: 12.22 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.399e-05/0.1504, allocations: 16.02 kB / 471.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009352/0.1514, allocations: 92.22 kB / 471.4 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009395/0.1523, allocations: 396 kB / 471.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.93e-05/0.1524, allocations: 29.38 kB / 471.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002145/0.1526, allocations: 56.09 kB / 471.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001516/0.1542, allocations: 0.6638 MB / 472.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.187e-05/0.1542, allocations: 4 kB / 472.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.091e-05/0.1543, allocations: 16 kB / 472.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000218/0.1545, allocations: 48.97 kB / 472.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001202/0.1557, allocations: 491.5 kB / 473 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005328/0.1611, allocations: 3.175 MB / 476.2 MB, free: 6.965 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006679/0.1618, allocations: 241.3 kB / 476.5 MB, free: 6.711 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002808/0.1621, allocations: 124 kB / 476.6 MB, free: 6.586 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.745e-05/0.1622, allocations: 7.938 kB / 476.6 MB, free: 6.578 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.085e-05/0.1622, allocations: 38.56 kB / 476.6 MB, free: 6.531 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 3.266e-06/0.1622, allocations: 3.938 kB / 476.6 MB, free: 6.527 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.002213/0.1645, allocations: 0.8872 MB / 477.5 MB, free: 5.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.157e-05/0.1646, allocations: 85.09 kB / 477.6 MB, free: 5.488 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004853/0.1651, allocations: 328.4 kB / 477.9 MB, free: 5.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.486e-05/0.1651, allocations: 29.7 kB / 478 MB, free: 5.125 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002881/0.1654, allocations: 291 kB / 478.2 MB, free: 4.832 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001298/0.1655, allocations: 98.72 kB / 478.3 MB, free: 4.734 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.011e-05/0.1656, allocations: 37.7 kB / 478.4 MB, free: 4.691 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002033/0.1659, allocations: 358.9 kB / 478.7 MB, free: 4.332 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003106/0.1662, allocations: 124.8 kB / 478.8 MB, free: 4.207 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005358/0.1667, allocations: 325.1 kB / 479.2 MB, free: 3.801 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009037/0.1676, allocations: 0.4972 MB / 479.7 MB, free: 3.215 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.321e-06/0.1677, allocations: 4 kB / 479.7 MB, free: 3.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0017/0.1694, allocations: 0.5886 MB / 480.2 MB, free: 2.609 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.943e-05/0.1694, allocations: 8 kB / 480.3 MB, free: 2.602 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009594/0.1704, allocations: 333.3 kB / 480.6 MB, free: 2.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006452/0.171, allocations: 113.6 kB / 480.7 MB, free: 2.152 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004622/0.1715, allocations: 87.83 kB / 480.8 MB, free: 2.066 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004062/0.1756, allocations: 3.034 MB / 483.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004688/0.1761, allocations: 16 kB / 483.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.177e-05/0.1762, allocations: 24 kB / 483.9 MB, free: 14.73 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004312/0.1766, allocations: 221.6 kB / 484.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.1767, allocations: 35.53 kB / 484.1 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008329/0.1776, allocations: 320.9 kB / 484.4 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.1776, allocations: 4.188 kB / 484.4 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.1776, allocations: 0 / 484.4 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.1776, allocations: 3.984 kB / 484.4 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001757/0.1794, allocations: 0.8159 MB / 485.2 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.1794, allocations: 0 / 485.2 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004474/0.1799, allocations: 59.95 kB / 485.3 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.1799, allocations: 0 / 485.3 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.249e-05/0.1799, allocations: 8 kB / 485.3 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/0.1799, allocations: 3.938 kB / 485.3 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.1799, allocations: 4 kB / 485.3 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.181, allocations: 0.505 MB / 485.8 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002207/0.1812, allocations: 124.8 kB / 485.9 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.284e-05/0.1813, allocations: 8 kB / 485.9 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002777/0.1816, allocations: 11.98 kB / 486 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.081e-05/0.1817, allocations: 19.86 kB / 486 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.351e-05/0.1817, allocations: 19.98 kB / 486 MB, free: 12.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003628/0.1821, allocations: 219.1 kB / 486.2 MB, free: 12.24 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1821, allocations: 0 / 486.2 MB, free: 12.24 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009565/0.183, allocations: 99.94 kB / 486.3 MB, free: 12.14 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (indYD.i[1],indYD.i[2],indYD.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 (27): * Single equations (assignments): 26 * 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.000184/0.1832, allocations: 107.2 kB / 486.4 MB, free: 12.03 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001351/0.1846, allocations: 0.5757 MB / 487 MB, free: 11.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.1846, allocations: 0 / 487 MB, free: 11.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002824/0.1849, allocations: 132.7 kB / 487.1 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009319/0.1859, allocations: 61.59 kB / 487.2 MB, free: 11.24 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002647/0.1885, allocations: 1.31 MB / 488.5 MB, free: 9.891 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006463/0.1892, allocations: 0.8701 MB / 489.4 MB, free: 8.996 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001495/0.1894, allocations: 31.44 kB / 489.4 MB, free: 8.965 MB / 366.1 MB Notification: Performance of SimCode: time 9.32e-07/0.1894, allocations: 0 / 489.4 MB, free: 8.965 MB / 366.1 MB Notification: Performance of Templates: time 0.01473/0.2041, allocations: 6.472 MB / 495.9 MB, free: 2.5 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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.ImpedanceYDCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYDCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYDCalcHelperMain.o] Error 1