Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.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_matrixTrDat3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_d.4.|zr_q.1.|zr_q.2.|zr_q.3.|zr_q.4.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_d.4.|zr_q.1.|zr_q.2.|zr_q.3.|zr_q.4.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001046, allocations: 93.31 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.001285/0.001285, allocations: 175.5 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.528/1.528, allocations: 223.3 MB / 242.2 MB, free: 256 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1853/0.1853, allocations: 38.09 MB / 331.4 MB, free: 8.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004522/0.0004522, allocations: 8.844 kB / 401.4 MB, free: 34.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1511, allocations: 59.16 MB / 460.5 MB, free: 7.074 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3): time 0.002472/0.1536, allocations: 1.807 MB / 462.3 MB, free: 5.246 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003134/0.1568, allocations: 2.133 MB / 464.5 MB, free: 3.105 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.513e-05/0.1568, allocations: 4 kB / 464.5 MB, free: 3.102 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001298/0.157, allocations: 11.92 kB / 464.5 MB, free: 3.09 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.158e-05/0.1571, allocations: 27.83 kB / 464.5 MB, free: 3.062 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00208/0.1592, allocations: 0.6866 MB / 465.2 MB, free: 2.375 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002057/0.1594, allocations: 131.5 kB / 465.3 MB, free: 2.246 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.848e-05/0.1595, allocations: 4.188 kB / 465.3 MB, free: 2.242 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.1596, allocations: 23.91 kB / 465.3 MB, free: 2.219 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.1597, allocations: 59.75 kB / 465.4 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.367e-05/0.1597, allocations: 0 / 465.4 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002011/0.1617, allocations: 1.24 MB / 466.6 MB, free: 0.918 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.711e-05/0.1618, allocations: 51.83 kB / 466.7 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.149e-05/0.1619, allocations: 81.17 kB / 466.8 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001264/0.1632, allocations: 1.006 MB / 467.8 MB, free: 15.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.1632, allocations: 0 / 467.8 MB, free: 15.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1632, allocations: 7.938 kB / 467.8 MB, free: 15.76 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.1632, allocations: 0 / 467.8 MB, free: 15.76 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0007776/0.164, allocations: 0.5864 MB / 468.4 MB, free: 15.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.524e-05/0.1641, allocations: 12.03 kB / 468.4 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.903e-05/0.1642, allocations: 20.66 kB / 468.4 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002568/0.1644, allocations: 203.5 kB / 468.6 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/0.1644, allocations: 4 kB / 468.6 MB, free: 14.85 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.48e-05/0.1645, allocations: 3.938 kB / 468.6 MB, free: 14.85 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000241/0.1647, allocations: 138.6 kB / 468.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.1647, allocations: 3.938 kB / 468.8 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.1648, allocations: 0 / 468.8 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.1648, allocations: 3.984 kB / 468.8 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/0.1649, allocations: 96.23 kB / 468.9 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001946/0.1651, allocations: 221.9 kB / 469.1 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001713/0.1653, allocations: 154.9 kB / 469.2 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001495/0.1654, allocations: 149.2 kB / 469.4 MB, free: 14.03 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/0.1654, allocations: 0 / 469.4 MB, free: 14.03 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.924e-05/0.1655, allocations: 30.56 kB / 469.4 MB, free: 13.99 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 8.82e-07/0.1655, allocations: 0 / 469.4 MB, free: 13.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.0006968/0.1662, allocations: 498.9 kB / 469.9 MB, free: 13.49 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.213e-05/0.1663, allocations: 109.1 kB / 470 MB, free: 13.37 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001605/0.1665, allocations: 174.4 kB / 470.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.1665, allocations: 25.7 kB / 470.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.063e-05/0.1666, allocations: 108.8 kB / 470.3 MB, free: 13.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/0.1667, allocations: 122 kB / 470.4 MB, free: 12.92 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.879e-05/0.1667, allocations: 29.7 kB / 470.4 MB, free: 12.89 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.1669, allocations: 342.8 kB / 470.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.167, allocations: 95.95 kB / 470.9 MB, free: 12.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001169/0.1671, allocations: 104.9 kB / 471 MB, free: 12.35 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003432/0.1675, allocations: 380.3 kB / 471.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1675, allocations: 3.938 kB / 471.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003688/0.1679, allocations: 338.9 kB / 471.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.397e-05/0.168, allocations: 85.62 kB / 471.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.168, allocations: 0 / 471.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.168, allocations: 0 / 471.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.392e-06/0.168, allocations: 4 kB / 471.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.168, allocations: 0 / 471.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.395e-05/0.1681, allocations: 15.84 kB / 471.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.945e-05/0.1681, allocations: 12.06 kB / 471.8 MB, free: 11.49 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.0002114/0.1683, allocations: 235.4 kB / 472 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.904e-05/0.1684, allocations: 23.72 kB / 472 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.173e-05/0.1684, allocations: 14.64 kB / 472.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.1684, allocations: 0 / 472.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.1684, allocations: 3.938 kB / 472.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1684, allocations: 0 / 472.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001876/0.1686, allocations: 249.2 kB / 472.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1686, allocations: 4 kB / 472.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-07/0.1686, allocations: 4 kB / 472.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1687, allocations: 0 / 472.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.945e-05/0.1687, allocations: 8 kB / 472.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.107e-06/0.1687, allocations: 4 kB / 472.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.1687, allocations: 7.875 kB / 472.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009927/0.1697, allocations: 0.9159 MB / 473.2 MB, free: 9.945 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.661e-05/0.1698, allocations: 96.86 kB / 473.3 MB, free: 9.832 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.343e-05/0.1698, allocations: 4 kB / 473.3 MB, free: 9.828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.269e-05/0.1699, allocations: 12.03 kB / 473.4 MB, free: 9.816 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.813e-05/0.1699, allocations: 7.984 kB / 473.4 MB, free: 9.809 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.956e-05/0.1699, allocations: 12 kB / 473.4 MB, free: 9.797 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.478e-05/0.17, allocations: 123.2 kB / 473.5 MB, free: 9.676 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.17, allocations: 0 / 473.5 MB, free: 9.676 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001055/0.1711, allocations: 359.9 kB / 473.8 MB, free: 9.324 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.0009231/0.172, allocations: 370 kB / 474.2 MB, free: 8.953 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001359/0.1734, allocations: 1.6 MB / 475.8 MB, free: 7.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.1734, allocations: 0 / 475.8 MB, free: 7.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001029/0.1745, allocations: 1.366 MB / 477.2 MB, free: 5.961 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002622/0.1747, allocations: 16 kB / 477.2 MB, free: 5.945 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009346/0.1757, allocations: 0.7951 MB / 478 MB, free: 5.121 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003014/0.176, allocations: 0.752 MB / 478.7 MB, free: 4.344 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.277e-05/0.176, allocations: 7.438 kB / 478.7 MB, free: 4.336 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.176, allocations: 0 / 478.7 MB, free: 4.336 MB / 350.1 MB Notification: Performance of Templates: time 0.0124/0.1884, allocations: 7.088 MB / 485.8 MB, free: 13.23 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.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_matrixTrDat3CalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3CalcHelperMain.o] Error 1