Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.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.Precalculation.Z_matrixTrDat2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_q.1.|zr_q.2.|zr_q.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_q.1.|zr_q.2.|zr_q.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008374/0.0008369, allocations: 91.17 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.0008935/0.0008936, allocations: 178.3 kB / 18.21 MB, free: 5.68 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.609/1.609, allocations: 223.3 MB / 242.2 MB, free: 14.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1823/0.1823, allocations: 38.09 MB / 331.5 MB, free: 8.539 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003434/0.0003434, allocations: 12 kB / 401.4 MB, free: 34.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1415, allocations: 59.17 MB / 460.5 MB, free: 7.047 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2): time 0.003162/0.1447, allocations: 1.811 MB / 462.3 MB, free: 5.215 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003558/0.1483, allocations: 2.122 MB / 464.5 MB, free: 3.082 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.105e-05/0.1484, allocations: 0 / 464.5 MB, free: 3.082 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001505/0.1486, allocations: 7.922 kB / 464.5 MB, free: 3.074 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001115/0.1487, allocations: 31.83 kB / 464.5 MB, free: 3.043 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002046/0.1507, allocations: 0.6866 MB / 465.2 MB, free: 2.355 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001521/0.1509, allocations: 123.6 kB / 465.3 MB, free: 2.234 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.704e-05/0.151, allocations: 4.188 kB / 465.3 MB, free: 2.23 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001337/0.1511, allocations: 27.91 kB / 465.3 MB, free: 2.203 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.329e-05/0.1512, allocations: 55.75 kB / 465.4 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.1512, allocations: 4 kB / 465.4 MB, free: 2.145 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001802/0.153, allocations: 1.236 MB / 466.6 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.929e-05/0.1531, allocations: 35.89 kB / 466.7 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.883e-05/0.1532, allocations: 65.33 kB / 466.7 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001117/0.1543, allocations: 0.9905 MB / 467.7 MB, free: 15.81 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.1543, allocations: 0 / 467.7 MB, free: 15.81 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1543, allocations: 0 / 467.7 MB, free: 15.81 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.1544, allocations: 0 / 467.7 MB, free: 15.81 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007133/0.1551, allocations: 0.5437 MB / 468.3 MB, free: 15.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.1551, allocations: 8.031 kB / 468.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.849e-05/0.1552, allocations: 12.75 kB / 468.3 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002268/0.1554, allocations: 211.5 kB / 468.5 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.1554, allocations: 0 / 468.5 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.719e-05/0.1555, allocations: 4 kB / 468.5 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001979/0.1557, allocations: 93.66 kB / 468.6 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.1557, allocations: 3.938 kB / 468.6 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.1557, allocations: 0 / 468.6 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1557, allocations: 7.938 kB / 468.6 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.561e-05/0.1558, allocations: 67.83 kB / 468.7 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002084/0.156, allocations: 189.4 kB / 468.9 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001285/0.1562, allocations: 102.5 kB / 469 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.457e-05/0.1563, allocations: 92.86 kB / 469 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.338e-06/0.1563, allocations: 0 / 469 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.584e-05/0.1563, allocations: 34.56 kB / 469.1 MB, free: 14.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 9.52e-07/0.1563, allocations: 0 / 469.1 MB, free: 14.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.0004767/0.1568, allocations: 317.5 kB / 469.4 MB, free: 13.96 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.77e-05/0.1569, allocations: 101 kB / 469.5 MB, free: 13.85 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.157, allocations: 153.6 kB / 469.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.157, allocations: 29.7 kB / 469.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.688e-05/0.1571, allocations: 96.58 kB / 469.8 MB, free: 13.56 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.948e-05/0.1572, allocations: 78.8 kB / 469.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.844e-05/0.1572, allocations: 25.7 kB / 469.9 MB, free: 13.45 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.1574, allocations: 330.8 kB / 470.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.712e-05/0.1575, allocations: 59.97 kB / 470.2 MB, free: 13.06 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.742e-05/0.1576, allocations: 63.97 kB / 470.3 MB, free: 13 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002396/0.1578, allocations: 248.2 kB / 470.6 MB, free: 12.74 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1578, allocations: 0 / 470.6 MB, free: 12.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002803/0.1581, allocations: 246.4 kB / 470.8 MB, free: 12.49 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.766e-05/0.1582, allocations: 61.66 kB / 470.9 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.1582, allocations: 0 / 470.9 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.1582, allocations: 4 kB / 470.9 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.092e-06/0.1582, allocations: 64 / 470.9 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.1582, allocations: 4 kB / 470.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.976e-05/0.1583, allocations: 15.83 kB / 470.9 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.669e-05/0.1583, allocations: 8 kB / 470.9 MB, free: 12.39 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001605/0.1585, allocations: 195.4 kB / 471.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.71e-05/0.1585, allocations: 19.81 kB / 471.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.044e-05/0.1585, allocations: 13.17 kB / 471.1 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-06/0.1586, allocations: 0 / 471.1 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1586, allocations: 0 / 471.1 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1586, allocations: 0 / 471.1 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000148/0.1587, allocations: 209.4 kB / 471.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1587, allocations: 0 / 471.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.1587, allocations: 4 kB / 471.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.1587, allocations: 0 / 471.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.1588, allocations: 7.984 kB / 471.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1588, allocations: 0 / 471.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.1588, allocations: 0 / 471.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005687/0.1594, allocations: 0.5216 MB / 471.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.35e-05/0.1594, allocations: 104.8 kB / 471.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.532e-05/0.1595, allocations: 4 kB / 472 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.847e-05/0.1595, allocations: 4 kB / 472 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.469e-05/0.1595, allocations: 4 kB / 472 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.1595, allocations: 8 kB / 472 MB, free: 11.2 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.816e-05/0.1596, allocations: 114.3 kB / 472.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1596, allocations: 0 / 472.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008754/0.1605, allocations: 343.9 kB / 472.4 MB, free: 10.75 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * 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.0008812/0.1614, allocations: 374 kB / 472.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006957/0.1621, allocations: 0.7061 MB / 473.5 MB, free: 9.664 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1621, allocations: 0 / 473.5 MB, free: 9.664 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004487/0.1626, allocations: 0.5774 MB / 474.1 MB, free: 9.074 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002212/0.1628, allocations: 14.34 kB / 474.1 MB, free: 9.062 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007295/0.1635, allocations: 0.5523 MB / 474.6 MB, free: 8.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002683/0.1638, allocations: 0.728 MB / 475.4 MB, free: 7.727 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.197e-05/0.1638, allocations: 7.438 kB / 475.4 MB, free: 7.719 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1639, allocations: 0 / 475.4 MB, free: 7.719 MB / 350.1 MB Notification: Performance of Templates: time 0.01116/0.175, allocations: 6.457 MB / 481.8 MB, free: 1.25 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.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.Precalculation.Z_matrixTrDat2CalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2CalcHelperMain.o] Error 1