Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.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.EqCircFromTransDat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|r_rd.1.|r_rd.2.|r_rq.1.|r_rq.2.|xm_d.1.|xm_d.2.|xm_d.3.|xm_q.1.|xm_q.2.|xm_q.3.|xsig_rd.1.|xsig_rd.2.|xsig_rq.1.|xsig_rq.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat") translateModel(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|r_rd.1.|r_rd.2.|r_rq.1.|r_rq.2.|xm_d.1.|xm_d.2.|xm_d.3.|xm_q.1.|xm_q.2.|xm_q.3.|xsig_rd.1.|xsig_rd.2.|xsig_rq.1.|xsig_rq.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 93.56 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.0013/0.001301, allocations: 175.4 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.623/1.623, allocations: 223.3 MB / 242.2 MB, free: 200 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2495/0.2495, allocations: 38.1 MB / 331.5 MB, free: 8.734 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005176/0.0005175, allocations: 9.75 kB / 401.4 MB, free: 34.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1455, allocations: 59.17 MB / 460.5 MB, free: 7.059 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat): time 0.003238/0.1489, allocations: 1.85 MB / 462.4 MB, free: 5.188 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003448/0.1523, allocations: 2.133 MB / 464.5 MB, free: 3.043 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.784e-05/0.1524, allocations: 0 / 464.5 MB, free: 3.043 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001371/0.1526, allocations: 11.92 kB / 464.5 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001216/0.1527, allocations: 39.8 kB / 464.6 MB, free: 2.992 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00204/0.1547, allocations: 0.671 MB / 465.2 MB, free: 2.32 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002443/0.155, allocations: 183.4 kB / 465.4 MB, free: 2.141 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.365e-05/0.1551, allocations: 11.94 kB / 465.4 MB, free: 2.129 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.039e-05/0.1552, allocations: 43.77 kB / 465.5 MB, free: 2.086 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.1553, allocations: 63.8 kB / 465.5 MB, free: 2.023 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.1553, allocations: 4 kB / 465.5 MB, free: 2.02 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00168/0.157, allocations: 1.212 MB / 466.8 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.723e-05/0.1571, allocations: 27.91 kB / 466.8 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.626e-05/0.1571, allocations: 65.44 kB / 466.8 MB, free: 0.707 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001123/0.1583, allocations: 0.9748 MB / 467.8 MB, free: 15.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.533e-06/0.1583, allocations: 3.984 kB / 467.8 MB, free: 15.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1583, allocations: 0 / 467.8 MB, free: 15.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.1583, allocations: 0 / 467.8 MB, free: 15.73 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006706/0.159, allocations: 0.5163 MB / 468.3 MB, free: 15.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.159, allocations: 8.031 kB / 468.3 MB, free: 15.15 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.298e-05/0.1591, allocations: 16.69 kB / 468.4 MB, free: 15.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002093/0.1593, allocations: 200.1 kB / 468.6 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.1593, allocations: 4.125 kB / 468.6 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.599e-05/0.1593, allocations: 4 kB / 468.6 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.1595, allocations: 73.66 kB / 468.6 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.1595, allocations: 0 / 468.6 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.1595, allocations: 0 / 468.6 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.1595, allocations: 4 kB / 468.6 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.971e-05/0.1596, allocations: 35.98 kB / 468.7 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000166/0.1598, allocations: 189.4 kB / 468.9 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.1599, allocations: 78.48 kB / 468.9 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.724e-05/0.16, allocations: 60.88 kB / 469 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.965e-06/0.16, allocations: 0 / 469 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.16, allocations: 34.55 kB / 469 MB, free: 14.35 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 7.02e-07/0.16, allocations: 0 / 469 MB, free: 14.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0003698/0.1604, allocations: 231.3 kB / 469.3 MB, free: 14.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.756e-05/0.1605, allocations: 85.11 kB / 469.3 MB, free: 14.01 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.1606, allocations: 154.1 kB / 469.5 MB, free: 13.85 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/0.1607, allocations: 25.7 kB / 469.5 MB, free: 13.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.582e-05/0.1607, allocations: 104.4 kB / 469.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.596e-05/0.1608, allocations: 43.36 kB / 469.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.828e-05/0.1608, allocations: 13.72 kB / 469.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.161, allocations: 326.8 kB / 470 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.91e-05/0.161, allocations: 35.97 kB / 470 MB, free: 13.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.242e-05/0.1611, allocations: 43.97 kB / 470.1 MB, free: 13.24 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001766/0.1613, allocations: 175.3 kB / 470.2 MB, free: 13.06 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.1613, allocations: 3.938 kB / 470.2 MB, free: 13.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002081/0.1615, allocations: 171.2 kB / 470.4 MB, free: 12.88 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.415e-05/0.1616, allocations: 57.67 kB / 470.5 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.1616, allocations: 3.938 kB / 470.5 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.1616, allocations: 0 / 470.5 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.052e-06/0.1616, allocations: 0 / 470.5 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1616, allocations: 0 / 470.5 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.324e-05/0.1617, allocations: 15.84 kB / 470.5 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.371e-05/0.1617, allocations: 7.938 kB / 470.5 MB, free: 12.79 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.0001377/0.1619, allocations: 171.4 kB / 470.7 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.073e-05/0.1619, allocations: 11.91 kB / 470.7 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.958e-05/0.1619, allocations: 12.84 kB / 470.7 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.1619, allocations: 0 / 470.7 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1619, allocations: 0 / 470.7 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1619, allocations: 0 / 470.7 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/0.1621, allocations: 197.5 kB / 470.9 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1621, allocations: 0 / 470.9 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.004e-06/0.1621, allocations: 3.984 kB / 470.9 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1621, allocations: 0 / 470.9 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.1621, allocations: 4 kB / 470.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1622, allocations: 0 / 470.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1622, allocations: 0 / 470.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000346/0.1625, allocations: 302.5 kB / 471.2 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.609e-05/0.1626, allocations: 96.84 kB / 471.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.098e-05/0.1626, allocations: 4 kB / 471.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.406e-05/0.1626, allocations: 0 / 471.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.477e-05/0.1627, allocations: 8 kB / 471.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.1627, allocations: 4 kB / 471.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.649e-05/0.1628, allocations: 117.3 kB / 471.4 MB, free: 11.76 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1628, allocations: 4.031 kB / 471.4 MB, free: 11.76 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009172/0.1637, allocations: 331.9 kB / 471.7 MB, free: 11.43 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.0009472/0.1647, allocations: 358.1 kB / 472.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004216/0.1651, allocations: 335.3 kB / 472.4 MB, free: 10.74 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1651, allocations: 64 / 472.4 MB, free: 10.74 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002258/0.1653, allocations: 271.2 kB / 472.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002798/0.1656, allocations: 18.19 kB / 472.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005609/0.1662, allocations: 426.7 kB / 473.1 MB, free: 9.996 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.1665, allocations: 0.7082 MB / 473.8 MB, free: 9.262 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.332e-05/0.1665, allocations: 11.44 kB / 473.8 MB, free: 9.25 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1665, allocations: 0 / 473.8 MB, free: 9.25 MB / 350.1 MB Notification: Performance of Templates: time 0.01063/0.1772, allocations: 6.154 MB / 480 MB, free: 3.082 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.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.EqCircFromTransDatCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDatCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDatCalcHelperMain.o] Error 1