Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.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.LoadAC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009356/0.0009356, allocations: 93.08 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.001122/0.001122, allocations: 178 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.417/1.417, allocations: 223.2 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.2583/0.2583, allocations: 38.07 MB / 331.4 MB, free: 8.539 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004157/0.000416, allocations: 8 kB / 401.4 MB, free: 34.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1417, allocations: 59.16 MB / 460.5 MB, free: 7.055 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC): time 0.005712/0.1475, allocations: 4.476 MB / 465 MB, free: 2.551 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00222/0.1497, allocations: 1.103 MB / 466.1 MB, free: 1.445 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002471/0.15, allocations: 19.88 kB / 466.1 MB, free: 1.426 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002015/0.1502, allocations: 39.7 kB / 466.2 MB, free: 1.387 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005377/0.1508, allocations: 191.1 kB / 466.4 MB, free: 1.199 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002216/0.151, allocations: 87.89 kB / 466.4 MB, free: 1.113 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006616/0.1517, allocations: 0.6231 MB / 467.1 MB, free: 500 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002664/0.152, allocations: 131.3 kB / 467.2 MB, free: 372 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002624/0.1522, allocations: 175.2 kB / 467.4 MB, free: 196 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004526/0.1527, allocations: 239.1 kB / 467.6 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.216e-05/0.1528, allocations: 16 kB / 467.6 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.624e-05/0.1528, allocations: 12 kB / 467.6 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001278/0.153, allocations: 103.7 kB / 467.7 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001951/0.1532, allocations: 188.7 kB / 467.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002851/0.1534, allocations: 263.3 kB / 468.2 MB, free: 15.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1535, allocations: 0 / 468.2 MB, free: 15.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1535, allocations: 3.938 kB / 468.2 MB, free: 15.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.1535, allocations: 0 / 468.2 MB, free: 15.38 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001283/0.1548, allocations: 0.6517 MB / 468.8 MB, free: 14.67 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.1548, allocations: 8.031 kB / 468.8 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.807e-05/0.1549, allocations: 44.47 kB / 468.9 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006113/0.1555, allocations: 391 kB / 469.3 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/0.1556, allocations: 16.56 kB / 469.3 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.002e-05/0.1556, allocations: 24 kB / 469.3 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005575/0.1562, allocations: 364.7 kB / 469.6 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.1562, allocations: 0 / 469.6 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.166e-05/0.1563, allocations: 12 kB / 469.7 MB, free: 13.76 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.1563, allocations: 4 kB / 469.7 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004021/0.1567, allocations: 261.9 kB / 469.9 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002364/0.1591, allocations: 1.45 MB / 471.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003952/0.1595, allocations: 153 kB / 471.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001958/0.1597, allocations: 81.73 kB / 471.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/0.1597, allocations: 3.984 kB / 471.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.323e-05/0.1598, allocations: 38.5 kB / 471.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 2.474e-06/0.1598, allocations: 4 kB / 471.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001702/0.1615, allocations: 0.6758 MB / 472.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.441e-05/0.1616, allocations: 81.11 kB / 472.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004674/0.1621, allocations: 300.5 kB / 472.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.813e-05/0.1621, allocations: 25.7 kB / 472.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002192/0.1624, allocations: 223.7 kB / 472.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/0.1625, allocations: 51.27 kB / 473 MB, free: 10.21 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.399e-05/0.1626, allocations: 29.7 kB / 473 MB, free: 10.17 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001893/0.1628, allocations: 334.8 kB / 473.3 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000176/0.1629, allocations: 63.95 kB / 473.4 MB, free: 9.773 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002801/0.1632, allocations: 180.7 kB / 473.6 MB, free: 9.551 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005577/0.1638, allocations: 263.6 kB / 473.8 MB, free: 9.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.1638, allocations: 0 / 473.8 MB, free: 9.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006406/0.1645, allocations: 281.4 kB / 474.1 MB, free: 8.969 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.789e-05/0.1645, allocations: 4 kB / 474.1 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.1645, allocations: 8 kB / 474.1 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.747e-05/0.1646, allocations: 8 kB / 474.1 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003723/0.165, allocations: 51.91 kB / 474.2 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.668e-05/0.165, allocations: 11.94 kB / 474.2 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002576/0.1653, allocations: 15.89 kB / 474.2 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.376e-05/0.1653, allocations: 16 kB / 474.2 MB, free: 8.855 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 (29): * Single equations (assignments): 29 * 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.000258/0.1656, allocations: 169.6 kB / 474.4 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.122e-05/0.1657, allocations: 27.66 kB / 474.4 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005995/0.1663, allocations: 239.5 kB / 474.7 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.76e-06/0.1663, allocations: 3.938 kB / 474.7 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.393e-06/0.1663, allocations: 0 / 474.7 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.878e-06/0.1664, allocations: 4 kB / 474.7 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001177/0.1675, allocations: 0.624 MB / 475.3 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.1676, allocations: 0 / 475.3 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002787/0.1678, allocations: 35.92 kB / 475.3 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.546e-06/0.1679, allocations: 8.031 kB / 475.3 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.313e-05/0.1679, allocations: 3.984 kB / 475.3 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/0.1679, allocations: 4 kB / 475.3 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.1679, allocations: 0 / 475.3 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00084/0.1688, allocations: 426 kB / 475.8 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.1689, allocations: 108.8 kB / 475.9 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.423e-05/0.169, allocations: 8.047 kB / 475.9 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002301/0.1692, allocations: 12 kB / 475.9 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.013e-05/0.1693, allocations: 15.92 kB / 475.9 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.331e-05/0.1693, allocations: 8 kB / 475.9 MB, free: 7.066 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003696/0.1697, allocations: 215 kB / 476.1 MB, free: 6.855 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1697, allocations: 0 / 476.1 MB, free: 6.855 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005837/0.1703, allocations: 60 kB / 476.2 MB, free: 6.797 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (zLoadAC.psi) * 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 (20): * Single equations (assignments): 19 * 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.0001831/0.1705, allocations: 106.3 kB / 476.3 MB, free: 6.688 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004991/0.171, allocations: 187.7 kB / 476.5 MB, free: 6.504 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.171, allocations: 0 / 476.5 MB, free: 6.504 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001917/0.1712, allocations: 90.08 kB / 476.5 MB, free: 6.418 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009031/0.1721, allocations: 65.61 kB / 476.6 MB, free: 6.355 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001756/0.1739, allocations: 0.8464 MB / 477.5 MB, free: 5.469 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005615/0.1745, allocations: 0.8067 MB / 478.3 MB, free: 4.633 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001301/0.1746, allocations: 39.36 kB / 478.3 MB, free: 4.594 MB / 350.1 MB Notification: Performance of SimCode: time 8.82e-07/0.1746, allocations: 0 / 478.3 MB, free: 4.594 MB / 350.1 MB Notification: Performance of Templates: time 0.01058/0.1852, allocations: 3.802 MB / 482.1 MB, free: 0.7969 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.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.LoadACCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadACCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadACCalcHelperMain.o] Error 1