Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.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.AC1ph_DC.Elementary.Sensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1480,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1480,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000931/0.0009315, allocations: 89.98 kB / 17.31 MB, free: 5.59 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.001165/0.001165, allocations: 179.5 kB / 18.21 MB, free: 5.191 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.474/1.474, allocations: 223.2 MB / 242.2 MB, free: 208 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1874/0.1874, allocations: 38.09 MB / 331.5 MB, free: 8.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000462/0.0004621, allocations: 8 kB / 401.4 MB, free: 34.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1544, allocations: 59.17 MB / 460.5 MB, free: 7.07 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor): time 0.006928/0.1614, allocations: 4.319 MB / 464.9 MB, free: 2.723 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002352/0.1638, allocations: 1.067 MB / 465.9 MB, free: 1.652 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002782/0.1641, allocations: 23.81 kB / 465.9 MB, free: 1.629 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002484/0.1644, allocations: 35.7 kB / 466 MB, free: 1.594 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005694/0.1649, allocations: 167.2 kB / 466.1 MB, free: 1.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002872/0.1652, allocations: 79.86 kB / 466.2 MB, free: 1.352 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007463/0.166, allocations: 0.5647 MB / 466.8 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000336/0.1663, allocations: 101.7 kB / 466.9 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002921/0.1666, allocations: 147.2 kB / 467 MB, free: 0.543 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004199/0.1671, allocations: 195.3 kB / 467.2 MB, free: 360 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.357e-05/0.1671, allocations: 16 kB / 467.2 MB, free: 344 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.043e-05/0.1672, allocations: 12 kB / 467.2 MB, free: 332 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001665/0.1674, allocations: 103.6 kB / 467.3 MB, free: 228 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002009/0.1676, allocations: 164.9 kB / 467.5 MB, free: 56 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000313/0.1679, allocations: 223.4 kB / 467.7 MB, free: 15.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.1679, allocations: 0 / 467.7 MB, free: 15.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.796e-06/0.1679, allocations: 0 / 467.7 MB, free: 15.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.168, allocations: 0 / 467.7 MB, free: 15.84 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001163/0.1691, allocations: 0.5739 MB / 468.3 MB, free: 15.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.1692, allocations: 8.031 kB / 468.3 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.818e-05/0.1693, allocations: 36.47 kB / 468.3 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004326/0.1697, allocations: 323 kB / 468.7 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.468e-05/0.1697, allocations: 20.92 kB / 468.7 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.756e-05/0.1698, allocations: 32.06 kB / 468.7 MB, free: 14.76 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005213/0.1703, allocations: 316.5 kB / 469 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.1703, allocations: 0 / 469 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.71e-05/0.1704, allocations: 12 kB / 469 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.1704, allocations: 4 kB / 469 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003554/0.1708, allocations: 217.5 kB / 469.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001763/0.1725, allocations: 1.352 MB / 470.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003284/0.1729, allocations: 145.1 kB / 470.7 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.173, allocations: 65.75 kB / 470.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.173, allocations: 0 / 470.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.487e-05/0.1731, allocations: 34.56 kB / 470.8 MB, free: 12.47 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.363e-06/0.1731, allocations: 4 kB / 470.8 MB, free: 12.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007803/0.1739, allocations: 368.4 kB / 471.2 MB, free: 12.1 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.1739, allocations: 81.05 kB / 471.3 MB, free: 12 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000265/0.1742, allocations: 255.2 kB / 471.5 MB, free: 11.74 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.1742, allocations: 29.7 kB / 471.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000155/0.1744, allocations: 207.5 kB / 471.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.249e-05/0.1744, allocations: 39.36 kB / 471.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-05/0.1745, allocations: 33.64 kB / 471.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.1747, allocations: 334.8 kB / 472.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.459e-05/0.1748, allocations: 51.97 kB / 472.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001878/0.175, allocations: 149.7 kB / 472.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003062/0.1753, allocations: 240.6 kB / 472.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.1753, allocations: 0 / 472.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003625/0.1757, allocations: 245.2 kB / 472.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.663e-05/0.1757, allocations: 8 kB / 472.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.1757, allocations: 11.92 kB / 472.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.1757, allocations: 4 kB / 472.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000175/0.1759, allocations: 47.92 kB / 472.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.1759, allocations: 7.984 kB / 472.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.1761, allocations: 8 kB / 472.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.793e-05/0.1761, allocations: 12 kB / 472.9 MB, free: 10.21 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * 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.0001745/0.1763, allocations: 170.3 kB / 473.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.577e-05/0.1763, allocations: 23.72 kB / 473.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003766/0.1767, allocations: 199.1 kB / 473.3 MB, free: 9.812 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.1767, allocations: 0 / 473.3 MB, free: 9.812 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.15e-05/0.1767, allocations: 7.984 kB / 473.3 MB, free: 9.805 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.1767, allocations: 0 / 473.3 MB, free: 9.805 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007642/0.1775, allocations: 0.546 MB / 473.9 MB, free: 9.199 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.1775, allocations: 4.031 kB / 473.9 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001354/0.1777, allocations: 35.92 kB / 473.9 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.604e-06/0.1777, allocations: 0 / 473.9 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.606e-05/0.1777, allocations: 11.92 kB / 473.9 MB, free: 9.148 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.1777, allocations: 3.938 kB / 473.9 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1777, allocations: 0 / 473.9 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003298/0.1781, allocations: 295 kB / 474.2 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.158e-05/0.1781, allocations: 100.8 kB / 474.3 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.135e-05/0.1782, allocations: 4 kB / 474.3 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.1783, allocations: 7.938 kB / 474.3 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.012e-05/0.1783, allocations: 7.984 kB / 474.3 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.1783, allocations: 4 kB / 474.3 MB, free: 8.695 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001767/0.1785, allocations: 186 kB / 474.5 MB, free: 8.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1785, allocations: 0 / 474.5 MB, free: 8.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003028/0.1788, allocations: 48 kB / 474.6 MB, free: 8.473 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (17): * Single equations (assignments): 16 * 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.0001212/0.179, allocations: 111.2 kB / 474.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002578/0.1792, allocations: 151.8 kB / 474.8 MB, free: 8.207 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1792, allocations: 0 / 474.8 MB, free: 8.207 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.1794, allocations: 68.78 kB / 474.9 MB, free: 8.141 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004926/0.1799, allocations: 64.91 kB / 474.9 MB, free: 8.074 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009779/0.1808, allocations: 0.7014 MB / 475.6 MB, free: 7.332 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005634/0.1814, allocations: 0.7833 MB / 476.4 MB, free: 6.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.313e-05/0.1815, allocations: 31.42 kB / 476.5 MB, free: 6.488 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1815, allocations: 0 / 476.5 MB, free: 6.488 MB / 350.1 MB Notification: Performance of Templates: time 0.005407/0.1869, allocations: 3.127 MB / 479.6 MB, free: 3.363 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.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.AC1ph_DC.Elementary.SensorCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.SensorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.SensorCalcHelperMain.o] Error 1